/* ===================================
   BizzUpp Builder - Main Stylesheet
   =================================== */

/* Custom Fonts */
@font-face {
    font-family: 'Mirror 82';
    src: url('../fonts/mirror-82.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'South Ghetto';
    src: url('../fonts/SOUTHGHETTO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f43f5e;
    --accent: #10b981;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

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

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-secondary: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --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);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --font-family: 'Mirror 82', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'South Ghetto', sans-serif;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1, h2, .section-title {
    font-family: var(--font-display);
    letter-spacing: 1px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.25rem; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--gray-50);
}

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

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.navbar:not(.scrolled) .logo {
    color: var(--white);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.25rem;
}

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

.navbar:not(.scrolled) .logo-accent {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links .mobile-buttons {
    display: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.navbar:not(.scrolled) .nav-links a::after {
    background: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar:not(.scrolled) .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled) .btn-ghost:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

.navbar:not(.scrolled) .mobile-menu-btn span {
    background: var(--white);
}

/* Mobile Menu Button Active State */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Active */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(17, 24, 39, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 0;
        transform: translateX(100%);
        opacity: 1;
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

    .nav-links a {
        display: block;
        color: var(--white);
        font-size: 1.25rem;
        font-weight: 500;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary-light);
        padding-left: 10px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-buttons {
        display: none !important;
    }

    .mobile-menu-btn {
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-btn.active span {
        background: var(--white);
    }

    /* Mobile buttons inside nav-links */
    .nav-links .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 0;
        border: none;
    }

    .nav-links .mobile-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .nav-links .mobile-buttons .btn-ghost {
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-links .mobile-buttons .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Overlay when menu is open */
    .navbar.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(217, 70, 239, 0.2) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual - Browser Mockup */
.hero-visual {
    position: relative;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.browser-url i {
    color: var(--accent);
}

.browser-content {
    padding: 1.5rem;
    min-height: 350px;
}

/* AI Chat Demo */
.ai-chat-demo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 85%;
    padding: 1rem;
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: var(--white);
}

.chat-message.ai {
    align-self: flex-start;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.generated-preview {
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease 1s both;
}

.preview-skeleton {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--gray-200);
}

.skeleton-header {
    height: 20px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.skeleton-hero {
    height: 80px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.skeleton-card {
    height: 60px;
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
}

/* Decorative background elements */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    transition: var(--transition);
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card:hover::before {
    transform: scale(1.2);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.feature-card:hover::after {
    transform: scale(1.3);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Different positions for variety */
.feature-card:nth-child(even)::before {
    top: auto;
    bottom: -50%;
    right: auto;
    left: -50%;
}

.feature-card:nth-child(even)::after {
    bottom: auto;
    top: -20px;
    left: auto;
    right: -20px;
}

.feature-card:nth-child(3n)::after {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    transform: rotate(15deg);
}

.feature-card:nth-child(3n):hover::after {
    transform: rotate(30deg) scale(1.2);
}

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

.feature-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--gradient-dark);
    border: none;
    color: var(--white);
}

.feature-card.featured::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}

.feature-card.featured::after {
    border-color: rgba(255, 255, 255, 0.1);
    width: 120px;
    height: 120px;
}

.feature-card.featured:hover::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
}

.feature-card.featured:hover::after {
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card.featured h3,
.feature-card.featured p {
    color: var(--white);
}

.feature-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.938rem;
}

.feature-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* ===================================
   How It Works Section - Modern
   =================================== */
.how-it-works {
    background: var(--gray-50);
    overflow: hidden;
}

.steps-modern {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.step-row.reverse {
    direction: rtl;
}

.step-row.reverse > * {
    direction: ltr;
}

.step-info {
    max-width: 480px;
}

.step-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.step-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step-info > p {
    color: var(--gray-500);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.step-features li i {
    color: var(--accent);
    font-size: 1rem;
}

.step-connection {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.step-connection svg {
    width: 50px;
    height: 60px;
}

/* Mockup Styles */
.step-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.mockup-glow.purple {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

.mockup-glow.green {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
}

/* Phone Mockup */
.mockup-phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.3),
        0 30px 60px -30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 50px 16px 20px;
}

.chat-ui {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    max-width: 85%;
    animation: fadeInUp 0.5s ease;
}

.chat-bubble.user {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ai-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chat-options span {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-options span.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Browser Mockup */
.mockup-browser {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.2),
        0 30px 60px -30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.browser-bar .browser-dots {
    display: flex;
    gap: 6px;
}

.browser-bar .browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-bar .browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-bar .browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-bar .browser-dots span:nth-child(3) { background: #27ca3f; }

.browser-address {
    flex: 1;
    padding: 6px 12px;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-address i {
    color: var(--accent);
    font-size: 0.7rem;
}

.browser-body {
    padding: 20px;
    min-height: 280px;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
}

/* Generating UI */
.generating-ui {
    position: relative;
}

.gen-header {
    height: 12px;
    width: 60%;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 20px;
}

.gen-hero {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gen-text {
    height: 10px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.gen-text.short {
    width: 60%;
}

.gen-btn {
    width: 80px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-top: 12px;
    opacity: 0.7;
}

.gen-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.gen-card {
    flex: 1;
    height: 60px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gen-progress {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gen-progress-bar {
    width: 67%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progressPulse 2s ease infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.gen-label {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Final UI */
.mockup-browser.final {
    border: 2px solid var(--accent);
}

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

.final-nav {
    height: 8px;
    width: 100%;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 16px;
}

.final-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.final-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.final-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.final-btn {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    color: #667eea;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
}

.final-cards {
    display: flex;
    gap: 8px;
}

.final-card {
    flex: 1;
    padding: 12px 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fc-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    color: #667eea;
    font-size: 0.85rem;
}

.fc-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-700);
}

.published-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 14px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Responsive for Steps */
@media (max-width: 968px) {
    .step-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .step-row.reverse {
        direction: ltr;
    }

    .step-info {
        max-width: 100%;
    }

    .step-features {
        align-items: center;
    }

    .mockup-phone {
        width: 240px;
        height: 480px;
    }

    .mockup-browser {
        max-width: 100%;
    }
}

/* Video Preview */
.video-preview {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover .play-btn {
    transform: scale(1.1);
}

.play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ===================================
   Templates Section
   =================================== */
.templates {
    background: var(--white);
}

.template-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.template-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.template-preview {
    position: relative;
    overflow: hidden;
}

.template-image {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.template-info {
    padding: 1.25rem;
}

.template-info h4 {
    margin-bottom: 0.25rem;
}

.template-category {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.templates-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   Pricing Section - Modern
   =================================== */
.pricing-modern {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.pricing-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.pricing-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.pricing-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.pricing-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.pricing-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Left Side - Main Pricing */
.pricing-main {
    position: sticky;
    top: 120px;
}

.pricing-main .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.pricing-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-box {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.pricing-box-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

.pricing-box-badge {
    padding: 0.375rem 0.875rem;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-box-price {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-meta {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.75rem;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-period {
    font-size: 0.938rem;
    opacity: 0.7;
}

.pricing-box .btn {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--gray-900);
}

.pricing-box .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.pricing-box-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.pricing-box-footer span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.85;
}

.pricing-box-footer i {
    color: var(--accent);
}

.pricing-trust {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.trust-item i {
    color: var(--primary);
}

/* Right Side - Feature Cards */
.pricing-features-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pf-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.pf-card:hover {
    border-color: var(--gray-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pf-card.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.pf-card.highlight:hover {
    border-color: var(--primary-light);
}

.pf-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pf-card.highlight .pf-card-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.pf-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.pf-card-content ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pf-card-content li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.pf-card-content li i {
    color: var(--accent);
    font-size: 0.75rem;
}

.pf-card-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary);
    margin-top: 0.5rem;
}

.pf-note i {
    color: var(--primary);
    margin-top: 0.125rem;
}

.pf-note p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Pricing Responsive */
@media (max-width: 968px) {
    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-main {
        position: static;
        text-align: center;
    }

    .pricing-trust {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pricing-box {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 3.5rem;
    }

    .pricing-trust {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .pf-card {
        flex-direction: column;
        text-align: center;
    }

    .pf-card-icon {
        margin: 0 auto;
    }

    .pf-card-content ul {
        align-items: center;
    }
}

/* ===================================
   Testimonials Section - Carousel
   =================================== */
.testimonials-modern {
    background: var(--gray-50);
    padding: 6rem 0;
    overflow: hidden;
}

.testimonials-modern .section-header {
    margin-bottom: 3rem;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50) 0%, transparent 100%);
}

.testimonials-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50) 0%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 380px;
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-info {
    min-width: 0;
}

.author-info strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.938rem;
}

.author-info span {
    font-size: 0.813rem;
    color: var(--gray-500);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonials-carousel::before,
    .testimonials-carousel::after {
        width: 50px;
    }

    .testimonials-track {
        animation-duration: 30s;
    }
}

/* ===================================
   FAQ Section - Modern
   =================================== */
.faq-modern {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 6rem 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: flex-start;
}

.faq-header-side {
    position: sticky;
    top: 120px;
}

.faq-header-side .section-title {
    margin-bottom: 1.25rem;
}

.faq-header-side > p {
    color: var(--gray-500);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.faq-header-side .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-color: var(--primary);
    color: var(--primary);
}

.faq-header-side .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.faq-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gray-200);
}

.faq-card.active {
    border-color: var(--primary-light);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    transition: var(--transition-fast);
    cursor: pointer;
}

.faq-trigger:hover {
    background: var(--gray-50);
}

.faq-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-card.active .faq-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.faq-trigger span {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-card.active .faq-toggle {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.active .faq-content {
    max-height: 300px;
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    padding-left: calc(1.5rem + 44px + 1rem);
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ Responsive */
@media (max-width: 968px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-header-side {
        position: static;
        text-align: center;
    }

    .faq-header-side .btn-outline {
        margin: 0 auto;
    }

    .faq-content p {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-trigger {
        padding: 1rem;
    }

    .faq-icon {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    .faq-trigger span {
        font-size: 0.938rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }

    .faq-content p {
        padding: 0 1rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.938rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}

.footer-bottom i {
    color: var(--secondary);
}

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

    .feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
        padding: 0;
    }

    .templates-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .feature-card.featured {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
    }

    .template-filters {
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.813rem;
    }
}
