/* src/main/resources/static/css/pages/landing.css */

/* ===== LANDING PAGE - GLASSY LOOK ===== */

/* Hero Section - Moving Background */
.landing-hero {
    text-align: center;
    padding: 70px 20px 60px;
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border-bottom: 1px solid #e9eef2;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Animated gradient background */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 30% 50%, #667eea20 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, #764ba220 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1.2); }
}

/* Floating particles */
.landing-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 5%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 5%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 8%),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,0.1) 0%, transparent 6%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, 20px); }
    50% { transform: translate(20px, -20px); }
    75% { transform: translate(-20px, -20px); }
}

.landing-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #0f172a;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.landing-hero h1 span {
    color: #2563eb;
    position: relative;
    display: inline-block;
}

.landing-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #667eea);
    border-radius: 4px;
    opacity: 0.3;
}

.landing-hero p {
    font-size: 18px;
    color: #5b6778;
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.btn-primary, .btn-outline {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: rgba(15, 23, 42, 0.9);
    color: white;
    box-shadow: 0 4px 12px rgba(15,23,42,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15,23,42,0.3);
    backdrop-filter: blur(15px);
}

.btn-outline {
    border: 1.5px solid rgba(226, 232, 240, 0.8);
    background: rgba(255,255,255,0.7);
    color: #1e293b;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.9);
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Stats with glass effect */
.landing-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.landing-stats > div {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.landing-stats > div:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.8);
    box-shadow: 0 15px 30px rgba(37,99,235,0.15);
}

.landing-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    display: block;
    line-height: 1.2;
}

.landing-stat-label {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    display: block;
}

/* Features Section - Glassy Cards */
.features {
    background: #f8fafc;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #667eea);
    border-radius: 3px;
}

.features-subtitle {
    font-size: 16px;
    color: #5b6778;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.95);
    border-color: #2563eb;
    box-shadow: 0 15px 30px rgba(37,99,235,0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(118,75,162,0.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #2563eb;
    font-size: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #5b6778;
    line-height: 1.6;
}

/* WhatsApp Section - Glassy */
.whatsapp-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.whatsapp-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 20% 30%, rgba(37,211,102,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(102,126,234,0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.whatsapp-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.whatsapp-section p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 40px;
    position: relative;
}

.whatsapp-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    position: relative;
}

.whatsapp-feature {
    width: 200px;
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.whatsapp-feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    border-color: #25D366;
}

.whatsapp-feature i {
    font-size: 48px;
    color: #25D366;
    margin-bottom: 16px;
}

.whatsapp-feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.whatsapp-feature p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37,211,102,0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.btn-whatsapp:hover {
    background: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* Pricing Section - With Toggle */
.pricing-section {
    background: white;
    padding: 60px 24px;
    text-align: center;
}

.pricing-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 16px;
    color: #5b6778;
    margin-bottom: 30px;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 30px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: color 0.3s;
}

.toggle-label.active {
    color: #2563eb;
    font-weight: 600;
}

.save-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 30px;
    margin-left: 6px;
    text-transform: uppercase;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, #2563eb, #667eea);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px;
}

.pricing-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 20px;
    padding: 28px 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.95);
    border-color: #2563eb;
    box-shadow: 0 15px 30px rgba(37,99,235,0.15);
}

.pricing-card.popular {
    border: 2px solid #2563eb;
    transform: scale(1.02);
    background: rgba(255,255,255,0.95);
    box-shadow: 0 15px 30px rgba(37,99,235,0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #667eea);
    color: white;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(37,99,235,0.3);
    z-index: 2;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 20px;
}

.monthly-price {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.yearly-price {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    display: none;
}

.original-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

.price-period {
    font-size: 13px;
    font-weight: 400;
    color: #5b6778;
    display: block;
    margin-top: 4px;
}

.price-free {
    color: #10b981;
}

.savings-tag {
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pricing-features li {
    font-size: 13px;
    color: #475569;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #10b981;
    font-size: 12px;
    width: 18px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-pricing:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15,23,42,0.2);
}

/* Support Section - Glassy */
.support-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulseGlow 10s ease-in-out infinite;
}

.support-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.support-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    position: relative;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
}

.support-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 28px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.support-card i {
    font-size: 40px;
    margin-bottom: 12px;
}

.support-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.support-card p {
    font-size: 12px;
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.support-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    position: relative;
}

.support-stat .number {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.support-stat .label {
    font-size: 13px;
    opacity: 0.9;
}

.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    color: #0f172a;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.btn-support:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.testimonials-section {
    background: #f8fafc;
    padding: 60px 24px;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 28px;
    text-align: left;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: white;
    border-color: #2563eb;
    box-shadow: 0 15px 30px rgba(37,99,235,0.1);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.author-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 12px;
    color: #5b6778;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: white;
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid #e9eef2;
}

.newsletter-card {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.newsletter-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.newsletter-card p {
    font-size: 14px;
    color: #5b6778;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.newsletter-form button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15,23,42,0.2);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 12px;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-badges i {
    color: #2563eb;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 32px;
    }
    
    .landing-hero p {
        font-size: 15px;
    }
    
    .landing-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .landing-stats > div {
        width: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .whatsapp-features {
        gap: 16px;
    }
    
    .whatsapp-feature {
        width: 100%;
    }
    
    .support-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== Expygen enterprise override ===== */

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    text-align: left;
    max-width: 1360px;
    margin: 0 auto;
    padding: 40px 28px 44px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.96) 100%);
    border-bottom: 1px solid #dbe4ef;
}

.landing-hero::before,
.landing-hero::after {
    display: none;
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #fff2e4;
    color: #9d5b16;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-hero .landing-hero-copy h1 {
    max-width: 720px;
    margin: 0 0 14px;
    font-size: 46px;
    line-height: 1.08;
    text-shadow: none;
}

.landing-hero .landing-hero-copy h1 span {
    color: var(--primary);
}

.landing-hero .landing-hero-copy h1 span::after {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    height: 5px;
}

.hero-tagline {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
}

.hero-description {
    max-width: 620px;
    margin: 0 0 24px;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.7;
}

.hero-buttons {
    justify-content: flex-start;
    margin-bottom: 22px;
}

.btn-primary,
.btn-outline {
    min-height: 48px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.btn-primary {
    box-shadow: 0 16px 26px rgba(47, 116, 218, 0.18);
}

.btn-outline {
    border-color: #d5dfeb;
}

.landing-stats {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 0;
    flex-wrap: nowrap;
}

.landing-stats > div {
    min-width: 0;
    flex: 1 1 0;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    box-shadow: var(--shadow-sm);
}

.landing-stat-number {
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.landing-stat-label {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.45;
}

.landing-hero-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border-radius: 28px;
    padding: 20px;
    border: 1px solid #dbe4ef;
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.08);
    min-height: 100%;
}

.shell-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3ebf5;
}

.shell-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
}

.shell-brand strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.shell-brand span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #7a889d;
}

.shell-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.shell-mark-light {
    display: none;
}

.shell-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(242, 140, 40, 0.12);
    color: #c56e18;
    font-size: 11px;
    font-weight: 700;
}

.shell-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.shell-card {
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    color: #4c5768;
    box-shadow: var(--shadow-sm);
}

.shell-card-accent {
    background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
}

.shell-card-wide {
    grid-column: 1 / -1;
}

.shell-card-mini {
    padding-top: 14px;
}

.shell-card-title {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.shell-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shell-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    color: #66758c;
    font-size: 12px;
    border-top: 1px solid #edf2f8;
}

.shell-card li:first-child {
    border-top: 0;
    padding-top: 0;
}

.shell-card li strong {
    color: #0f172a;
    font-size: 13px;
}

.shell-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.shell-metrics div {
    padding: 12px;
    border-radius: 16px;
    background: #f6f9fd;
}

.shell-metrics span {
    display: block;
    font-size: 11px;
    color: #7a889d;
}

.shell-metrics strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 15px;
}

.shell-mini-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.shell-mini-metrics div {
    padding: 12px;
    border-radius: 16px;
    background: #f6f9fd;
}

.shell-mini-metrics span {
    display: block;
    font-size: 11px;
    color: #7a889d;
}

.shell-mini-metrics strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 15px;
}

.features {
    background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
}

.feature-card {
    background: #ffffff;
    border-color: #dbe4ef;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 36px rgba(47, 116, 218, 0.12);
}

.feature-icon {
    background: linear-gradient(135deg, #eef5ff 0%, #fff2e4 100%);
    border-color: #dbe6f5;
    color: var(--primary);
}

.whatsapp-section {
    background: linear-gradient(135deg, #111926 0%, #1a2435 100%);
}

.pricing-section {
    background: #ffffff;
}

@media (max-width: 1040px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding: 28px 20px 34px;
    }

    .landing-hero-shell {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .landing-hero .landing-hero-copy h1 {
        font-size: 34px;
    }

    .shell-grid,
    .shell-metrics,
    .shell-mini-metrics {
        grid-template-columns: 1fr;
    }

    .landing-stats > div {
        min-width: 100%;
    }
}

/* ===== Newgen Landing Polish Layer ===== */

body {
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.06), transparent 32%),
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.08), transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #eef3f8 100%);
    color: var(--dark);
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 36px;
    max-width: 1380px;
    margin: 0 auto;
    padding: 42px 24px 46px;
    text-align: left;
    border-bottom: 1px solid #e3eaf2;
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.1), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(242, 140, 40, 0.11), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 255, 0.94) 100%);
    border-radius: 0 0 34px 34px;
}

.landing-hero::before,
.landing-hero::after {
    display: none;
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 116, 218, 0.08);
    border: 1px solid rgba(47, 116, 218, 0.14);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.landing-hero h1 {
    margin: 0 0 14px 0;
    max-width: 760px;
    font-size: clamp(2.6rem, 4vw, 4.35rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: #0c1422;
    text-shadow: none;
}

.landing-hero h1 span {
    color: var(--primary);
}

.landing-hero h1 span::after {
    display: none;
}

.hero-tagline {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-description {
    max-width: 640px;
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #58657a;
}

.hero-buttons {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.btn-primary,
.btn-outline,
.btn-whatsapp,
.btn-support,
.btn-pricing {
    border-radius: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.btn-outline {
    background: rgba(255, 255, 255, 0.86);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #dbe4ef;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.hero-proof i {
    color: var(--accent);
}

.landing-hero-shell {
    position: relative;
    overflow: hidden;
}

.landing-hero-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(47, 116, 218, 0.08), transparent 34%);
    pointer-events: none;
}

.shell-card {
    backdrop-filter: blur(16px);
}

.features,
.pricing-section,
.testimonials-section,
.newsletter-section {
    position: relative;
}

.features,
.pricing-section,
.testimonials-section,
.newsletter-section,
.workflow-section {
    padding: 72px 24px;
}

.features h2,
.pricing-section h2,
.testimonials-section h2,
.support-section h2,
.newsletter-card h2,
.workflow-head h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    letter-spacing: -0.03em;
}

.features-subtitle,
.pricing-subtitle,
.workflow-head p,
.support-section > p,
.newsletter-card p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.feature-card,
.pricing-card,
.testimonial-card,
.support-card,
.newsletter-card,
.workflow-step {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.pricing-card::before,
.testimonial-card::before,
.newsletter-card::before,
.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.9;
}

.workflow-section {
    background:
        linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
    text-align: center;
}

.workflow-head {
    max-width: 860px;
    margin: 0 auto 38px;
}

.workflow-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 140, 40, 0.1);
    border: 1px solid rgba(242, 140, 40, 0.16);
    color: #c56e18;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.workflow-step {
    padding: 28px 24px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #dbe4ef;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.workflow-step-index {
    margin-bottom: 18px;
    color: #9eb0c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.workflow-step-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 116, 218, 0.12), rgba(242, 140, 40, 0.14));
    color: var(--primary);
    font-size: 22px;
}

.workflow-step h3 {
    margin: 0 0 10px 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
}

.workflow-step p {
    margin: 0;
    color: #5b6778;
    font-size: 14px;
    line-height: 1.75;
}

.whatsapp-section {
    padding: 76px 24px;
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(242, 140, 40, 0.12), transparent 30%),
        linear-gradient(135deg, #0e1725 0%, #161f30 100%);
}

.whatsapp-feature {
    width: 220px;
    border-radius: 24px;
}

.whatsapp-feature:hover {
    border-color: var(--accent);
}

.whatsapp-feature i {
    color: var(--accent);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--accent), #ff9f43);
    box-shadow: 0 16px 28px rgba(242, 140, 40, 0.24);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #ea7d18, #ff9f43);
}

.pricing-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 24px 40px rgba(47, 116, 218, 0.18);
}

.pricing-card.popular::before {
    opacity: 1;
}

.popular-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.support-section {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(135deg, #12335c 0%, #19356c 48%, #2a2550 100%);
}

.support-section::before {
    display: none;
}

.support-card {
    border-radius: 22px;
}

.support-stat .number {
    color: #ffffff;
}

.testimonial-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-rating::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.newsletter-card {
    max-width: 920px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.newsletter-card h2 {
    font-size: 34px;
    white-space: nowrap;
}

.newsletter-card p {
    max-width: 860px;
    font-size: 15px;
    white-space: nowrap;
}

.newsletter-form button {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(47, 116, 218, 0.18);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.1), transparent 20%),
        linear-gradient(180deg, #08111f 0%, #0b1220 100%);
    color: var(--page-text);
}

:root[data-theme="dark"] .landing-hero {
    border-bottom-color: var(--page-border);
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.16), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(242, 140, 40, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(14, 23, 37, 0.96) 0%, rgba(11, 18, 32, 0.98) 100%);
}

:root[data-theme="dark"] .landing-hero-shell {
    background: linear-gradient(180deg, #0f1724 0%, #161f2f 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.22);
}

:root[data-theme="dark"] .landing-hero-shell::before {
    background:
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.16), transparent 30%),
        radial-gradient(circle at bottom left, rgba(47, 116, 218, 0.16), transparent 34%);
}

:root[data-theme="dark"] .shell-topbar {
    border-bottom-color: rgba(181, 192, 210, 0.16);
}

:root[data-theme="dark"] .shell-brand {
    color: #f8fafc;
}

:root[data-theme="dark"] .shell-brand span,
:root[data-theme="dark"] .shell-metrics span,
:root[data-theme="dark"] .shell-mini-metrics span {
    color: #9fb0c8;
}

:root[data-theme="dark"] .shell-mark-dark {
    display: none;
}

:root[data-theme="dark"] .shell-mark-light {
    display: block;
}

:root[data-theme="dark"] .shell-status {
    background: rgba(242, 140, 40, 0.18);
    color: #ffe7ca;
}

:root[data-theme="dark"] .shell-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 213, 225, 0.08);
    color: #e5eefc;
    box-shadow: none;
}

:root[data-theme="dark"] .shell-card-accent {
    background: linear-gradient(180deg, rgba(242, 140, 40, 0.12) 0%, rgba(242, 140, 40, 0.06) 100%);
}

:root[data-theme="dark"] .shell-card-title,
:root[data-theme="dark"] .shell-card li strong,
:root[data-theme="dark"] .shell-metrics strong,
:root[data-theme="dark"] .shell-mini-metrics strong {
    color: #ffffff;
}

:root[data-theme="dark"] .shell-card li {
    color: #b8c6da;
    border-top-color: rgba(181, 192, 210, 0.08);
}

:root[data-theme="dark"] .shell-metrics div {
    background: rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .shell-mini-metrics div {
    background: rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .hero-kicker {
    background: rgba(47, 116, 218, 0.14);
    border-color: rgba(47, 116, 218, 0.24);
    color: #9fc4ff;
}

:root[data-theme="dark"] .landing-hero h1,
:root[data-theme="dark"] .features h2,
:root[data-theme="dark"] .pricing-section h2,
:root[data-theme="dark"] .testimonials-section h2,
:root[data-theme="dark"] .newsletter-card h2,
:root[data-theme="dark"] .workflow-head h2 {
    color: #f8fbff;
}

:root[data-theme="dark"] .hero-description,
:root[data-theme="dark"] .features-subtitle,
:root[data-theme="dark"] .pricing-subtitle,
:root[data-theme="dark"] .workflow-head p,
:root[data-theme="dark"] .workflow-step p,
:root[data-theme="dark"] .feature-card p,
:root[data-theme="dark"] .testimonial-text,
:root[data-theme="dark"] .newsletter-card p {
    color: #9eb0c8;
}

:root[data-theme="dark"] .hero-proof span,
:root[data-theme="dark"] .landing-stats > div,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .pricing-card,
:root[data-theme="dark"] .testimonial-card,
:root[data-theme="dark"] .newsletter-card,
:root[data-theme="dark"] .workflow-step {
    background: linear-gradient(180deg, rgba(20, 30, 47, 0.96) 0%, rgba(17, 24, 39, 0.98) 100%);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 44px rgba(3, 8, 18, 0.34);
}

:root[data-theme="dark"] .landing-stat-number,
:root[data-theme="dark"] .feature-card h3,
:root[data-theme="dark"] .pricing-name,
:root[data-theme="dark"] .workflow-step h3,
:root[data-theme="dark"] .author-info h4 {
    color: #f8fbff;
}

:root[data-theme="dark"] .landing-stat-label,
:root[data-theme="dark"] .author-info p,
:root[data-theme="dark"] .price-period,
:root[data-theme="dark"] .workflow-step-index {
    color: #94a3b8;
}

:root[data-theme="dark"] .btn-outline {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
    color: #dbe5f3;
}

:root[data-theme="dark"] .workflow-section,
:root[data-theme="dark"] .features,
:root[data-theme="dark"] .pricing-section,
:root[data-theme="dark"] .testimonials-section,
:root[data-theme="dark"] .newsletter-section {
    background: transparent;
}

:root[data-theme="dark"] .feature-card::before,
:root[data-theme="dark"] .pricing-card::before,
:root[data-theme="dark"] .testimonial-card::before,
:root[data-theme="dark"] .newsletter-card::before,
:root[data-theme="dark"] .workflow-step::before {
    opacity: 1;
}

:root[data-theme="dark"] .feature-icon,
:root[data-theme="dark"] .workflow-step-icon {
    background: linear-gradient(135deg, rgba(47, 116, 218, 0.16), rgba(242, 140, 40, 0.18));
    border-color: rgba(148, 163, 184, 0.16);
    color: #9fc4ff;
}

:root[data-theme="dark"] .pricing-features li {
    color: #dbe5f3;
    border-bottom-color: rgba(148, 163, 184, 0.12);
}

:root[data-theme="dark"] .toggle-label {
    color: #9eb0c8;
}

:root[data-theme="dark"] .toggle-label.active {
    color: #dbe8ff;
}

:root[data-theme="dark"] .slider {
    background-color: rgba(148, 163, 184, 0.24);
}

:root[data-theme="dark"] .support-card {
    background: rgba(15, 23, 42, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .support-card p,
:root[data-theme="dark"] .whatsapp-section p,
:root[data-theme="dark"] .whatsapp-feature p {
    color: #b8c6da;
}

:root[data-theme="dark"] .trust-badges span {
    background: rgba(17, 24, 39, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
    color: #dbe5f3;
}

:root[data-theme="dark"] .newsletter-form input {
    background: rgba(9, 16, 28, 0.88);
    border-color: rgba(148, 163, 184, 0.16);
    color: #f8fbff;
}

:root[data-theme="dark"] .newsletter-form input::placeholder {
    color: #74859b;
}

@media (max-width: 1040px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 20px 34px;
        border-radius: 0 0 28px 28px;
    }

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

@media (max-width: 720px) {
    .hero-buttons,
    .newsletter-form {
        flex-direction: column;
    }

    .workflow-section,
    .features,
    .pricing-section,
    .support-section,
    .testimonials-section,
    .newsletter-section,
    .whatsapp-section {
        padding: 56px 18px;
    }

    .landing-hero h1 {
        font-size: 2.45rem;
    }

    .newsletter-card h2,
    .newsletter-card p {
        white-space: normal;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof span,
    .trust-badges span {
        width: 100%;
        justify-content: center;
    }
}
