/* ==========================================
   MODERN AI FIRST DESIGN - MARKETING PRO
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0066FF;
    --blue-light: #3385FF;
    --pink: #FF0080;
    --pink-light: #FF66B2;
    --purple: #6B46C1;
    --purple-light: #9F7AEA;
    --dark: #0A0E27;
    --dark-lighter: #161B3A;
    --dark-card: #1F2544;
    --white: #FFFFFF;
    --gray: #A0AEC0;
    --gray-light: #E2E8F0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geologica', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 32px); }

strong {
    background: linear-gradient(135deg, var(--blue-light), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.blur-pink {
    width: 600px;
    height: 600px;
    background: var(--pink);
    top: -200px;
    right: -200px;
}

.blur-blue {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blur-purple {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-light);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.btn-ghost {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    padding: 12px 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* Hero AI First */
.hero-ai {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    z-index: 1;
}

.hero-ai-badge {
    display: inline-flex;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-ai-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-ai-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Match */
.hero-match {
    margin-top: 48px;
    margin-bottom: 48px;
}

.match-header {
    text-align: center;
    margin-bottom: 32px;
}

.match-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.match-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.faq-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.faq-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.151);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-button svg {
    height: 1.5em;
    fill: white;
}

.faq-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 15px 20px rgba(0, 102, 255, 0.3);
}

.faq-button:hover svg {
    animation: jello-vertical 0.7s both;
}

@keyframes jello-vertical {
    0% {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(0.75, 1.25, 1);
    }
    40% {
        transform: scale3d(1.25, 0.75, 1);
    }
    50% {
        transform: scale3d(0.85, 1.15, 1);
    }
    65% {
        transform: scale3d(1.05, 0.95, 1);
    }
    75% {
        transform: scale3d(0.95, 1.05, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

.tooltip {
    position: absolute;
    top: -20px;
    opacity: 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
}

.tooltip::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--purple);
    transform: rotate(45deg);
    bottom: -5px;
    transition: all 0.3s ease;
}

.faq-button:hover .tooltip {
    top: -50px;
    opacity: 1;
}

.match-columns {
    display: grid;
    grid-template-columns: 1fr 150px 1fr;
    gap: 24px;
    margin: 0 auto;
    max-width: 1000px;
}

.match-col h3 {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--dark-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    width: 100%;
}

.match-option i {
    font-size: 20px;
    color: var(--blue);
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.match-option div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.match-option strong {
    font-size: 15px;
    color: var(--white);
    display: block;
    font-weight: 600;
}

.match-option span {
    font-size: 12px;
    color: var(--gray);
}

.match-option:hover {
    border-color: var(--blue);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}

.match-option.selected {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(107, 70, 193, 0.2));
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3),
                0 8px 24px rgba(0, 102, 255, 0.4);
    transform: scale(1.02);
}

.match-option.selected i {
    color: var(--white);
}

/* Persona Cards - Larger Size */
.match-option.persona-card {
    padding: 24px 20px;
    min-height: 100px;
}

.match-option.persona-card i {
    font-size: 32px;
    width: 48px;
}

.match-option.persona-card strong {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.match-option.persona-card span {
    font-size: 14px;
    line-height: 1.4;
}

.match-connector-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-lines-hero {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.match-lines-hero path {
    stroke: var(--blue);
    stroke-width: 4;
    opacity: 0;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.match-lines-hero path.active {
    opacity: 1;
    stroke: url(#gradientHero);
    stroke-width: 4;
    stroke-dasharray: 10 5;
    animation: dashFlow 1.5s linear infinite, glowPulse 2s ease-in-out infinite;
}

.match-lines-hero .connection-pulse {
    fill: #fff;
    filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.8)) drop-shadow(0 0 20px rgba(0, 102, 255, 0.4));
    opacity: 0.9;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.6)) drop-shadow(0 0 16px rgba(0, 102, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(0, 102, 255, 0.9)) drop-shadow(0 0 28px rgba(0, 102, 255, 0.5));
    }
}

/* AI Creator */
.ai-creator {
    max-width: 900px;
    margin: 0 auto 48px;
}

.ai-creator-input {
    position: relative;
    margin-bottom: 16px;
    padding: 2px;
    background: radial-gradient(circle 120px at 80% -10%, rgba(255, 255, 255, 0.15), var(--dark));
    border-radius: 18px;
}

.ai-creator-input::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 60%;
    border-radius: 120px;
    top: 0;
    right: 0;
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.15);
    z-index: -1;
}

.ai-creator-input::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    border-radius: 18px;
    bottom: 0;
    left: 0;
    background: radial-gradient(
        circle 80px at 0% 100%,
        rgba(0, 102, 255, 0.4),
        rgba(107, 70, 193, 0.3),
        transparent
    );
    box-shadow: -10px 10px 40px rgba(0, 102, 255, 0.2);
    z-index: 0;
}

.ai-creator-input textarea {
    width: 100%;
    padding: 24px;
    padding-right: 180px;
    background: radial-gradient(circle 120px at 80% -50%, rgba(107, 70, 193, 0.15), var(--dark-card));
    border: none;
    border-radius: 16px;
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    resize: none;
    position: relative;
    z-index: 2;
}

.ai-creator-input textarea::before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 16px;
    background: radial-gradient(
        circle 80px at 0% 100%,
        rgba(0, 102, 255, 0.08),
        rgba(107, 70, 193, 0.05),
        transparent
    );
    position: absolute;
}

.ai-creator-input textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.3);
}

.btn-generate {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.ai-creator-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag-option {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.tag-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.tag-option.active {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.tag-option.active i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Post Preview */
.post-preview {
    max-width: 600px;
    margin: 48px auto 0;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    animation: slideUp 0.5s;
}

.post-preview[style*="display: none"] {
    display: none !important;
}

.post-preview[style*="display: block"] {
    display: block !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.post-preview-header h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-edit {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Improved Prompt Section */
.improved-prompt-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(107, 70, 193, 0.1) 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.prompt-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prompt-label i {
    font-size: 16px;
}

.prompt-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 14px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--blue);
}

.post-mock {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 2px solid rgba(0, 102, 255, 0.3);
}

.post-mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--pink));
}

.post-mock-info strong {
    display: block;
    color: var(--white);
}

.post-mock-info span {
    font-size: 12px;
    color: var(--gray);
}

.post-mock-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.2) 0%, 
        rgba(107, 70, 193, 0.2) 50%,
        rgba(0, 102, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.post-mock-image::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, 
        rgba(0, 102, 255, 0.3) 0%, 
        transparent 50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-30%, -30%) rotate(180deg);
    }
}

.post-mock-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

.post-mock-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.post-mock-placeholder p {
    font-size: 14px;
    font-weight: 500;
}

.post-mock-text {
    padding: 16px;
    color: var(--white);
    white-space: pre-wrap;
    line-height: 1.6;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.3);
    min-height: 100px;
}

.post-preview-actions {
    text-align: center;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    text-decoration: none;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.preview-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 64px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
}

.stat span {
    color: var(--gray);
}

/* Brands */
.brands {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.brands-marquee {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
}

.brand-item {
    flex-shrink: 0;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--gray);
    font-weight: 600;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections */
.section-apps,
.section-video-testimonials,
.section-why,
.section-how-works,
.section-business,
.section-community {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-video-testimonials,
.section-how-works {
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 100px;
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
}

.app-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--dark-lighter);
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    padding: 20px;
}

.app-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.app-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 100px;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 600;
}

/* Testimonial Video Cards */
.testimonial-video-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
    padding: 32px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.video-testimonial {
    aspect-ratio: 16/9;
    background: var(--dark-lighter);
    border-radius: 12px;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    cursor: pointer;
}

.video-placeholder i {
    font-size: 64px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 24px;
}

.testimonial-author-info strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.testimonial-author-info span {
    color: var(--gray);
    font-size: 14px;
}

/* Why Section */
.why-image {
    max-width: 100%;
    margin: 48px auto;
    overflow: hidden;
    position: relative;
}

.screenshots-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.screenshots-track {
    display: flex;
    gap: 24px;
    animation: scrollScreenshots 60s linear infinite;
    will-change: transform;
}

.screenshots-track img {
    height: 400px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

@keyframes scrollScreenshots {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.screenshots-track:hover {
    animation-play-state: paused;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.why-feature {
    text-align: center;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.why-feature h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.why-feature p {
    color: var(--gray);
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 64px;
}

/* How It Works */
.how-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.how-work-item {
    position: relative;
    padding: 40px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
}

.how-work-item:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
}

.how-work-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}

.how-work-icon {
    font-size: 48px;
    color: var(--blue-light);
    margin-bottom: 24px;
}

.how-work-item h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.how-work-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* Business Tabs */
.business-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: var(--dark-card);
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.business-tab i {
    font-size: 20px;
}

.business-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.business-tab.active {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.business-tab-content {
    display: none !important;
    animation: fadeInTab 0.5s ease;
}

.business-tab-content.active {
    display: block !important;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.business-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 48px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.business-content-text h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.business-content-text > p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.business-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.business-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--gray);
}

.business-benefits i {
    color: var(--blue-light);
    font-size: 20px;
    flex-shrink: 0;
}

.business-content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-mockup {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(107, 70, 193, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--blue-light);
}

/* Community */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.community-card {
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s;
}

.community-card:hover {
    transform: translateY(-4px);
}

.community-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.community-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.community-header strong {
    display: block;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.community-header span {
    color: var(--gray);
    font-size: 13px;
}

.community-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Final CTA */
.section-final-cta {
    padding: 120px 0;
    text-align: center;
    z-index: 1;
}

.section-final-cta h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 40px;
}

.btn-primary-huge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none;
    border-radius: 16px;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.4);
}

.btn-primary-huge:hover {
    transform: translateY(-4px);
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

/* Match Section */
.section-match {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.match-container {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 40px;
    margin: 80px 0;
    position: relative;
}

.match-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.match-item,
.match-solution {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.match-item:hover,
.match-solution:hover {
    transform: translateX(8px);
    border-color: var(--blue);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.2);
}

.match-solution:hover {
    transform: translateX(-8px);
}

.match-item.active,
.match-solution.active {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(107, 70, 193, 0.1));
    border-color: var(--blue);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.match-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: 12px;
    flex-shrink: 0;
}

.match-icon i {
    font-size: 24px;
    color: var(--white);
}

.match-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--white);
}

.match-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.match-connector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-lines {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.match-lines line {
    stroke: var(--blue);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    opacity: 0.6;
    transition: all 0.4s;
}

.match-lines line.active {
    stroke-width: 3;
    opacity: 1;
    stroke: url(#gradient);
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 24;
    }
}

.match-cta {
    text-align: center;
    margin-top: 64px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    height: 32px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: var(--white);
}

.footer-copy {
    color: var(--gray);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    animation: modalSlideUp 0.3s;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--gray);
}

.signup-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray);
    text-align: center;
}

.form-note a {
    color: var(--blue-light);
}

.modal-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.modal-divider span {
    position: relative;
    padding: 0 16px;
    background: var(--dark-card);
    color: var(--gray);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-footer-text {
    text-align: center;
    margin-top: 24px;
    color: var(--gray);
}

.modal-footer-text a {
    color: var(--blue-light);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .match-header h3 {
        font-size: 1.25rem;
    }
    
    .faq-buttons {
        gap: 12px;
    }
    
    .faq-button {
        width: 45px;
        height: 45px;
    }
    
    .tooltip {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .match-columns {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .match-connector-hero {
        display: none;
    }
    
    .match-col h3 {
        font-size: 16px;
    }
    
    .match-option {
        padding: 16px;
    }
    
    .match-option i {
        font-size: 20px;
    }
    
    .match-option strong {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-card);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 8px 0;
    }
    
    .nav-btn-ghost {
        display: block;
        text-align: center;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 600;
        color: var(--white);
        text-decoration: none;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s;
    }
    
    .nav-btn-primary {
        display: block;
        text-align: center;
        padding: 14px 24px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--blue), var(--purple));
        color: var(--white);
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .ai-creator-input textarea {
        padding-right: 24px;
    }
    
    .btn-generate {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .business-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 6px;
    }
    
    .business-tab {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .business-tab i {
        font-size: 18px;
    }
    
    .business-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    
    .business-content-text h3 {
        font-size: 24px;
    }
    
    .business-mockup {
        font-size: 80px;
    }
    
    .screenshots-track img {
        height: 250px;
    }
    
    .testimonial-video-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* Newton's Cradle Loader */
.newtons-cradle {
 --uib-size: 60px;
 --uib-speed: 1.2s;
 --uib-color: #6366f1;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 width: var(--uib-size);
 height: var(--uib-size);
}

.newtons-cradle__dot {
 position: relative;
 display: flex;
 align-items: center;
 height: 100%;
 width: 25%;
 transform-origin: center top;
}

.newtons-cradle__dot::after {
 content: '';
 display: block;
 width: 100%;
 height: 25%;
 border-radius: 50%;
 background-color: var(--uib-color);
}

.newtons-cradle__dot:first-child {
 animation: swing var(--uib-speed) linear infinite;
}

.newtons-cradle__dot:last-child {
 animation: swing2 var(--uib-speed) linear infinite;
}

@keyframes swing {
 0% {
  transform: rotate(0deg);
  animation-timing-function: ease-out;
 }

 25% {
  transform: rotate(70deg);
  animation-timing-function: ease-in;
 }

 50% {
  transform: rotate(0deg);
  animation-timing-function: linear;
 }
}

@keyframes swing2 {
 0% {
  transform: rotate(0deg);
  animation-timing-function: linear;
 }

 50% {
  transform: rotate(0deg);
  animation-timing-function: ease-out;
 }

 75% {
  transform: rotate(-70deg);
  animation-timing-function: ease-in;
 }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    flex-direction: column;
    gap: 24px;
}

.loading-overlay.active {
    display: flex;
}

.loading-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    max-width: 400px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Styled Alert */
.styled-alert {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
}

.styled-alert-warning {
    border-left: 4px solid #f59e0b;
}

.styled-alert-error {
    border-left: 4px solid #ef4444;
}

.styled-alert-info {
    border-left: 4px solid #3b82f6;
}

.styled-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.styled-alert-message {
    flex: 1;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
}

.styled-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.styled-alert-close:hover {
    color: #1f2937;
}

.styled-alert.fade-out {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}