/* Root Variables - Beautiful Color Scheme */
:root {
    /* Primary Colors - Deep Purple & Blue Gradient */
    --primary-purple: #6366f1;
    --primary-blue: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);

    /* Accent Colors */
    --accent-teal: #06b6d4;
    --accent-emerald: #10b981;
    --accent-pink: #ec4899;

    /* Neutral Colors */
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --gray-600: #475569;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;

    /* Semantic Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

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

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

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.cta-button {
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

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

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-purple);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 28px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.button {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.button-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.button-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.play-icon {
    font-size: 12px;
}

/* Chat Demo */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    /* box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color); */
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

.chat-demo {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.chat-message {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.chat-message:nth-child(1) {
    animation-delay: 0.3s;
}

.chat-message:nth-child(2) {
    animation-delay: 0.6s;
}

.chat-message:nth-child(3) {
    animation-delay: 0.9s;
}

.chat-message:nth-child(4) {
    animation-delay: 1.2s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    max-width: 80%;
}

.user-message .message-bubble {
    background: var(--primary-gradient);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.clerk-message .message-bubble {
    background: var(--gray-100);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

/* Section Titles */
.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

/* How It Works */
.how-it-works {
    background: var(--bg-secondary);
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 80px;
}

.workflow-step {
    flex: 1;
    max-width: 280px;
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.step-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.workflow-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 15px;
}

.workflow-arrow {
    font-size: 32px;
    color: var(--gray-400);
    font-weight: 300;
}

.simple-statement {
    text-align: center;
}

.statement-text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.statement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.statement-item {
    font-size: 18px;
    color: var(--text-secondary);
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.feature-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.feature-statement {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 40px;
    background: var(--gray-100);
    border-radius: 16px;
}

/* Why Different */
.why-different {
    background: var(--bg-secondary);
}

.differentiators {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.differentiator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.differentiator.reverse {
    direction: rtl;
}

.differentiator.reverse>* {
    direction: ltr;
}

.diff-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.diff-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.diff-highlight {
    font-weight: 600;
    color: var(--primary-purple);
}

.diff-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.interface-comparison {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.old-way img,
.new-way img {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.mini-form {
    width: 120px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

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

.crossed-out {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

.chat-bubble {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-glow);
}

.platform-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.platform-image {
    max-width: 220px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.platform-image:hover {
    transform: scale(1.05);
}

.platform-icon {
    padding: 20px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.platform-icon.slack {
    background: #4A154B;
    color: white;
}

.platform-icon.whatsapp {
    background: #25D366;
    color: white;
}

.memory-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.memory-visual {
    position: relative;
    width: 200px;
    height: 200px;
}

.memory-node {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    position: absolute;
    box-shadow: var(--shadow-glow);
}

.memory-node:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.memory-node:nth-child(2) {
    bottom: 20px;
    left: 0;
}

.memory-node:nth-child(3) {
    bottom: 20px;
    right: 0;
}

.memory-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, var(--primary-purple) 50%, transparent 60%);
    opacity: 0.2;
}

/* Not Chatbot */
.not-chatbot {
    background: var(--dark-900);
    color: white;
}

.callout-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.callout-box h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.callout-description {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

.callout-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
}

.callout-statement {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.callout-tagline {
    font-size: 24px;
    padding: 32px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    line-height: 1.6;
}

/* Who It's For */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.audience-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.audience-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.audience-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.audience-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.audience-statement {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision */
.vision {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.vision-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.vision .container {
    position: relative;
    z-index: 1;
}

.vision-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.vision-text {
    font-size: 24px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.vision-statement {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: var(--bg-secondary);
}

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

.cta-box h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    font-size: 16px;
}

.beta-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

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

.button-large {
    padding: 20px 48px;
    font-size: 18px;
}

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

.email-link {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-900);
    color: white;
    padding: 60px 0;
}

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

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-info a {
    color: var(--accent-teal);
    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.cta-button) {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hero-main-image {
        max-width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

    .step-icon {
        height: 60px;
    }

    .step-icon img {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        height: 50px;
    }

    .feature-icon img {
        width: 50px;
        height: 50px;
    }

    .differentiator,
    .differentiator.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .old-way img,
    .new-way img {
        max-width: 180px;
    }

    .platform-image {
        max-width: 150px;
    }

    .memory-image {
        max-width: 200px;
    }

    .audience-icon {
        height: 60px;
    }

    .audience-icon img {
        width: 60px;
        height: 60px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-purple);
    color: white;
}