/* ==========================================================================
   Snapstore Modern Redesign Stylesheet
   ========================================================================== */

   :root {
    --primary-hue: 252;
    --primary-sat: 60%;
    --primary-light: 65%;
    
    --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --primary-hover: hsl(var(--primary-hue), var(--primary-sat), 55%);
    --primary-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.35);
    
    --accent-orange: #ff7e5f;
    --accent-pink: #feb47b;
    --gradient-accent: linear-gradient(135deg, #7f00ff, #e100ff);
    --gradient-glow: linear-gradient(135deg, rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1));
    --gradient-hero: linear-gradient(135deg, #f8f6ff 0%, #efeaff 100%);
    
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px rgba(147, 132, 209, 0.15);
    
    --text-dark: #2c254a;
    --text-muted: #6e6787;
  }
  
  /* Hero / Banner Section */
  .modern-hero-section {
    background: var(--gradient-hero);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
  }
  
  .modern-hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 132, 209, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
  }
  
  .modern-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  .modern-hero-content {
    animation: fadeInUp 1s ease;
  }
  
  .modern-hero-badge {
    background: rgba(147, 132, 209, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(147, 132, 209, 0.2);
  }
  
  .modern-hero-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
  }
  
  .modern-hero-title span {
    background: linear-gradient(135deg, var(--primary), #a64cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .modern-hero-para {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
  }
  
  .modern-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .modern-download-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  
  .modern-download-btn img {
    height: 52px;
    width: auto;
    display: block;
  }
  
  .modern-download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(147, 132, 209, 0.25);
  }
  
  /* Hero Floating Gallery Mockup */
  .modern-hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.2s ease;
  }
  
  .hero-photo-stack {
    position: relative;
    width: 320px;
    height: 420px;
  }
  
  .floating-polaroid {
    position: absolute;
    background: #fff;
    padding: 12px 12px 35px 12px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    width: 220px;
    transition: all 0.5s ease;
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .floating-polaroid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .floating-polaroid::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
  }
  
  .polaroid-1 {
    top: 10px;
    left: -30px;
    transform: rotate(-8deg);
    z-index: 3;
    animation: float1 6s ease-in-out infinite alternate;
  }
  
  .polaroid-2 {
    top: 80px;
    right: -40px;
    transform: rotate(6deg);
    z-index: 2;
    animation: float2 5s ease-in-out infinite alternate;
  }
  
  .polaroid-3 {
    bottom: -10px;
    left: 20px;
    transform: rotate(-2deg);
    z-index: 4;
    animation: float3 7s ease-in-out infinite alternate;
  }
  
  /* Continuous Marquee Section */
  .modern-marquee-container {
    background: var(--text-dark);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .modern-marquee-inner {
    display: inline-flex;
    animation: marquee-slide 30s linear infinite;
  }
  
  .marquee-text-item {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .marquee-emoji {
    font-size: 18px;
  }
  
  /* About Section */
  .modern-about-section {
    padding: 100px 0;
    background: #ffffff;
  }
  
  .modern-about-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
  }
  
  .about-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
  }
  
  .about-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
  }
  
  .about-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  
  .about-bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  
  .about-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
  }
  
  .about-bullet-icon {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
  }
  
  /* About Image Wrapper */
  .about-image-showcase {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
  }
  
  .about-image-showcase img {
    transition: transform 0.8s ease;
  }
  
  .about-image-showcase:hover img {
    transform: scale(1.04);
  }
  
  .about-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .about-overlay-text {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
  }
  
  /* Perfect Templates Section */
  .modern-templates-section {
    padding: 100px 0;
    background: #fbfbfe;
  }
  
  .section-header-modern {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-title-modern {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
  }
  
  .section-title-modern span {
    color: var(--primary);
  }
  
  .section-accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0 auto;
    border-radius: 2px;
  }
  
  /* Modern Product Grid Cards */
  .modern-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f0edf8;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 30px;
    display: block;
    color: inherit;
    position: relative;
  }
  
  .modern-product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
  }
  
  .modern-product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(147, 132, 209, 0.3);
  }
  
  .modern-product-card:hover .modern-product-img-wrapper img {
    transform: scale(1.08);
  }
  
  .modern-product-info {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
  }
  
  .product-title-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
  }
  
  .product-price-tag {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
  }
  
  .product-action-arrow {
    background: #f0edf8;
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .modern-product-card:hover .product-action-arrow {
    background: var(--primary);
    color: #fff;
    transform: rotate(-45deg);
  }
  
  /* Customer Services & Trust Section */
  .modern-trust-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f0edf8;
  }
  
  .modern-trust-card {
    background: #f9f8ff;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    border: 1px solid #f0edf8;
    transition: all 0.3s ease;
  }
  
  .modern-trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
  }
  
  .rating-badge-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .rating-huge-val {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
  }
  
  .rating-max-val {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 600;
  }
  
  .stars-row {
    color: #ffb800;
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .ratings-sub-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  .trust-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .trust-card-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
  }
  
  .trust-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    background: #fff;
    padding: 10px;
  }
  
  .trust-image-wrapper img {
    border-radius: 8px;
    margin: auto;
    width: 70%;
  }
  
  .connect-btn-container {
    text-align: center;
    margin-top: 50px;
  }
  
  .modern-btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .modern-btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
    color: #fff;
  }
  
  /* FAQs Section */
  .modern-faq-section {
    padding: 100px 0;
    background: #fbfbfe;
  }
  
  .faq-visual-block {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
  }
  
  .faq-visual-block img {
    border-radius: 16px;
    margin-top: 25px;
  }
  
  .modern-accordion .accordion-item {
    border: none;
    background: #fff;
    margin-bottom: 16px;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0edf8;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .modern-accordion .accordion-item:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(147, 132, 209, 0.25);
  }
  
  .modern-accordion .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    padding: 20px 24px;
    font-size: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .modern-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #faf9ff;
  }
  
  .modern-accordion .accordion-button::after {
    background-size: 14px;
    transition: transform 0.3s ease;
  }
  
  .modern-accordion .accordion-body {
    padding: 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid #f9f8ff;
    background: #fff;
  }
  
  /* Modern App Download Section */
  .modern-app-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #181528 0%, #2b254a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin: 40px auto 100px auto;
  }
  
  .modern-app-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 132, 209, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    left: -100px;
    z-index: 1;
  }
  
  .modern-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  .modern-app-visual {
    text-align: center;
  }
  
  .modern-app-visual img {
    max-width: 390px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float2 6s ease-in-out infinite alternate;
    margin-left: 50px;
  }
  
  .modern-app-content {
    padding-left: 20px;
  }
  
  .modern-app-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .modern-app-stars-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
  }
  
  .modern-app-stars {
    color: #ffb800;
  }
  
  .modern-app-rating-val {
    font-weight: 600;
    font-size: 15px;
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 6px;
  }
  
  .modern-app-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 35px;
  }
  
  .modern-app-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #dfdbf0;
  }
  
  .modern-app-feature-icon {
    color: var(--primary);
    background: rgba(147, 132, 209, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes float1 {
    0% {
      transform: rotate(-8deg) translateY(0);
    }
    100% {
      transform: rotate(-6deg) translateY(-12px);
    }
  }
  
  @keyframes float2 {
    0% {
      transform: rotate(6deg) translateY(0);
    }
    100% {
      transform: rotate(4deg) translateY(-15px);
    }
  }
  
  @keyframes float3 {
    0% {
      transform: rotate(-2deg) translateY(0);
    }
    100% {
      transform: rotate(-4deg) translateY(-8px);
    }
  }
  
  @keyframes marquee-slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Responsive Breakpoints */
  @media (max-width: 991px) {
    .modern-hero-grid,
    .modern-app-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .modern-hero-visual {
      height: 380px;
      margin-top: 40px;
    }
    
    .hero-photo-stack {
      width: 280px;
      height: 340px;
    }
    
    .floating-polaroid {
      width: 180px;
      padding-bottom: 25px;
    }
    
    .floating-polaroid img {
      height: 140px;
    }
    
    .modern-download-buttons {
      justify-content: center;
    }
    
    .modern-app-content {
      padding-left: 0;
      margin-top: 40px;
    }
    
    .modern-app-stars-row {
      justify-content: center;
    }
    
    .modern-app-features-list {
      display: inline-block;
      text-align: left;
    }
    
    .modern-app-section {
      border-radius: 24px;
      margin: 20px auto 60px auto;
      max-width: calc(100% - 30px);
    }
  }
  
  @media (max-width: 575px) {
    .modern-hero-title {
      font-size: 34px;
    }
    
    .section-title-modern {
      font-size: 28px;
    }
    
    .modern-app-title {
      font-size: 26px;
    }
  }
