/* Apple.com Inspired Design System */

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

:root {
    /* Colors */
    --black: #000000;
    --gray-950: #1d1d1f;
    --gray-900: #333336;
    --gray-850: #3d3d40;
    --gray-800: #48484a;
    --gray-700: #6e6e73;
    --gray-600: #7c7c80;
    --gray-500: #86868b;
    --gray-400: #aeaeb2;
    --gray-300: #d2d2d7;
    --gray-200: #e8e8ed;
    --gray-100: #f5f5f7;
    --gray-50: #fafafa;
    --white: #ffffff;

    /* Accent */
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --purple: #bf5af2;
    --green: #30d158;
    --red: #ff453a;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --nav-height: 48px;
    --section-padding: 100px;
}

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

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo svg {
    opacity: 0.9;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: var(--blue);
    padding: 8px 16px;
    border-radius: 980px;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--blue-hover);
}

/* Mobile Menu Button */
.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.3s ease;
}

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 17px;
    color: var(--white);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--blue);
}

.mobile-menu .mobile-cta {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    margin-top: 16px;
    border-bottom: none;
}

.mobile-menu .mobile-cta:hover {
    background: var(--blue-hover);
    color: var(--white);
}

/* ========================================
   AUTH SECTION
======================================== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    background: var(--gray-100);
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-panel {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-950);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 17px;
    color: var(--gray-500);
}

/* Auth Form Inputs */
.auth-panel .form-group {
    margin-bottom: 20px;
}

.auth-panel .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-950);
    margin-bottom: 10px;
}

.auth-panel input[type="email"],
.auth-panel input[type="password"],
.auth-panel input[type="text"] {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-family: var(--font);
    color: var(--gray-950);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 14px;
    transition: all 0.2s;
    -webkit-appearance: none;
}

.auth-panel input::placeholder {
    color: var(--gray-500);
    font-size: 15px;
}

.auth-panel input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Auth Submit Button */
.auth-panel .btn-generate {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-google {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--white);
    color: var(--gray-950);
    border: 2px solid var(--gray-300);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-google:hover {
    background: var(--gray-100);
    border-color: var(--gray-500);
    transform: translateY(-1px);
}

.btn-google:active {
    transform: translateY(0);
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-switch {
    text-align: center;
    font-size: 15px;
    color: var(--gray-700);
    margin-top: 24px;
}

.auth-switch:last-child {
    margin-top: 16px;
}

.auth-switch a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

.auth-message {
    margin-top: 20px;
    padding: 16px 18px;
    background: rgba(255, 69, 58, 0.1);
    border-radius: 14px;
    font-size: 14px;
    color: var(--red);
    text-align: center;
    font-weight: 500;
}

.auth-message.success {
    background: rgba(48, 209, 88, 0.1);
    color: var(--green);
}

/* ========================================
   DASHBOARD STYLES
======================================== */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-950);
}

.user-tier {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-tier.tier-creator {
    color: var(--blue);
}

.user-tier.tier-business {
    color: var(--purple);
}

.btn-outline-small {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-small:hover {
    background: var(--gray-100);
    border-color: var(--gray-500);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-card .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-950);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.video-history {
    margin-bottom: 24px;
}

.video-history h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-950);
    margin-bottom: 16px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--gray-100);
    border-radius: 12px;
    transition: background 0.2s;
}

.history-item:hover {
    background: var(--gray-200);
}

.history-thumbnail {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-300);
}

.history-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-950);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.history-date {
    font-size: 13px;
    color: var(--gray-500);
}

.history-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-500);
    font-size: 15px;
}

/* Affiliate Section */
.affiliate-section {
    padding: 24px;
    background: var(--gray-100);
    border-radius: 16px;
    margin-bottom: 24px;
}

.affiliate-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.affiliate-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-950);
    margin: 0;
}

.affiliate-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    padding: 4px 10px;
    border-radius: 20px;
}

.affiliate-desc {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.affiliate-link-box {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.affiliate-link-box input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--gray-950);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    outline: none;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    color: var(--white);
    background: var(--gray-950);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--black);
}

.btn-copy.copied {
    background: #34c759;
}

.affiliate-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.affiliate-stat {
    text-align: center;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
}

.affiliate-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-950);
    margin-bottom: 4px;
}

.affiliate-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .affiliate-stats {
        grid-template-columns: 1fr;
    }

    .affiliate-link-box {
        flex-direction: column;
    }
}

/* Affiliate Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

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

.affiliate-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.affiliate-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-950);
    margin: 0;
}

.affiliate-modal-desc {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 24px;
}

.affiliate-modal-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.affiliate-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-800);
}

.benefit-icon {
    font-size: 20px;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 24px;
    }

    .affiliate-modal-header h2 {
        font-size: 20px;
    }
}

.upgrade-prompt {
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(191, 90, 242, 0.1) 100%);
    border-radius: 16px;
}

.upgrade-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-950);
    margin-bottom: 8px;
}

.upgrade-content p {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 12px;
}

/* ========================================
   NAV USER DROPDOWN
======================================== */
.nav-user {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--white);
}

.nav-user-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.nav-user-name {
    font-size: 13px;
    font-weight: 500;
}

.nav-chevron {
    opacity: 0.7;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: var(--gray-950);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.nav-dropdown a,
.nav-dropdown button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--gray-300);
    text-decoration: none;
    text-align: left;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-dropdown a:hover,
.nav-dropdown button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
        rgba(0, 113, 227, 0.15) 0%,
        rgba(191, 90, 242, 0.1) 30%,
        transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero-title-line.gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 4px;
}

.hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: var(--gray-500);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--black);
    font-size: 17px;
    font-weight: 500;
    border-radius: 980px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.btn-primary.large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    border-radius: 980px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary.large {
    padding: 18px 36px;
    font-size: 18px;
}

.play-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon svg {
    fill: var(--black);
    margin-left: 2px;
}

.hero-note {
    font-size: 13px;
    color: var(--gray-700);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-700), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ========================================
   STATS SECTION
======================================== */
.stats {
    padding: 80px 24px;
    background: var(--gray-950);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   TRUSTED BY SECTION
======================================== */
.trusted {
    padding: 48px 24px;
    background: var(--gray-100);
    text-align: center;
}

.trusted-label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

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

.logo-text {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.logo-text:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Brand colors for company logos */
.logo-text.youtube { color: #FF0000; }
.logo-text.tiktok { color: #000000; }
.logo-text.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-text.snapchat { color: #FFFC00; text-shadow: 0 0 1px #000; }
.logo-text.linkedin { color: #0A66C2; }

/* ========================================
   SHOWCASE SECTIONS
======================================== */
.showcase {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: var(--section-padding) 24px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
    color: var(--gray-950);
}

.showcase.dark {
    background: var(--black);
    color: var(--white);
}

.showcase.dark + .showcase:not(.dark) {
    margin-top: 0;
}

.showcase-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue);
    margin-bottom: 16px;
}

.showcase-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.showcase-title .gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-desc {
    font-size: 19px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 32px;
    max-width: 480px;
}

.showcase.dark .showcase-desc {
    color: var(--gray-500);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: var(--blue);
    text-decoration: none;
    transition: gap 0.2s;
}

.btn-link:hover {
    gap: 10px;
}

.btn-link .arrow {
    transition: transform 0.2s;
}

.btn-link:hover .arrow {
    transform: translateX(4px);
}

/* Showcase Visuals */
.showcase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-card {
    width: 100%;
    max-width: 500px;
    background: var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 16px 20px;
    background: var(--gray-300);
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-500);
}

.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-content {
    padding: 32px;
}

.script-demo .prompt {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-950);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-300);
}

.script-output {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.script-line {
    font-size: 15px;
    color: var(--gray-700);
    padding: 12px 16px;
    background: var(--white);
    border-radius: 8px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: var(--delay);
}

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

/* Voice Visualizer */
.voice-visualizer {
    text-align: center;
}

.wave-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 120px;
    margin-bottom: 24px;
}

.wave {
    width: 6px;
    height: 40px;
    background: linear-gradient(to top, var(--blue), var(--purple));
    border-radius: 3px;
    animation: waveAnim 1s ease-in-out infinite;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 0.1s; height: 60px; }
.wave:nth-child(3) { animation-delay: 0.2s; height: 80px; }
.wave:nth-child(4) { animation-delay: 0.3s; height: 60px; }
.wave:nth-child(5) { animation-delay: 0.4s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.8); }
}

.voice-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
}

.video-tile {
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay);
}

.video-tile img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-tile:hover img {
    transform: scale(1.05);
}

/* ========================================
   PROCESS SECTION
======================================== */
.process {
    padding: var(--section-padding) 24px;
    background: var(--gray-100);
    color: var(--gray-950);
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-header h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.process-header p {
    font-size: 19px;
    color: var(--gray-700);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step-content p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing {
    padding: var(--section-padding) 24px;
    background: var(--white);
    color: var(--gray-950);
}

.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-header h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.pricing-header p {
    font-size: 19px;
    color: var(--gray-700);
    margin-bottom: 24px;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}

.toggle-label.active {
    color: var(--gray-950);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
}

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

.save-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    padding: 4px 10px;
    border-radius: 20px;
}

.annual-price.hidden,
.annual-desc.hidden {
    display: none;
}

.monthly-price.hidden,
.monthly-desc.hidden {
    display: none;
}

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

.pricing-card {
    background: var(--gray-100);
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured {
    background: var(--gray-950);
    color: var(--white);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 20px;
    border-radius: 20px;
    white-space: nowrap;
}

.card-top {
    margin-bottom: 32px;
    text-align: center;
}

.card-top h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 24px;
    font-weight: 500;
}

.price .amount {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price .period {
    font-size: 17px;
    color: var(--gray-700);
}

.pricing-card.featured .price .period {
    color: var(--gray-500);
}

.price-desc {
    font-size: 15px;
    color: var(--gray-700);
}

.pricing-card.featured .price-desc {
    color: var(--gray-500);
}

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

.features-list li {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card.featured .features-list li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.features-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

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

.btn-card {
    display: block;
    text-align: center;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.2s ease;
    background: var(--gray-950);
    color: var(--white);
}

.btn-card:hover {
    opacity: 0.85;
}

.pricing-card.featured .btn-card {
    background: var(--white);
    color: var(--gray-950);
}

.pricing-card.featured .btn-card:hover {
    background: var(--gray-100);
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: var(--section-padding) 24px;
    background: var(--gray-100);
    color: var(--gray-950);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.testimonials-header p {
    font-size: 19px;
    color: var(--gray-700);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-900);
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--gray-950);
    font-size: 15px;
}

.author-title {
    font-size: 13px;
    color: var(--gray-500);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 120px 24px;
    background: linear-gradient(135deg, var(--gray-950) 0%, var(--black) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 21px;
    color: var(--gray-500);
    margin-bottom: 40px;
}

/* ========================================
   APP SECTION - STATE OF THE ART DESIGN
======================================== */
.app-section {
    padding: 100px 24px 140px;
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated Floating Orbs */
.app-section::before,
.app-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}

.app-section::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.app-section::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 30px) scale(1.05);
    }
    50% {
        transform: translate(20px, -40px) scale(0.95);
    }
    75% {
        transform: translate(-30px, 20px) scale(1.02);
    }
}

/* Additional floating orbs via extra elements */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.floating-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    top: 40%;
    left: 10%;
    animation: floatOrb 25s ease-in-out infinite;
    animation-delay: -5s;
}

.floating-orb:nth-child(2) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 20%;
    right: 15%;
    animation: floatOrb 22s ease-in-out infinite reverse;
    animation-delay: -8s;
}

.floating-orb:nth-child(3) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    bottom: 30%;
    left: 50%;
    animation: floatOrb 28s ease-in-out infinite;
    animation-delay: -15s;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(40px);
}

.cursor-glow.active {
    opacity: 1;
}

.app-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.app-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 56px 52px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    animation: panelSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    will-change: transform;
}

.app-panel.tilt-active {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.08);
}

/* Panel shine effect on tilt */
.app-panel .panel-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.5) 55%,
        transparent 60%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.app-panel.tilt-active .panel-shine {
    opacity: 0.3;
}

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

.app-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #0ea5e9, #6366f1);
    background-size: 300% 100%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.app-header {
    margin-bottom: 44px;
    text-align: center;
}

.app-header.center {
    text-align: center;
}

.app-header h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6a 50%, #1a1a2e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 12px;
    opacity: 0;
    animation: titleFadeIn 0.8s ease forwards, titleGradient 6s ease infinite;
    animation-delay: 0.2s, 0.2s;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.app-header p {
    font-size: 17px;
    color: var(--gray-500);
    margin-top: 0;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0;
    animation: subtitleFadeIn 0.6s ease forwards;
    animation-delay: 0.4s;
}

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

.app-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Form Styles - Modern Design with Animations */
.form-group {
    margin-bottom: 28px;
    position: relative;
    opacity: 0;
    animation: formElementFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }

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

.form-row {
    opacity: 0;
    animation: formElementFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
}

.form-options {
    opacity: 0;
    animation: formElementFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

#video-form .btn-generate {
    opacity: 0;
    animation:
        formElementFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards,
        buttonPulse 3s ease-in-out 2s infinite,
        buttonGradientShift 4s ease infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow:
            0 4px 15px rgba(99, 102, 241, 0.4),
            0 8px 30px rgba(139, 92, 246, 0.2);
    }
    50% {
        box-shadow:
            0 6px 25px rgba(99, 102, 241, 0.6),
            0 12px 45px rgba(139, 92, 246, 0.4),
            0 0 80px rgba(236, 72, 153, 0.25);
    }
}

@keyframes buttonGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.form-group:focus-within label {
    color: #6366f1;
    transform: translateX(4px);
}

.form-group label .label-icon {
    width: 18px;
    height: 18px;
    color: #6366f1;
    transition: transform 0.3s ease;
}

.form-group:focus-within label .label-icon {
    transform: scale(1.15) rotate(-5deg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.form-row.compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.flex-2 {
    grid-column: span 2;
}

textarea,
select,
input[type="text"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font);
    color: #1f2937;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
}

textarea {
    resize: none;
    line-height: 1.7;
    min-height: 120px;
}

textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

select {
    cursor: pointer;
    background-color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2L6 6.5L10.5 2' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

select option {
    padding: 14px;
    font-weight: 500;
    background: white;
}

textarea:hover,
select:hover,
input[type="text"]:hover {
    border-color: #c7d2fe;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

textarea:focus,
select:focus,
input:focus {
    outline: none;
    background: #ffffff;
    border-color: #6366f1;
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(99, 102, 241, 0.12);
}

input[type="color"] {
    width: 100%;
    height: 56px;
    padding: 8px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    background: #f9fafb;
    transition: all 0.3s ease;
}

input[type="color"]:hover {
    border-color: #c7d2fe;
}

input[type="color"]:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 4px;
}

input[type="color"]::-webkit-color-swatch {
    border-radius: 10px;
    border: none;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #6366f1 0%, #6366f1 var(--value, 15%), #e5e7eb var(--value, 15%), #e5e7eb 100%);
    border-radius: 100px;
    -webkit-appearance: none;
    margin-top: 16px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border: 3px solid #6366f1;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Checkbox Options - Modern Toggle Style */
.form-options {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.checkbox-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    padding: 18px 22px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-option:hover {
    border-color: #c7d2fe;
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.checkbox-option:active {
    transform: translateY(-1px) scale(0.98);
}

.checkbox-option input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 26px;
    height: 26px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    background: #ffffff;
    flex-shrink: 0;
}

.checkbox-option:hover .checkmark {
    border-color: #a5b4fc;
}

.checkmark::after {
    content: '';
    width: 14px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6L5 10L13 2' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

.checkbox-option input:checked + .checkmark {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    animation: checkboxBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkboxBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.checkbox-option input:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
    animation: checkmarkDraw 0.3s ease-out 0.1s both;
}

@keyframes checkmarkDraw {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.checkbox-option:has(input:checked) {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}

.sub-options {
    padding: 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    border: 2px solid #e5e7eb;
    animation: subOptionsSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top;
}

@keyframes subOptionsSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

.sub-options .form-group {
    margin-bottom: 0;
}

.sub-options .form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sub-options select {
    padding: 14px 16px;
    font-size: 14px;
    background: #ffffff;
}

.sub-options.hidden {
    display: none;
}

/* Generate Button - Stunning Gradient */
.btn-generate {
    width: 100%;
    padding: 22px 36px;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% 200%;
    color: #ffffff;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.4),
        0 8px 30px rgba(139, 92, 246, 0.2);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-generate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-generate:hover::before {
    left: 100%;
}

.btn-generate:hover {
    background-position: 100% 50%;
    transform: translateY(-4px);
    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.5),
        0 16px 50px rgba(139, 92, 246, 0.3);
}

.btn-generate:active {
    transform: translateY(-2px);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-generate:disabled::before {
    display: none;
}

.btn-generate .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-generate:hover .arrow-icon {
    transform: translateX(6px);
}

.btn-outline {
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    font-family: var(--font);
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--gray-300);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-500);
}

/* Progress Section - Dark Background */
#progress-section {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    min-height: 620px;
}

#progress-section::before {
    display: none;
}

/* Animated Background - Subtle geometric shapes */
.progress-bg-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.progress-orb {
    display: none;
}

.progress-orb-1,
.progress-orb-2,
.progress-orb-3 {
    display: none;
}

/* Floating Particles - Subtle dots */
.progress-particles {
    position: absolute;
    inset: 0;
}

.progress-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
    opacity: 0.2;
}

.progress-particles span:nth-child(even) {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.progress-particles span:nth-child(3n) {
    width: 8px;
    height: 8px;
}

.progress-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.progress-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: -1s; }
.progress-particles span:nth-child(3) { left: 30%; top: 40%; animation-delay: -2s; }
.progress-particles span:nth-child(4) { left: 50%; top: 10%; animation-delay: -3s; }
.progress-particles span:nth-child(5) { left: 70%; top: 70%; animation-delay: -4s; }
.progress-particles span:nth-child(6) { left: 80%; top: 30%; animation-delay: -0.5s; }
.progress-particles span:nth-child(7) { left: 90%; top: 60%; animation-delay: -1.5s; }
.progress-particles span:nth-child(8) { left: 40%; top: 90%; animation-delay: -2.5s; }
.progress-particles span:nth-child(9) { left: 60%; top: 50%; animation-delay: -3.5s; }
.progress-particles span:nth-child(10) { left: 15%; top: 55%; animation-delay: -4.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 0.3; }
}

/* Progress Content - Simple */
.progress-content {
    position: relative;
    z-index: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Header */
.progress-header {
    text-align: center;
    margin-bottom: 40px;
}

.progress-icon-pulse {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: iconPulse 2s ease-in-out infinite;
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.4),
        0 0 60px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.progress-icon-pulse svg {
    width: 28px;
    height: 28px;
    color: #fff;
    fill: #fff;
    stroke: none;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 8px 32px rgba(99, 102, 241, 0.4),
            0 0 60px rgba(99, 102, 241, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 12px 48px rgba(99, 102, 241, 0.5),
            0 0 80px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

.progress-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.progress-subtitle {
    font-size: 15px;
    color: #94a3b8;
}

/* Progress Display - Circle */
.progress-display {
    text-align: center;
    margin-bottom: 32px;
}

.progress-circle-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-track {
    fill: none;
    stroke: #1e293b;
    stroke-width: 10;
}

.progress-fill {
    fill: none;
    stroke: #6366f1;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 326.726;
    stroke-dashoffset: 326.726;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Progress Status */
.progress-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.progress-eta {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

/* Stage Cards - Modern Stepper */
.progress-stages {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    position: relative;
}

.stage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 8px;
}

/* Connecting line between stages */
.stage-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 3px;
    background: #334155;
    border-radius: 2px;
    transition: all 0.5s ease;
}

.stage-card.completed:not(:last-child)::after {
    background: linear-gradient(90deg, #06b6d4, #22d3d1);
}

.stage-card.active:not(:last-child)::after {
    background: linear-gradient(90deg, #6366f1 50%, #334155 50%);
}

.stage-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.stage-icon svg {
    width: 24px;
    height: 24px;
    color: #64748b;
    transition: all 0.4s ease;
}

.stage-card.active .stage-icon {
    background: #1e293b;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    animation: activeStage 2s ease-in-out infinite;
}

@keyframes activeStage {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1);
    }
}

.stage-card.active .stage-icon svg {
    color: #6366f1;
}

.stage-card.completed .stage-icon {
    background: #06b6d4;
    border-color: #06b6d4;
}

.stage-card.completed .stage-icon svg {
    color: #fff;
}

.stage-info {
    text-align: center;
    margin-top: 14px;
}

.stage-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 2px;
}

.stage-status {
    font-size: 11px;
    color: #64748b;
    transition: color 0.3s ease;
}

.stage-card.active .stage-name {
    color: #a5b4fc;
    font-weight: 700;
}

.stage-card.active .stage-status {
    color: #818cf8;
}

.stage-card.completed .stage-name {
    color: #22d3d1;
}

.stage-card.completed .stage-status {
    color: #06b6d4;
}

.stage-check {
    position: absolute;
    top: -4px;
    right: calc(50% - 28px);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.5);
}

.stage-check svg {
    width: 10px;
    height: 10px;
    color: #fff;
}

.stage-card.completed .stage-check {
    opacity: 1;
    transform: scale(1);
}

/* Progress Actions */
.progress-actions {
    margin-top: 16px;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-cancel svg {
    width: 16px;
    height: 16px;
}

/* Responsive Progress */
@media (max-width: 600px) {
    #progress-section {
        min-height: 560px;
    }

    .progress-content {
        padding: 32px 20px;
    }

    .progress-title {
        font-size: 22px;
    }

    .progress-circle-container {
        width: 150px;
        height: 150px;
    }

    .progress-text {
        font-size: 36px;
    }

    .progress-stages {
        max-width: 100%;
        padding: 0 8px;
    }

    .stage-card {
        padding: 0 4px;
    }

    .stage-card:not(:last-child)::after {
        top: 22px;
        left: calc(50% + 24px);
        width: calc(100% - 48px);
        height: 3px;
    }

    .stage-icon {
        width: 44px;
        height: 44px;
    }

    .stage-icon svg {
        width: 20px;
        height: 20px;
    }

    .stage-card.active .stage-icon {
        transform: scale(1.05) translateY(-1px);
    }

    .stage-name {
        font-size: 11px;
    }

    .stage-status {
        font-size: 10px;
    }
}

/* Result */
.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(48, 209, 88, 0.1);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.error-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 69, 58, 0.1);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.error-message {
    color: var(--red);
    margin-top: 8px;
    font-size: 15px;
}

.video-preview {
    background: var(--black);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    aspect-ratio: 9/16;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview video {
    max-width: 100%;
    max-height: 100%;
}

.video-meta {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    text-align: center;
}

.meta-label {
    display: block;
    font-size: 12px;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-950);
}

.result-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-download {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    background: #6366f1;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-new {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    background: transparent;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-new:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 80px 24px 40px;
    background: var(--gray-950);
    color: var(--gray-300);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-700);
}

.footer-links {
    text-align: left;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 800px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

/* ========================================
   UTILITIES
======================================== */
.hidden {
    display: none !important;
}

.gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.process-step.animate-on-scroll { transition-delay: calc(var(--index, 0) * 0.1s); }
.pricing-card.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.pricing-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.pricing-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* Showcase specific animations */
.showcase-content.animate-on-scroll,
.showcase-visual.animate-on-scroll {
    transform: translateY(40px);
}

.showcase-content.visible,
.showcase-visual.visible {
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .showcase {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: auto;
        padding: 80px 24px;
    }

    .showcase.dark .showcase-visual {
        order: 1;
    }

    .showcase.dark .showcase-content {
        order: 2;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

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

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

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

    .testimonials-header h2 {
        font-size: 36px;
    }

    .trusted-logos {
        gap: 32px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-user {
        display: none;
    }

    .auth-panel {
        padding: 32px 24px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .stat-card .stat-value {
        font-size: 28px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
    }

    .btn-outline-small {
        width: 100%;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(50% - 16px);
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero-title-line {
        font-size: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
        max-width: 300px;
    }

    .showcase-title {
        font-size: 36px;
    }

    .process-header h2,
    .pricing-header h2 {
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .form-options {
        flex-direction: column;
        gap: 12px;
    }

    .result-buttons {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .app-panel {
        padding: 32px 24px;
    }

    .form-row.compact {
        grid-template-columns: 1fr;
    }

    .flex-2 {
        grid-column: span 1;
    }

    .video-meta {
        gap: 32px;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-700);
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-950);
    border-top: 1px solid var(--gray-800);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.consent-text {
    flex: 1;
}

.consent-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.consent-text p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 4px;
}

.consent-link {
    font-size: 14px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

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

.consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.consent-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

.consent-btn-primary:hover {
    background: var(--gray-200);
}

.consent-btn-secondary {
    background: var(--gray-800);
    color: var(--gray-300);
}

.consent-btn-secondary:hover {
    background: var(--gray-700);
}

/* Consent Modal */
.consent-modal-content {
    max-width: 500px;
}

.consent-modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-950);
    margin-bottom: 8px;
}

.consent-modal-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 24px;
}

.consent-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.consent-option {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
}

.consent-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.consent-option-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-950);
    margin-bottom: 4px;
}

.consent-option-info p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.4;
}

.consent-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.consent-toggle.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.consent-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-toggle-slider {
    width: 44px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
}

.consent-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.consent-toggle input:checked + .consent-toggle-slider {
    background: var(--blue);
}

.consent-toggle input:checked + .consent-toggle-slider::before {
    transform: translateX(20px);
}

.consent-toggle.disabled .consent-toggle-slider {
    background: var(--gray-400);
}

.consent-always-on {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.consent-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .consent-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .consent-actions {
        width: 100%;
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
    }

    .consent-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .consent-modal-actions {
        flex-direction: column;
    }
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms)
   ======================================== */

.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
    background: var(--gray-950);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-800);
}

.legal-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.legal-updated {
    font-size: 14px;
    color: var(--gray-500);
}

.legal-content {
    color: var(--gray-300);
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    padding-top: 16px;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-100);
    margin: 24px 0 12px;
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
    font-size: 16px;
}

.legal-section strong {
    color: var(--white);
}

.contact-info {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--white);
}

.btn-back svg {
    transition: transform 0.2s;
}

.btn-back:hover svg {
    transform: translateX(-4px);
}

.legal-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-top: 8px;
}

/* Legal Hub Cards */
.legal-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.legal-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s;
}

.legal-card:hover {
    background: var(--gray-850);
    border-color: var(--gray-700);
    transform: translateX(4px);
}

.legal-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.legal-card-content {
    flex: 1;
}

.legal-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.legal-card-content p {
    font-size: 14px;
    color: var(--gray-400);
    margin: 0;
}

.legal-card-arrow {
    color: var(--gray-500);
    transition: all 0.2s;
}

.legal-card:hover .legal-card-arrow {
    color: var(--white);
    transform: translateX(4px);
}

.legal-contact {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 48px;
}

.legal-contact h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.legal-contact > p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 20px 60px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-card {
        padding: 20px;
    }

    .legal-card-icon {
        width: 48px;
        height: 48px;
    }

    .legal-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================
   Social Proof Bar
   ========================================== */
.social-proof-bar {
    background: var(--gray-50);
    padding: 40px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.social-proof-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.proof-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-200);
}

/* ==========================================
   Trust Badge (Stripe)
   ========================================== */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge .stripe-icon {
    flex-shrink: 0;
}

/* ==========================================
   Social Proof & Trust Badge Responsive
   ========================================== */
@media (max-width: 768px) {
    .social-proof-container {
        flex-direction: column;
        gap: 28px;
    }

    .proof-divider {
        width: 80px;
        height: 1px;
    }

    .proof-number {
        font-size: 2rem;
    }
}

/* ==========================================
   Urgency Bar
   ========================================== */
.urgency-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 14px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.urgency-bar-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.urgency-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.9rem;
}

.urgency-pulse {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: urgencyPulse 1.5s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.urgency-divider {
    color: #444;
}

.urgency-text strong {
    color: #00ff88;
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }
}

/* ==========================================
   FOMO Notification
   ========================================== */
.fomo-notification {
    position: fixed;
    bottom: 70px;
    left: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    max-width: 340px;
}

.fomo-notification.show {
    transform: translateX(0);
}

.fomo-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.fomo-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fomo-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.fomo-time {
    font-size: 0.75rem;
    color: #888;
}

.fomo-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #bbb;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.fomo-close:hover {
    color: #333;
}

/* ==========================================
   Urgency & FOMO Responsive
   ========================================== */
@media (max-width: 768px) {
    .urgency-bar {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }

    .urgency-bar-fixed {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
    }

    .urgency-bar-fixed .urgency-divider {
        display: none;
    }

    .urgency-bar-fixed .urgency-item {
        font-size: 0.8rem;
    }

    .urgency-divider {
        display: none;
    }

    .urgency-item {
        font-size: 0.85rem;
    }

    .fomo-notification {
        left: 12px;
        right: 12px;
        bottom: 100px;
        max-width: none;
    }
}

/* ==========================================
   Success Stories
   ========================================== */
.success-stories {
    padding: 100px 20px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
}

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

.success-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #111 100%);
    border: 1px solid #222;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.success-card:hover {
    transform: translateY(-4px);
    border-color: #333;
}

.success-stat {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.success-label {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-quote {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.success-author .author-name {
    font-weight: 600;
    color: #fff;
}

.success-author .author-platform {
    font-size: 0.875rem;
    color: #666;
}

@media (max-width: 768px) {
    .success-stories {
        padding: 60px 20px;
    }

    .success-stat {
        font-size: 1.5rem;
    }

    .success-card {
        padding: 24px;
    }
}

/* ==========================================
   Counter Wall
   ========================================== */
.counter-wall {
    background: #000;
    padding: 60px 20px;
    border-bottom: 1px solid #1a1a1a;
}

.counter-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.counter-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    display: block;
}

@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        gap: 40px;
    }

    .counter-number {
        font-size: 2.5rem;
    }
}

/* ==========================================
   Trust Badges & Trust Bar
   ========================================== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: #888;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pricing-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #222;
    flex-wrap: wrap;
}

.trust-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

.trust-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .trust-badges {
        flex-wrap: wrap;
        gap: 12px;
    }

    .pricing-trust-bar {
        gap: 24px;
        padding: 30px 20px 0;
    }

    .trust-icon-item {
        font-size: 0.8rem;
    }
}
