:root {
    --primary: #5F69C5;
    --primary-light: #7b85e0;
    --primary-dark: #47509e;
    --bg-color: #f8f9fc;
    --surface: #ffffff;
    --text-main: #1a1e3a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5em;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(95, 105, 197, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 105, 197, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.highlight {
    color: var(--primary);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 3.2rem;
    /* Big Headline */
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    /* Fixed: Reduced gap between lines */
    color: var(--text-main);
    letter-spacing: -0.5px;
    /* Fixed: Not sticking anymore */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    /* Small Subheading */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 249, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 1.8rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(95, 105, 197, 0.1);
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
    margin-right: 12px;
}

.back-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-3px);
}

.back-link i {
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(95, 105, 197, 0.18) 0%, rgba(95, 105, 197, 0.06) 75%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 105, 197, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(95, 105, 197, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature-item i {
    color: var(--success);
    margin-bottom: 2px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    align-self: flex-start;
    margin-top: 20px;
}

.hero-image-mobile {
    display: none;
    margin-bottom: 32px;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(15px 15px 20px rgba(0, 0, 0, 0.75));
    transition: var(--transition);
}

.hero-illustration:hover {
    transform: translateY(-5px);
    filter: drop-shadow(20px 20px 25px rgba(0, 0, 0, 0.9));
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.mockup-card {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
}

.mockup-card:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
    box-shadow: 0 20px 40px rgba(95, 105, 197, 0.15);
}



.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--primary);
}

.status-step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.status-step:last-child {
    margin-bottom: 0;
}

.status-step::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--border);
    z-index: 1;
}

.status-step:last-child::before {
    display: none;
}

.status-step .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border);
    position: relative;
    z-index: 2;
    margin-top: 4px;
    flex-shrink: 0;
}

.status-step.active .dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(95, 105, 197, 0.2);
}

.status-step.active::before {
    background: var(--primary);
}

.status-step .text {
    display: flex;
    flex-direction: column;
}

.status-step .text strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.status-step .text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--surface);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 0;
}

.about-content .section-header p {
    margin: 0;
}

.about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(15px 15px 20px rgba(0, 0, 0, 0.75));
    transition: var(--transition);
}

.about-illustration:hover {
    transform: translateY(-5px);
    filter: drop-shadow(20px 20px 25px rgba(0, 0, 0, 0.9));
}

/* Services */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(95, 105, 197, 0.1);
    border-color: var(--primary-light);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(95, 105, 197, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.service-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.service-card ul {
    margin-bottom: 24px;
}

.service-card ul li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.service-card ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.service-tagline {
    font-weight: 600;
    color: var(--text-main);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--surface);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 20px;
    flex: 1;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.cta-wrapper {
    margin-top: 60px;
}

/* Supported Stores */
.stores {
    padding: 80px 0;
    background: var(--bg-color);
    color: var(--text-main);
}

.stores h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stores p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.store-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.store-badge {
    background: var(--surface);
    border: 2px solid var(--border);
    width: 200px;
    height: 100px;
    border-radius: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(100, 116, 139, 0.12);
}

.store-badge img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.store-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

/* Separated Why Choose Us & Calculator Sections */
.why-choose-us-section {
    padding: 100px 0;
    background: #ffffff;
}

.inline-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.inline-benefits li {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--bg-color);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(95, 105, 197, 0.3);
}

.benefits-list strong {
    font-size: 1.1rem;
    display: block;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.calculator-section .section-header h2 {
    font-size: 3rem;
}

.calculator-section .section-header p {
    font-size: 0.95rem;
}

.center-calc {
    max-width: 600px;
    margin: 0 auto;
}

.shipping-calculator {
    padding: 50px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.shipping-calculator h2 {
    margin-bottom: 12px;
}

.shipping-calculator>p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-color);
    transition: var(--transition);
    color: var(--text-main);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Custom Dropdown Arrow for Select */
.form-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 12px auto;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(95, 105, 197, 0.1);
}

.calc-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.calc-result {
    margin-top: 30px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
}

.calc-result.hidden {
    display: none;
}

.calc-result h4 {
    color: var(--success);
    margin-bottom: 8px;
}

.calc-result .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

/* Trust Banner */
.trust-banner {
    padding: 140px 0;
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 10% 20%, rgba(95, 105, 197, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(95, 105, 197, 0.03) 0px, transparent 50%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.02);
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Topographic / Wavy Lines Pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='1440' height='600' viewBox='0 0 1440 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.08' stroke='%235F69C5' stroke-width='0.4'%3E%3Cpath d='M-100 500C150 400 450 600 750 500C1050 400 1350 600 1650 500'/%3E%3Cpath d='M-100 520C150 420 450 620 750 520C1050 420 1350 620 1650 520'/%3E%3Cpath d='M-100 480C150 380 450 580 750 480C1050 380 1350 580 1650 480'/%3E%3Cpath d='M-100 540C150 440 450 640 750 540C1050 440 1350 640 1650 540'/%3E%3Cpath d='M-100 460C150 360 450 560 750 460C1050 360 1350 560 1650 460'/%3E%3Cpath d='M-100 560C150 460 450 660 750 560C1050 460 1350 660 1650 560'/%3E%3Cpath d='M-100 440C150 340 450 540 750 440C1050 340 1350 540 1650 440'/%3E%3Cpath d='M-100 580C150 480 450 680 750 580C1050 480 1350 680 1650 580'/%3E%3Cpath d='M-100 420C150 320 450 520 750 420C1050 320 1350 520 1650 420'/%3E%3Cpath d='M-100 600C150 500 450 700 750 600C1050 500 1350 700 1650 600'/%3E%3Cpath d='M0 100C300 0 600 200 900 100C1200 0 1500 200 1800 100'/%3E%3Cpath d='M0 120C300 20 600 220 900 120C1200 20 1500 220 1800 120'/%3E%3Cpath d='M0 80C300 -20 600 180 900 80C1200 -20 1500 180 1800 80'/%3E%3Cpath d='M0 140C300 40 600 240 900 140C1200 40 1500 240 1800 140'/%3E%3Cpath d='M0 60C300 -40 600 160 900 60C1200 -40 1500 160 1800 60'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    pointer-events: none;
}

.trust-banner h2 {
    font-size: 4.2rem;
    font-weight: 900;
    color: #1a1e3a;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

.banner-accent {
    width: 45px;
    height: 6px;
    background: #5F69C5;
    border-radius: 50px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.trust-banner p {
    font-size: 1.3rem;
    color: #556080;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0f1225;
    color: white;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    color: var(--primary-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 1.1rem;
    max-width: 300px;
    margin-top: 15px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info p i {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 20px;
}

/* Custom Notification Toast (v6.2.5) */
.pd-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary);
    font-weight: 500;
    min-width: 300px;
}

.pd-notification.active {
    transform: translateX(0);
}

.pd-notification.success {
    border-left-color: #10b981;
}

.pd-notification.error {
    border-left-color: #ef4444;
}

.pd-notification i {
    font-size: 1.2rem;
}

.pd-notification.success i { color: #10b981; }
.pd-notification.error i { color: #ef4444; }

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-image-desktop {
        display: none;
    }

    .hero-image-mobile {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .fc-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        /* Reduced gap to bring image closer */
    }

    .about-content .section-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .about-illustration {
        margin-top: -15px;
        /* Halka sa upar move kiya */
    }

    .about-content .section-header p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #ffffff !important;
        position: absolute;
        left: 0;
        top: 80px;
        padding: 0 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid var(--border);
        gap: 0 !important;
        /* Fixed the huge gap issue */
    }

    .nav-buttons {
        display: none;
        /* Hidden on mobile - content moved into nav-links */
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
        list-style: none;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        /* Reduced from 18px for more compact look */
        width: 100%;
        color: var(--text-main);
        font-weight: 500;
    }

    .logout-red {
        color: #e74c3c !important;
        font-weight: 600 !important;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Disable hover/touch effects on mobile to prevent shaking and shadow flickering */
    .hero-illustration:active,
    .hero-illustration:focus,
    .hero-illustration:hover,
    .about-illustration:active,
    .about-illustration:focus,
    .about-illustration:hover {
        transform: none !important;
        filter: drop-shadow(15px 15px 20px rgba(0, 0, 0, 0.75)) !important;
        transition: none !important;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
}

/* Auth Modal Styling */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal {
    background: #fff;
    width: 90%;
    max-height: 90vh;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0);
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
}

.auth-close:hover {
    color: #333;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px 16px;
    font-weight: 600;
    cursor: pointer;
    color: #777;
    transition: 0.3s;
}

.auth-tab.active {
    background: #fff;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.auth-body {
    padding: 32px;
    overflow-y: auto;
    min-height: 480px; /* Standardize height for consistency */
    display: flex;
    flex-direction: column;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.auth-form.active {
    display: flex;
}

.auth-form h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
    color: #111;
}

.auth-form p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.form-input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.form-input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
    background: #fafafa;
}

.form-input-group input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(95, 105, 197, 0.1);
}

.auth-btn {
    background: var(--primary);
    color: white;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #4a54a4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 105, 197, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #666;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}

.checkbox-group input {
    margin-top: 4px;
}

/* =====================================================
   HOMEPAGE — EXTRA RESPONSIVE (small phones)
   ===================================================== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .nav {
        padding: 14px 16px;
    }

    /* Calculator section */
    .calc-box {
        padding: 20px 14px;
    }

    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    /* Auth Modal */
    .auth-modal {
        width: 96%;
        border-radius: 12px;
    }

    .auth-body {
        padding: 20px;
        min-height: auto; /* Allow it to be shorter on mobile */
    }

    .auth-form {
        gap: 12px; /* Reduced gap for mobile */
    }

    .auth-form h2 {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .auth-form p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .form-input-group label {
        margin-bottom: 4px;
        font-size: 0.85rem;
    }

    .form-input-group input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .auth-btn {
        padding: 14px;
        font-size: 1rem;
        margin-top: 5px;
    }

    .auth-footer {
        margin-top: 15px;
        font-size: 0.85rem;
    }

    /* Contact section inside index */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    .footer-top {
        gap: 24px;
    }

    .footer-brand img {
        height: 32px;
    }

    /* Store badges side by side */
    .store-logos {
        gap: 12px;
    }

    .store-badge {
        width: calc(50% - 6px);
        height: 70px;
        padding: 10px;
    }

    /* Trust banner Responsibility text fit */
    .trust-banner {
        padding: 100px 0;
    }

    .trust-banner h2 {
        font-size: 2.8rem;
        word-break: break-word;
        padding: 0 10px;
        margin-bottom: 20px;
        letter-spacing: -1px;
    }

    .banner-accent {
        width: 35px;
        height: 5px;
        margin-bottom: 25px;
    }

    .trust-banner p {
        font-size: 1.15rem;
        padding: 0 15px;
        color: #556080;
    }

    /* Calculator select box text fit */
    .form-group select {
        font-size: 0.9rem;
        padding-right: 30px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    /* Calculating... text breaking */
    .calc-result .price {
        font-size: 1.6rem;
        word-break: break-word;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* --- Contact & Support Styles (Dashboard Sync) --- */
.support-hero {
    background: var(--primary);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 30px;
}

.support-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: white;
}

.support-top-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    padding: 0 10px;
}

.support-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.icon-whatsapp {
    background: #e0f8e9;
    color: #10B981;
}

.icon-email {
    background: #eef0fa;
    color: var(--primary);
}

.icon-phone {
    background: #e0edff;
    color: #3B82F6;
}

.support-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #111;
}

.support-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.support-card a {
    font-weight: 500;
    color: #111;
    font-size: 1.1rem;
    text-decoration: none;
}

.support-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    padding: 0 10px;
}

.ticket-form-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
}

.side-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.side-card.guarantee {
    background: var(--primary);
    color: white;
    border: none;
    align-items: flex-start;
    flex-direction: column;
}

.side-card .icon-left {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.side-card.hours .icon-left {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.side-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #111;
}

.side-card.guarantee h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.side-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.side-card.guarantee p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    margin-right: 8px;
}

@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr !important;
    }

    .support-top-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .support-top-cards {
        grid-template-columns: 1fr;
    }
}

/* --- SUBPAGE HERO STYLES (Optimized v7.0) --- */
.subpage-hero {
    background: #f8f9fc !important;
    color: #000000 !important;
    padding: 130px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: none !important;
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.subpage-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #000000 !important;
}

.subpage-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #475569;
}

.text-highlight {
    color: inherit;
    display: inline-block;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 110px 20px 40px;
    }

    .subpage-hero h1 {
        font-size: 2.2rem;
    }

    .subpage-hero p {
        font-size: 1rem;
    }
}

/* PAYMENT METHODS FOOTER STYLES (v6.2) */
.payment-methods {
    display: flex !important;
    gap: 8px !important;
    margin-top: 25px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.payment-card {
    background: #ffffff !important;
    border-radius: 4px !important;
    padding: 4px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    width: 50px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease !important;
}

.payment-card:hover {
    transform: translateY(-2px) !important;
}

.payment-card.full {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.payment-card.wide {
    width: 65px !important;
}

.payment-card img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.payment-card.full img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

.payment-card img[alt="PayGlocal"] {
    transform: scale(1.4) !important;
}

.payment-card img[alt="Razorpay"] {
    transform: scale(1.25) !important;
}

@media (max-width: 768px) {
    .payment-methods {
        justify-content: center !important;
    }
}
