/* 
 * PearPrinter Premium Styling 
 * Design System: Inter Font, Glassmorphism, Vivid Gradients
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
/* Secondary modern font for headers */

/* Define custom property for smooth gradient rotation */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: true;
}

:root {
    --primary: #AAD05C;
    --primary-dark: #7FB24D;
    --secondary: #F4D03F;
    --secondary-dark: #D4AC0D;
    --accent: #EDEA9B;

    --bg-color: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --gradient-main: linear-gradient(135deg, #7FB24D 0%, #F4D03F 100%);
    --gradient-hover: linear-gradient(135deg, #5A8A2F 0%, #D4AC0D 100%);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Background Orbs (Morphing Animation) --- */
.orb-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    /* Largest viewport height prevents vertical jumping of percentage-positioned orbs */
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Increased blur for smoother, dreamier look */
    opacity: 0.6;
    animation: morph 20s ease-in-out infinite alternate, float 25s ease-in-out infinite;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(170, 208, 92, 0.4) 0%, rgba(244, 208, 63, 0.1) 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.4) 0%, rgba(170, 208, 92, 0.1) 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vw;
    height: 30vw;
    background: rgba(237, 234, 155, 0.3);
    top: 40%;
    left: 35%;
    filter: blur(60px);
    animation-duration: 25s;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }

    66% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- Layout & Typography --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-bordered {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    animation: shimmer-border 3s infinite alternate;
}

@keyframes shimmer-border {
    0% { filter: drop-shadow(0 0 8px rgba(170, 208, 92, 0.4)) drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }
    50% { filter: drop-shadow(0 0 16px rgba(244, 208, 63, 0.8)) drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }
    100% { filter: drop-shadow(0 0 8px rgba(170, 208, 92, 0.4)) drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }
}

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

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* --- Header / Nav --- */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    white-space: nowrap;
    /* Prevent text splitting */
}

/* ... */

/* --- Responsive --- */
@media (max-width: 968px) {
    /* ... existing styles ... */

    /* Ensure hero content isn't covered by fixed header on mobile */
    .hero {
        padding-top: 140px;
    }

    body.has-banner .hero {
        padding-top: 180px;
        /* Increased to account for banner + taller mobile nav if needed */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
}

/* Mobile Menu Button - Hidden by default (Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    /* Hidden by default */
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    /* Slightly rounded logo if square */
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background: var(--text-main);
    color: white;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.25);
    background: #000;
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.btn-app-store {
    background: black;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-app-store svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Hero Section --- */
.hero {
    min-height: 100svh;
    /* Smallest viewport height ensures hero content doesn't jump when address bar moves */
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Navbar offset */
    overflow: visible;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-text p.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

/* Voice Demo Box */
.voice-demo {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.voice-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.voice-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.voice-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-main);
    min-height: 4rem;
    /* Reserve space for up to 2 lines of text */
    position: relative;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Hero Visual (Phone) */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    width: 300px;
    height: 650px;
    /* ~19.5:9 aspect ratio */
    background: #fff;
    border-radius: 48px;
    border: 12px solid #121212;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 -10px 20px -5px rgba(255, 255, 255, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
    margin: 0 auto;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform-style: preserve-3d;
}

.phone-mockup.phone-mockup-dark {
    background: #000;
}

/* Glass Reflection Overlay */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 30;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.status-bar-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: #fff;
    /* Covers standard status bar area */
    display: block;
    z-index: 15;
    /* Above image, below notch */
}

/* Hide status bar cover on dark mockup */
.phone-mockup.phone-mockup-dark .status-bar-cover {
    display: block;
    background: #000;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #121212;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 20;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10;
    animation: float-badge 6s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    right: 0;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: -3s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

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

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px 32px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* --- Morphing Orbs --- */
.orb-grid {
    /* Slightly different grid gap for orbs */
    gap: 40px;
}

.orb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.orb-wrapper:hover {
    transform: scale(1.05);
}

.orb-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    /* Make orbs slightly larger than container to bleed out */
    height: 120%;
    z-index: 1;
    /* No filter needed here, canvas handles shadow/glow */
}

.orb-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    max-width: 280px;
    pointer-events: none;
    /* Let clicks pass through to orb if needed */
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #F5FAE5 0%, #EAF4CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--secondary);
}

.feature-icon-box.green {
    background: linear-gradient(135deg, #F0F8E0 0%, #DFF0C4 100%);
    color: var(--primary);
}

.feature-icon-box.yellow {
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Compliance Section (Dark Mode Style) --- */
.compliance-section {
    background: #0F172A;
    color: white;
    padding: 120px 0;
    overflow: hidden;
    margin: 80px 0;
    border-radius: 0;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.compliance-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
}

.compliance-list {
    list-style: none;
    margin-top: 32px;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.15rem;
    color: var(--text-main);
    /* Dark color for light background */
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.compliance-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(170, 208, 92, 0.2);
    border: 1px solid rgba(170, 208, 92, 0.4);
    border-radius: 50px;
    color: #7FB24D;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- Pricing --- */
.pricing-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns for now */
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlight {
    /* Create the gradient border using masking */
    border: 3px solid transparent;
    border-radius: 32px;

    /* Layer 1: White background inside. Layer 2: Conic gradient covering whole box */
    background:
        linear-gradient(white, white) padding-box,
        conic-gradient(from var(--gradient-angle), #AAD05C, #F4D03F, #EDEA9B, #AAD05C) border-box;

    /* Deep, multi-layered glow effect */
    box-shadow:
        0 10px 30px -10px rgba(170, 208, 92, 0.5),
        0 0 20px rgba(170, 208, 92, 0.3),
        inset 0 0 20px rgba(170, 208, 92, 0.1);

    /* Smooth animations */
    animation: rotation 4s linear infinite, swell 6s ease-in-out infinite;
    transform: scale(1.02);
}

.popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    /* Animated background syncs with border - center point shifted down to match card center */
    background: conic-gradient(from var(--gradient-angle) at 50% 300px, #AAD05C, #F4D03F, #EDEA9B, #AAD05C);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 15px -3px rgba(170, 208, 92, 0.3);
}

.price {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.plan-features li.active {
    color: var(--text-main);
    font-weight: 500;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: white;
    margin-top: 120px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
}

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

.socials {
    display: flex;
    gap: 20px;
}

/* --- Marketplace Section --- */
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.marketplace-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.marketplace-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(170, 208, 92, 0.15);
    border-color: rgba(170, 208, 92, 0.3);
}

.marketplace-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #F0F8E0 0%, #EAF4CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.marketplace-product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 16px;
}

.marketplace-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marketplace-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.marketplace-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.marketplace-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.marketplace-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.marketplace-original {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.marketplace-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.marketplace-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.marketplace-btn.btn-amazon {
    background: #232f3e;
    color: white;
}

.marketplace-btn.btn-amazon:hover {
    background: #131a22;
    transform: translateY(-2px);
}

.marketplace-btn.btn-direct {
    background: var(--primary);
    color: white;
}

.marketplace-btn.btn-direct:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .marketplace-footer.dual-btns {
        flex-direction: row;
    }

    .marketplace-footer.dual-btns .marketplace-btn {
        flex: 1;
    }
}

@media (max-width: 968px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* --- Utilities --- */
.h-100 {
    height: 100%;
}

.mt-4 {
    margin-top: 1rem;
}

/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        /* Hide desktop links */
    }

    .mobile-menu-btn {
        display: flex;
        /* Show hamburger */
    }

    .mobile-menu {
        display: flex !important;
        /* Override hidden */
        flex-direction: column;
        position: fixed;
        top: 80px;
        /* Below navbar */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 99;
        gap: 16px;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .mobile-menu.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-main);
        padding: 12px;
        border-radius: 12px;
        text-align: center;
    }

    .mobile-nav-link:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text p.lead {
        margin: 0 auto 40px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .voice-demo {
        margin: 0 auto 40px;
    }

    .phone-mockup {
        width: 260px;
        height: 563px;
        /* ~19.5:9 aspect ratio */
    }

    .badge-1 {
        right: -20px;
    }

    .badge-2 {
        left: -20px;
    }

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

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

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

    .pricing-card.highlight {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- iPad / Tablet Optimization (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-text h1 {
        font-size: 3.8rem;
    }

    .hero-content {
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .compliance-grid {
        gap: 40px;
    }

    .pricing-wrapper {
        padding: 0 20px;
    }

    .pricing-cards {
        gap: 24px;
    }

    .orb-grid {
        gap: 30px;
    }
}

/* --- Coming Soon Mode --- */
.coming-soon-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: var(--text-main);
    color: white;
    text-align: center;
    padding: 0 20px;
    font-size: 0.95rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.coming-soon-banner a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.coming-soon-banner a:hover {
    text-decoration: underline;
}

/* Push navbar down when banner is visible */
body.has-banner .navbar {
    top: 48px;
}

body.has-banner .hero {
    padding-top: 128px;
}

@media (max-width: 968px) {
    body.has-banner .hero {
        padding-top: 180px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-logo-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.modal-logo {
    height: 80px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--text-main);
}

.hidden {
    display: none !important;
}

/* --- Sticky Mobile Download Bar --- */
.sticky-download-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 16px;
    z-index: 9999;
    pointer-events: none;
    /* Let clicks through or handle specifically */
}

.sticky-download-bar .btn-sticky {
    flex: 1;
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.sticky-download-bar .btn-sticky:active {
    transform: scale(0.95);
}

.sticky-download-bar .btn-sticky svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    flex-shrink: 0;
}

.sticky-download-bar .btn-sticky span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
}

.sticky-download-bar .btn-sticky small {
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Hide on desktop */
@media (min-width: 1025px) {
    .sticky-download-bar {
        display: none !important;
    }
}

/* --- Animations --- */
@keyframes rotation {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

@keyframes swell {

    0%,
    100% {
        transform: scale(1.02);
        box-shadow:
            0 10px 30px -10px rgba(170, 208, 92, 0.5),
            0 0 20px rgba(170, 208, 92, 0.3),
            inset 0 0 20px rgba(170, 208, 92, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 20px 50px -10px rgba(170, 208, 92, 0.6),
            0 0 40px rgba(170, 208, 92, 0.4),
            inset 0 0 30px rgba(170, 208, 92, 0.2);
    }
}

/* --- Footer --- */
.footer {
    background: #000;
    color: white;
    padding: 80px 0 40px;
    margin-top: auto; /* Push to bottom if content is short */
}

/* ... existing footer code ... */

/* --- Article Specific Premium Styling --- */

/* Article Layout */
.article-header {
    background: var(--gradient-main);
    padding: 180px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-header h1 {
    font-size: 3.5rem;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Article Body */
.article-content {
    max-width: 800px;
    margin: -60px auto 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 80px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.8);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

/* Typography Enhancements */
.article-content h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin: 60px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(170, 208, 92, 0.2);
}

.article-content h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 40px 0 16px;
}

.article-content p {
    margin-bottom: 24px;
}

/* Article Lists */
.article-content ul, 
.article-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 12px;
    position: relative;
}

.article-content ul li::marker {
    color: var(--primary);
    font-size: 1.2em;
}

/* Callouts & Highlights */
.article-content strong {
    color: var(--text-main);
    font-weight: 700;
    background: linear-gradient(120deg, rgba(170, 208, 92, 0.3) 0%, rgba(170, 208, 92, 0.1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
    padding: 0 4px;
}

/* FAQ Styling */
.faq-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    border: 1px solid #e2e8f0;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item p {
    margin: 0;
    padding-left: 34px; /* Align with text, after icon */
}

/* Responsive adjustments for articles */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.5rem;
        padding: 0 20px;
    }
    
    .article-content {
        margin: -40px 20px 60px;
        padding: 40px 30px;
        border-radius: 20px;
    }
}
