/* ============================================
   NAKSHA AI - COMPONENT STYLES
   Reusable UI Components
   ============================================ */

/* Header / Navigation */
/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: var(--z-sticky);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    opacity: 0.5;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 14, 39, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}


.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo span {
    background: linear-gradient(135deg, #ffffff 0%, #00d9ff 55%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Button - Default Hidden */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    /* Ensure above menu */
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    /* Changed to text-primary for better visibility */
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--primary-blue);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-blue);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* Height of header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.25rem;
    }

    /* Show Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Adjust spacing for 'Try Generator' button on mobile */
    .nav .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav .btn-primary {
        display: none;
        /* Hide button on very small screens if needed, or keep small */
    }

    /* Re-enable if we want it visible but smaller
    .nav .btn-primary {
         padding: 0.4rem 0.8rem;
         font-size: 0.8rem;
    }
    */
}

/* Footer */
/* ── Footer ────────────────────────────── */
.footer {
    background: rgba(10, 14, 39, 0.85);
    /* Slightly more transparent for glass effect */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

/* Gradient Top Border Accent */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-blue) 20%,
            var(--secondary-purple) 50%,
            var(--primary-blue) 80%,
            transparent 100%);
    opacity: 0.6;
}

.footer .container {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
        margin-top: 4rem;
    }

    .footer .container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-section {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    /* Use the Grid Layout defined in mobile block below */
}

.footer-section {
    flex: 1;
    min-width: 0;
}

/* Footer links group - holds Product + Company side by side */
.footer-links-group {
    display: flex;
    gap: 3rem;
    flex: 1;
}


.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-blue);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    width: 100%;
    text-align: left;
}

.newsletter-message.success {
    color: #4ade80;
    /* Green */
}

.newsletter-message.error {
    color: #f87171;
    /* Red */
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image {
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Feature Card */
.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: var(--glow-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pricing Card */
.pricing-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--glow-blue);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.5);
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-price span {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.pricing-features li:before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* ── Mobile Footer Layout ─────────────────────────── */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    /* Logo section — full width, centered */
    .footer-content>.footer-section:first-child {
        width: 100%;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content>.footer-section:first-child p {
        max-width: 300px;
    }

    /* Product + Company row — side by side */
    .footer-links-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Newsletter — full width below */
    .footer-content>.footer-section:last-child {
        width: 100%;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    /* Newsletter form stack vertically on small screens */
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin: 1rem auto 0;
    }

    .newsletter-form .newsletter-input {
        width: 100%;
        min-width: 0;
    }

    .newsletter-form .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        justify-content: center;
    }
}


/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    margin-bottom: 1rem;
}

.faq-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.faq-summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    list-style: none;
    transition: var(--transition-normal);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

details[open] .faq-summary::after {
    transform: rotate(45deg);
    color: var(--secondary-purple);
}

details[open] .faq-summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.faq-content {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

/* Privacy Sidebar */
.page-layout-sidebar {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 0.95rem;
    text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-blue);
}

@media (max-width: 900px) {
    .page-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
        margin-bottom: 2rem;
        max-height: none;
    }
}

/* Features Page Redesign */
.feature-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--secondary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.feature-grid-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: var(--glow-blue);
}

.feature-grid-card:hover::before {
    opacity: 1;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    z-index: 1;
}

.feature-grid-card:hover .feature-icon {
    background: rgba(0, 217, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-blue);
}

.feature-icon svg {
    color: var(--primary-blue);
    transition: var(--transition-normal);
}

.feature-grid-card:hover .feature-icon svg {
    color: white;
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.8));
}

.feature-zigzag {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-zigzag:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-zigzag-content {
    flex: 1;
}

.feature-zigzag-visual {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    justify-content: center;
    min-height: 300px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   COMPREHENSIVE MOBILE OPTIMIZATION
   Breakpoint: 768px (tablets & phones)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Header ────────────────────────────── */
    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.2rem;
        gap: 0.4rem;
    }

    .logo img {
        height: 40px;
    }

    .logo span {
        font-size: 1.35rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Show hamburger, hide "Try Generator" button at breakpoint */
    .nav .btn-primary {
        display: none;
    }

    /* ── Hero Section ──────────────────────── */
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
        line-height: 1.25;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* Show hero image on mobile too */
    .hero-image {
        display: block;
        margin-top: 2rem;
    }

    .hero-image .glass-card {
        padding: 1rem !important;
    }

    /* ── Stats Grid ────────────────────────── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin: 2rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* ── Feature Cards ─────────────────────── */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    /* ── How It Works / Step Cards ─────────── */
    .step-card {
        padding: 1.5rem;
    }

    /* ── CTA Section ───────────────────────── */
    .cta-section {
        padding: 2.5rem 1.25rem;
        margin: 2rem 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-section .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* ── Pricing Cards ─────────────────────── */
    .pricing-card {
        padding: 1.75rem;
    }

    /* Remove scale so featured card doesn't overflow */
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card:hover {
        transform: translateY(-4px);
    }

    .pricing-price {
        font-size: 2.25rem;
    }

    /* ── Plan Selection Modal ──────────────── */
    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .modal-close {
        top: 0.75rem;
        right: 1rem;
        font-size: 1.6rem;
    }

    /* Stack modal cards vertically */
    .modal-content .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* ── Gallery Strip ─────────────────────── */
    .gallery-strip {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gp-card {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    /* ── Why Choose Us ─────────────────────── */
    .why-card {
        padding: 1.5rem;
    }

    .why-icon {
        font-size: 2rem;
    }

    /* ── FAQ Accordion ─────────────────────── */
    .faq-question {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.87rem;
    }

    /* faq.html native <details> FAQ */
    .faq-summary {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-content {
        padding: 1rem 1.25rem;
    }

    /* ── Footer ────────────────────────────── */
    .footer {
        padding: 2.5rem 0 1.25rem;
        margin-top: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Features Page ─────────────────────── */
    .feature-zigzag {
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .feature-zigzag-visual {
        min-height: 200px;
    }

    /* ── Contact Page ──────────────────────── */
    .contact-info-card {
        flex-direction: row;
        align-items: flex-start;
    }

    /* ── About Page Sidebar ────────────────── */
    .page-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
        margin-bottom: 1.5rem;
        max-height: none;
    }

    /* ── Text Sizes ────────────────────────── */
    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    /* ── Spacing ───────────────────────────── */
    section {
        padding: 3rem 0;
    }

    .mb-xl {
        margin-bottom: 2rem;
    }
}



/* (footer mobile styles are now consolidated in the earlier @media (max-width: 768px) block) */


/* ═══════════════════════════════════════════
   SMALL PHONES — 480px
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Stats: 1 column on tiny phones ────── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* ── Hero ──────────────────────────────── */
    .hero h1 {
        font-size: 1.75rem;
    }

    /* ── Buttons ───────────────────────────── */
    .btn {
        font-size: 0.88rem;
        padding: 0.7rem 1.25rem;
    }

    /* ── Gallery: full card width ──────────── */
    .gp-card {
        max-width: 100%;
    }

    .gp-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .gp-tag,
    .gp-btn {
        font-size: 0.65rem;
    }

    /* ── Pricing card ──────────────────────── */
    .pricing-price {
        font-size: 2rem;
    }

    /* ── Modal ─────────────────────────────── */
    .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 60vh;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    /* ── Sections ──────────────────────────── */
    section {
        padding: 2.5rem 0;
    }

    .footer {
        padding: 2rem 0 1.5rem;
    }
}

/* ── Footer 3-Column grouping ── */
.footer-links-group {
    display: flex;
    gap: 3rem;
    flex: 1.5;
    /* Take more space for the 2 lists */
}

/* .footer-links-group mobile styles handled in earlier @media block */

/* ── Features Page Grid Override ── */
/* Enforce strict 3-column layout on desktop to fix spacing issues */
/* ── Comparison Cards Layout ── */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    /* Center vertically */
    margin-top: 3rem;
}

.comparison-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card Header */
.cc-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.cc-header h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cc-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.cc-per {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.cc-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

/* Feature List */
.cc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    /* Push button down if exists */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cc-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cc-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Variant: Traditional (The "Bad" Option) */
.comparison-card.traditional {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    filter: grayscale(1);
    opacity: 0.8;
}

.comparison-card.traditional:hover {
    filter: grayscale(0.5);
    opacity: 1;
}

.comparison-card.traditional .cc-price {
    color: var(--text-secondary);
}

.comparison-card.traditional .cc-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-pink);
}

/* Variant: Instant (The "Fast" Option) */
.comparison-card.instant {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.05);
}

.comparison-card.instant .cc-price {
    color: var(--primary-blue);
}

.comparison-card.instant .cc-badge {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-blue);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.comparison-card.instant .cc-icon {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-blue);
}

/* Variant: Verified (The "Best" Option) */
.comparison-card.verified {
    border-color: rgba(139, 92, 246, 0.4);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(10, 14, 39, 0.8));
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    transform: scale(1.05);
    /* Slightly bigger */
    z-index: 2;
}

.comparison-card.verified:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
}

.comparison-card.verified .cc-price {
    color: var(--secondary-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.comparison-card.verified .cc-badge {
    background: rgba(139, 92, 246, 0.2);
    color: var(--secondary-purple);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.comparison-card.verified .cc-icon {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-blue));
    color: white;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Top Badge for Featured Card */
.cc-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary-purple), var(--primary-blue));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .comparison-card.verified {
        transform: scale(1);
        /* Reset scale on mobile */
        order: -1;
        /* Show verified first on mobile? Or maybe keep order? Let's keep order for now, maybe Instant first */
    }

    .comparison-card.verified:hover {
        transform: translateY(-5px);
    }
}


@media (min-width: 640px) {
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }


}