/* ==================== VARIABLES ==================== */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==================== UTILITIES ==================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

/* ==================== NAVIGATION ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--blur-md));
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 24px;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.mockup-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.mockup-glow {
    position: absolute;
    inset: -40px;
    background: var(--gradient-1);
    border-radius: 24px;
    filter: blur(60px);
    opacity: 0.5;
    z-index: -1;
}

.mockup-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

/* ==================== SECTION HEADERS ==================== */

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

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==================== FEATURES ==================== */

.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */

.steps-wrapper {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-reverse {
    grid-template-columns: 80px 300px 1fr;
}

.step-reverse .step-content {
    order: 3;
}

.step-reverse .step-visual {
    order: 2;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-visual {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.templates-preview,
.form-preview,
.export-preview {
    width: 100%;
}

.template-mini {
    width: 60px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 8px;
    display: inline-block;
    margin: 0 4px;
    transition: var(--transition);
}

.template-mini.active {
    border-color: var(--primary);
    transform: scale(1.1);
}

.form-line {
    height: 12px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 12px;
}

.form-line.short {
    width: 60%;
}

.export-preview svg {
    color: var(--primary);
}

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

/* ==================== TEMPLATES SHOWCASE ==================== */

.templates-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.template-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.template-card.featured {
    border-color: var(--primary);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.template-preview {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.template-img.classic { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%); }
.template-img.minimal { background: linear-gradient(135deg, #000000 0%, #434343 100%); }
.template-img.modern { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.template-img.tech { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.template-img.bold { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.template-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.template-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== PRICING ==================== */

.pricing {
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), var(--bg-primary));
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-desc {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ==================== FAQ ==================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-question {
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: var(--text-tertiary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== CTA SECTION ==================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-actions .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--bg-secondary);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ==================== APP CONTAINER ==================== */

.app-container {
    min-height: 100vh;
    background: var(--bg-secondary);
}

.app-header {
    padding: 20px 24px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.back-to-landing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-secondary);
}

.back-to-landing:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step-reverse {
        grid-template-columns: 1fr;
    }
    
    .step-reverse .step-content {
        order: 2;
    }
    
    .step-reverse .step-visual {
        order: 3;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-actions .btn-ghost {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .templates-showcase {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* ==================== MODERN HEADER & FOOTER STYLES (ADDED) ==================== */

.logo {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.btn svg {
    flex-shrink: 0;
}

/* Templates with buttons */
.btn-template {
    width: 100%;
    padding: 12px 16px;
    background: #f9f9f9;
    color: #667eea;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-template:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.template-img.creative { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); }
.template-img.professional { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.template-img.luxury { background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%); }

/* Contacts section */
.contacts {
    background: #f9f9f9;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(102,126,234,0.15);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Modern Footer */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 600px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
}

.footer-desc strong {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .separator {
    color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==================== TEMPLATE PREVIEWS ==================== */

.template-preview-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-header {
    font-size: 14px;
    font-weight: 700;
    color: #4A90E2;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 8px;
}

.preview-header-minimal {
    font-size: 16px;
    font-weight: 300;
    color: #333;
}

.preview-line {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
}

.preview-line.short {
    width: 60%;
}

.preview-box {
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Modern template preview */
.template-modern-preview {
    flex-direction: row;
    padding: 0;
}

.preview-sidebar {
    width: 30%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preview-content {
    flex: 1;
    padding: 20px;
}

/* Elegant template preview */
.preview-border {
    border: 4px double #8B7355;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-header-elegant {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #8B7355;
    font-style: italic;
}

/* Corporate template preview */
.template-corporate-preview {
    padding: 0;
}

.preview-header-corporate {
    background: #2c3e50;
    color: white;
    padding: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.preview-content-corporate {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Creative template preview */
.template-creative-preview {
    background: linear-gradient(135deg, #FF6B6B10 0%, #FF8E5310 100%);
}

.preview-header-creative {
    font-size: 14px;
    font-weight: 700;
    color: #FF6B6B;
}

.preview-circle {
    width: 40px;
    height: 40px;
    background: #FF6B6B;
    border-radius: 50%;
}

.preview-box-creative {
    height: 30px;
    background: white;
    border: 2px dashed #FF6B6B;
    border-radius: 4px;
}

/* Professional template preview */
.preview-header-professional {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: 1px;
}

.preview-box-professional {
    height: 35px;
    background: #1e3a8a10;
    border-left: 4px solid #1e3a8a;
}

/* Luxury template preview */
.preview-header-luxury {
    font-size: 14px;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
}

.preview-divider-luxury {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.preview-box-luxury {
    height: 30px;
    background: linear-gradient(135deg, #D4AF3710, #FFD70010);
    border: 1px solid #D4AF37;
}

.preview-box-minimal {
    height: 30px;
    background: white;
    border: 1px solid #ddd;
}

/* ==================== BETA BADGE & PRICING ==================== */

.beta-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    display: block;
    margin-top: 4px;
}

.beta-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.beta-notice p {
    margin: 0;
    color: #856404;
}

/* ==================== FOOTER WAVE ==================== */

.footer {
    position: relative;
    margin-top: 0 !important;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Logo in header */
.logo-image {
    height: 50px;
    width: auto;
    display: block !important;
}

/* Footer logo */
.footer-logo-image {
    height: 60px;
    width: auto;
    display: block !important;
    margin-bottom: 20px;
}

/* ==================== MODERN CTA SECTION (2025) ==================== */

.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: white;
}

.cta-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    opacity: 0.1;
}

.cta-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    opacity: 0.15;
}

.cta-shape.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -50px;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: #667eea;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    font-weight: 500;
}

.cta-feature svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* ==================== MODERN FOOTER (2025) ==================== */

.footer-modern {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand-col {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-list a {
    color: #6b7280;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #667eea;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 36px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

/* Pricing fixes */
.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: #667eea;
}

.price-old {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

/* ========== DROPDOWN MENU ========== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 24px;
    min-width: 700px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.dropdown-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.dropdown-column a {
    display: block;
    padding: 8px 12px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-column a:hover {
    background: #f0f4ff;
    color: #667eea;
    transform: translateX(4px);
}

/* Mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 90vw;
        left: 5vw;
        transform: none;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
}