:root {
    /* Colors - Light Theme */
    --color-primary: #0DCC71;
    /* Mobee Green */
    --color-primary-light: #2ee98e;
    --color-primary-dark: #0a9e57;

    --color-bg: #FFFFFF;
    /* Pure White */
    --color-bg-card: #F8FAFC;
    /* Very Light Grey for cards */
    --color-text: #1E293B;
    /* Slate 800 for main text */
    --color-text-muted: #64748B;
    /* Slate 500 for secondary text */

    --color-white: #ffffff;
    --color-black: #000000;

    --color-border: #E2E8F0;
    /* Light border */
    --color-shadow: rgba(0, 0, 0, 0.05);
    /* Soft shadow */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    color: var(--color-primary);
    /* Simpler for light mode readability */
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #0DCC71 0%, #059669 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(13, 204, 113, 0.39);
}

.btn-primary:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(13, 204, 113, 0.23);
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(13, 204, 113, 0.05);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(13, 204, 113, 0.1);
    color: var(--color-primary-dark);
    /* Darker text for readability */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    /* Bold for impact */
    margin-bottom: 24px;
    border: 1px solid rgba(13, 204, 113, 0.2);
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    /* Light background */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px var(--color-shadow);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--color-primary-light);
}

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

.nav-list a {
    color: var(--color-text-muted);
    font-weight: 500;
}

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

.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
}

.app-item {
    height: 100px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.app-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(13, 204, 113, 0.4);
}


/* refined phone mockup - simplified to direct image */
.hero-phone-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    transform: none;
    transition: transform 0.3s ease;
    border-radius: 40px;
}

.hero-phone-img:hover {
    transform: none;
}

/* Lazy loading optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #f1f5f9;
    /* Light Silver Frame */
    border-radius: 40px;
    border: 8px solid #f1f5f9;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    z-index: 10;
    transform: rotate(-5deg) translateY(20px);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

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

.hero-bg-glow {
    position: absolute;
    top: -20%;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 204, 113, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

/* Features Section */
.features-section {
    padding: var(--section-spacing) 0;
    position: relative;
    background: var(--color-bg);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--color-bg-card);
    /* Card Background */
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px var(--color-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(13, 204, 113, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 204, 113, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    font-size: 24px;
    /* Placeholder for icon text/svg */
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-desc {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Logos Section */
.logos-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-title {
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    /* Ensure centering */
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* Testimonials */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background-color: var(--color-bg);
}

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

.testimonial-card {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px var(--color-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--color-text);
    flex-grow: 1;
    /* Ensure text takes available space */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--color-primary);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-spacing) 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}

.faq-answer {
    margin-top: 10px;
    color: var(--color-text-muted);
    display: none;
    /* JS will toggle this */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(13, 204, 113, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
    border-radius: 40px;
    margin: 40px 0;
    border: 1px solid rgba(13, 204, 113, 0.2);
}

/* Pricing Highlight */
.pricing-section {
    padding: 60px 0 20px;
    background: var(--color-bg);
}

.pricing-card-highlight {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 204, 113, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.pricing-content .badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 500px;
}

.pricing-features {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-features li {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .pricing-card-highlight {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .pricing-features {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .pricing-action {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: #F8FAFC;
    /* Slightly darker than card background for differentiation */
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.footer-links ul li a {
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* Contact Form Enhanced */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    /* Thicker border */
    background: #F8FAFC;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13, 204, 113, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
}

.form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 15px;
}

.form-privacy a {
    color: var(--color-primary);
    text-decoration: underline;
}

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

    .contact-form {
        padding: 20px;
    }
}

/* Legal Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-container {
    background: var(--color-bg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-content h2 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-content h3 {
    font-size: 1.2rem;
    margin: 25px 0 10px;
    color: var(--color-text);
}

.modal-content p,
.modal-content li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.modal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-spacing: 60px;
    }

    /* Typography */
    h1.hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2.section-title,
    h2.pricing-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Header & Nav */
    .header-container {
        gap: 12px;
    }

    .logo img {
        height: 32px !important;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        order: 3;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--color-text);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.menu-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.menu-open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-toggle.menu-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header .btn-primary {
        display: inline-flex;
        font-size: 0.85rem;
        padding: 10px 18px;
        min-height: 40px;
        order: 2;
        white-space: nowrap;
    }

    .header .btn-primary-urgency {
        display: inline-flex;
        font-size: 0.75rem;
        padding: 8px 14px;
        min-height: 36px;
        order: 2;
        white-space: nowrap;
    }

    .logo {
        order: 1;
    }

    .nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        order: 4;
    }

    .nav.nav-open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 16px 24px;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--color-text);
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .nav-list a:hover {
        background: rgba(13, 204, 113, 0.1);
        color: var(--color-primary);
    }

    /* Hero Section */
    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 20px;
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-phone-img {
        max-width: 300px;
        margin: 0 auto;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-trust {
        margin-top: 24px;
    }

    .hero-trust p {
        font-size: 0.9rem;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-lg {
        min-height: 52px;
        padding: 16px 32px;
        font-size: 1.05rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Features & Grids */
    .features-grid,
    .testimonials-grid,
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .logos-grid {
        flex-direction: column;
    }

    .feature-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    /* Touch-friendly FAQ */
    .faq-question {
        font-size: 1.1rem;
        padding: 16px 0;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .faq-answer {
        font-size: 0.95rem;
        padding-bottom: 16px;
    }

    /* Pricing */
    .pricing-card-highlight {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .pricing-card-highlight::before {
        width: 200px;
        height: 200px;
    }

    .pricing-features {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .pricing-action {
        width: 100%;
    }

    /* Contact Form */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 30px;
    }

    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .footer-brand {
        margin-bottom: 0 !important;
    }

    .footer-legal {
        text-align: center !important;
    }

    .footer-legal p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    .footer-legal br {
        display: block;
        content: "";
        margin: 8px 0;
    }

    /* Modals */
    .modal-container {
        width: 95%;
        padding: 25px;
        max-height: 90vh;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    .modal-content h3 {
        font-size: 1.1rem;
    }

    .modal-content p,
    .modal-content li {
        font-size: 0.9rem;
    }

    /* Performance optimizations */
    * {
        -webkit-tap-highlight-color: rgba(13, 204, 113, 0.2);
        -webkit-touch-callout: none;
    }

    button,
    a,
    input,
    textarea {
        touch-action: manipulation;
    }

    /* Smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Section spacing adjustments */
    .section-header {
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 60px 20px;
        margin: 20px 0;
    }

    /* Container padding adjustments */
    .container {
        padding: 0 16px;
    }

    /* Form button optimization */
    .btn-block {
        font-size: 1.05rem;
        padding: 18px 24px;
    }
}

/* Extra small devices (portrait phones, less than 375px) */
@media (max-width: 374px) {
    :root {
        --section-spacing: 50px;
    }

    h1.hero-title {
        font-size: 1.75rem;
    }

    h2.section-title,
    h2.pricing-title {
        font-size: 1.5rem;
    }

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

    .btn-lg {
        font-size: 1rem;
        padding: 14px 24px;
    }

    .container {
        padding: 0 12px;
    }

    .feature-card,
    .testimonial-card {
        padding: 24px 16px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    /* Header optimizations for very small screens */
    .logo img {
        height: 28px !important;
    }

    .header .btn-primary {
        font-size: 0.8rem;
        padding: 8px 14px;
        min-height: 36px;
    }

    .header-container {
        gap: 8px;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 40px;
    }

    .nav.nav-open {
        padding: 20px;
        max-height: calc(var(--header-height));
        overflow-y: auto;
    }

    .hero-container {
        gap: 20px;
    }

    .section-spacing {
        padding: 40px 0;
    }
}

/* ==============================================
   URGENCY VARIANT STYLES
   ============================================== */

/* Urgency Banner - Sticky at top */
.urgency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    color: white;
    z-index: 1001;
    padding: 0 20px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    height: 40px;
    display: flex;
    align-items: center;
}

.urgency-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.urgency-message {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.urgency-message .fire-icon {
    font-size: 1rem;
}

/* Countdown Timer - Compact */
.countdown-timer {
    display: flex;
    gap: 4px;
    font-family: var(--font-heading);
    align-items: center;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    margin-right: 4px;
}

.countdown-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 32px;
}

.countdown-value {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-text {
    font-size: 0.5rem;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    gap: 6px;
    font-family: var(--font-heading);
    align-items: center;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    margin-right: 4px;
}

.countdown-unit {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 3px 6px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
    max-height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}

.countdown-value {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.countdown-text {
    font-size: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 1px;
    letter-spacing: 0.03em;
}

/* GRATIS text with urgency gradient */
.text-gratis-urgency {
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Inline timer next to CTA */
.urgency-offer-inline {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #DC2626;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.inline-timer {
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* Modern Scarcity Box - Clean & Elegant */
.scarcity-box-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.scarcity-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DC2626 0%, #EA580C 50%, #F59E0B 100%);
}

.scarcity-modern-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.scarcity-modern-icon {
    font-size: 1.8rem;
    opacity: 0.9;
}

.scarcity-modern-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scarcity-modern-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.scarcity-modern-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.timer-segment {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.timer-value {
    font-weight: 800;
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
}

.timer-separator {
    color: #CBD5E1;
    font-weight: 400;
}

.scarcity-modern-stat {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.stat-highlight {
    font-weight: 700;
    color: #0DCC71;
}

/* Modern Gradient Scarcity Box */
.scarcity-gradient-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px 32px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.scarcity-gradient-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(234, 88, 12, 0.05) 100%);
    pointer-events: none;
}

.scarcity-gradient-inner {
    position: relative;
    z-index: 1;
}

.scarcity-timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scarcity-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

.scarcity-timer-units {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-pill {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.timer-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #DC2626 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timer-unit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.timer-dot {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1.2rem;
}

.scarcity-stat-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.scarcity-stat-row strong {
    color: #0DCC71;
}

.stat-dot {
    width: 8px;
    height: 8px;
    background: #0DCC71;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* Inline timer full format */
.inline-timer-full {
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Adjust header to account for urgency banner */
body.has-urgency-banner .header {
    top: 40px;
}

body.has-urgency-banner .hero {
    padding-top: calc(var(--header-height) + 110px);
}

/* Urgency badge variant */
.badge.badge-urgency {
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    color: white;
    border: none;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* Price Strike Through */
.price-strike {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-old {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-savings {
    background: #10B981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Scarcity Box - Modern */
.scarcity-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(234, 88, 12, 0.08) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.scarcity-box h3 {
    display: none;
}

.scarcity-items {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.scarcity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.scarcity-item .icon {
    font-size: 1rem;
}

/* Urgency offer text below CTA */
.urgency-offer-text {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #DC2626;
    font-weight: 600;
}

/* Expired State */
.expired-message {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%);
    color: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    margin: 40px 0;
}

.expired-message h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: white;
}

.expired-message p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #E2E8F0;
}

.expired-message .btn-primary {
    background: linear-gradient(135deg, #0DCC71 0%, #059669 100%);
}

/* Enhanced CTA with urgency pulse */
.btn-primary-urgency {
    position: relative;
    background: linear-gradient(135deg, #DC2626 0%, #C75B0A 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.5);
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-primary-urgency:hover {
    background: linear-gradient(135deg, #D45A0A 0%, #A34A08 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.5);
    }

    50% {
        box-shadow: 0 8px 24px 0 rgba(220, 38, 38, 0.7);
    }
}

/* Small countdown for pricing section */
.countdown-small {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 16px;
    color: #FCD34D;
    text-align: center;
}

.countdown-small .timer-icon {
    font-size: 1rem;
}

/* Mobile Responsive Urgency Elements */
@media (max-width: 768px) {
    .urgency-banner {
        padding: 6px 12px;
        height: auto;
        min-height: auto;
    }

    .urgency-banner-content {
        flex-direction: row;
        gap: 8px;
        text-align: left;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .urgency-message {
        font-size: 0.7rem;
        justify-content: flex-start;
        flex-shrink: 1;
        min-width: 0;
    }

    .urgency-message span:last-child {
        display: none;
    }

    .urgency-message .fire-icon {
        font-size: 0.9rem;
    }

    .urgency-message::after {
        content: '2 MESI GRATIS!';
        font-size: 0.7rem;
    }

    .countdown-timer {
        gap: 2px;
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .countdown-label {
        display: none;
    }

    .countdown-unit {
        min-width: 28px;
        max-height: 28px;
        padding: 2px 4px;
    }

    .countdown-value {
        font-size: 0.75rem;
    }

    .countdown-text {
        font-size: 0.4rem;
    }

    body.has-urgency-banner .header {
        top: 36px;
    }

    body.has-urgency-banner .hero {
        padding-top: calc(var(--header-height) + 100px);
    }

    /* Pricing section mobile - left aligned, full width CTA */
    .pricing-card-highlight {
        padding: 32px 24px !important;
        text-align: left !important;
    }

    .pricing-card-highlight .pricing-content {
        text-align: left !important;
    }

    .pricing-card-highlight .pricing-title {
        font-size: 1.5rem;
        text-align: left;
    }

    .pricing-card-highlight .pricing-subtitle {
        text-align: left !important;
    }

    .pricing-card-highlight .pricing-features {
        justify-content: flex-start !important;
    }

    .pricing-card-highlight .btn {
        width: 100%;
        text-align: center;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Modern scarcity box mobile */
    .scarcity-box-modern {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .scarcity-modern-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .scarcity-modern-icon {
        font-size: 1.5rem;
    }

    .scarcity-modern-timer {
        justify-content: center;
    }

    .timer-segment {
        font-size: 0.95rem;
    }

    .timer-value {
        font-size: 1.1rem;
    }

    .scarcity-modern-stat {
        font-size: 0.85rem;
        margin-top: 12px;
    }

    /* Gradient scarcity box mobile */
    .scarcity-gradient-box {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .scarcity-timer-row {
        flex-direction: column;
        gap: 12px;
    }

    .scarcity-label {
        font-size: 0.85rem;
    }

    .timer-pill {
        padding: 6px 10px;
    }

    .timer-num {
        font-size: 1.2rem;
    }

    .timer-unit {
        font-size: 0.7rem;
    }

    .timer-dot {
        font-size: 1rem;
    }

    .scarcity-stat-row {
        font-size: 0.85rem;
        margin-top: 12px;
    }

    /* Inline timer full format mobile */
    .inline-timer-full {
        font-size: 0.9rem;
    }

    /* Inline timer mobile */
    .urgency-offer-inline {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    .inline-timer {
        font-size: 0.95rem;
    }

    .scarcity-items {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .price-strike {
        flex-direction: column;
        gap: 8px;
    }

    .expired-message {
        padding: 30px 20px;
    }

    .expired-message h2 {
        font-size: 1.5rem;
    }

    .expired-message p {
        font-size: 1rem;
    }
}

@media (max-width: 374px) {
    .countdown-unit {
        min-width: 38px;
        padding: 4px 6px;
    }

    .countdown-value {
        font-size: 1rem;
    }

    .countdown-text {
        font-size: 0.55rem;
    }

    body.has-urgency-banner .header {
        top: 95px;
    }

    body.has-urgency-banner .hero {
        padding-top: calc(var(--header-height) + 185px);
    }
}