/* =============================
   Landing Page General Styles
   ============================= */
:root {
    --landing-bg: #ffffff;
    --landing-text: #1f2937;
    --landing-text-secondary: #6b7280;
    --landing-primary: #667eea;
    --landing-secondary: #764ba2;
    --landing-accent: #f59e0b;
    --landing-success: #10b981;
    --landing-card-bg: #ffffff;
    --landing-card-border: #e5e7eb;
    --landing-hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --landing-section-alt: #f9fafb;
}

[data-theme="dark"] {
    --landing-bg: #0f0f1e;
    --landing-text: #f3f4f6;
    --landing-text-secondary: #9ca3af;
    --landing-card-bg: #1a1a2e;
    --landing-card-border: #374151;
    --landing-section-alt: #16213e;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    overflow-x: hidden;
}

.landing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================
   Hero Section - Above the Fold
   ============================= */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--landing-hero-bg);
    padding: 60px 20px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.hero-badge i {
    color: var(--landing-accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1f2937;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
    color: #1f2937;
    text-decoration: none;
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateY(-15px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 30%, #f5f7fa 30%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 20px 15px;
    text-align: center;
    color: white;
}

.phone-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.phone-menu-items {
    background: #f5f7fa;
    padding: 15px;
}

.mini-menu-item {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mini-item-img {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.mini-item-info h5 {
    margin: 0 0 4px 0;
    font-size: 0.85rem;
    color: #333;
}

.mini-item-info span {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 700;
}

.floating-qr {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 1s ease-out 0.5s both;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.floating-qr i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================
   Benefits Section
   ============================= */
.benefits-section {
    padding: 100px 20px;
    background: var(--landing-section-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--landing-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--landing-text);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--landing-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--landing-card-bg);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid var(--landing-card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.benefit-icon i {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--landing-text);
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--landing-text-secondary);
    margin: 0;
}

/* =============================
   How it Works Section
   ============================= */
.how-it-works-section {
    padding: 100px 20px;
    background: var(--landing-bg);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--landing-primary), var(--landing-secondary));
    border-radius: 2px;
    opacity: 0.2;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-top: 15px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--landing-text);
}

.step-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--landing-text-secondary);
    margin: 0;
}

/* =============================
   Social Proof Section
   ============================= */
.social-proof-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.social-proof-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.social-proof-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
    position: relative;
    z-index: 2;
}

.social-proof-header .section-eyebrow {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-proof-header .section-title {
    color: white;
}

.social-proof-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 24px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h5 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.author-info span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* =============================
   Pricing / CTA Section
   ============================= */
.pricing-section {
    padding: 100px 20px;
    background: var(--landing-section-alt);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--landing-card-bg);
    border-radius: 30px;
    padding: 50px 40px;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--landing-card-bg), var(--landing-card-bg)),
        linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--landing-text);
}

.pricing-price {
    margin-bottom: 30px;
}

.price-value {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.1rem;
    color: var(--landing-text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--landing-card-border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--landing-text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--landing-success);
    font-size: 1.1rem;
}

.pricing-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    color: white;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
}

/* =============================
   Locales Section
   ============================= */
.locales-section {
    padding: 100px 20px;
    background: var(--landing-bg);
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.local-card {
    background: var(--landing-card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--landing-card-border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--landing-text);
    display: block;
    text-align: center;
}

.local-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--landing-primary);
    color: var(--landing-text);
}

.local-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.local-card p {
    font-size: 0.95rem;
    color: var(--landing-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.admin-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
}

.admin-card:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white !important;
}

.admin-card h3 {
    color: white;
}

.admin-card p {
    color: rgba(255, 255, 255, 0.85);
}

.admin-card .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 15px;
    display: inline-block;
}

.admin-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* =============================
   Final CTA Section
   ============================= */
.final-cta-section {
    padding: 100px 20px;
    background: var(--landing-bg);
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--landing-text);
}

.final-cta-subtitle {
    font-size: 1.15rem;
    color: var(--landing-text-secondary);
    margin: 0 0 35px 0;
    line-height: 1.7;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    color: #d97706;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.urgency-badge i {
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =============================
   Responsive Design
   ============================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .phone-mockup {
        transform: perspective(1000px) rotateY(0deg) rotateX(5deg);
    }

    @keyframes deviceFloat {

        0%,
        100% {
            transform: perspective(1000px) rotateY(0deg) rotateX(5deg) translateY(0);
        }

        50% {
            transform: perspective(1000px) rotateY(0deg) rotateX(5deg) translateY(-15px);
        }
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        padding: 15px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .floating-qr {
        width: 70px;
        height: 70px;
        bottom: -15px;
        right: -15px;
    }

    .floating-qr i {
        font-size: 1.8rem;
    }

    .steps-line {
        display: none;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 20px;
    }

    .benefits-section,
    .how-it-works-section,
    .social-proof-section,
    .pricing-section,
    .final-cta-section {
        padding: 70px 20px;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .price-value {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}