/* ============================================
   AI Readiness Blueprint - Premium Dark Theme
   Inspired by Linear, Vercel, Framer
   ============================================ */

/* CSS Variables */
:root {
    /* Dark theme colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-elevated: #18181b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --bg-card-hover: rgba(39, 39, 42, 0.6);
    
    /* Text colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Accent - Cyan (Masculine) */
    --accent: #00d4ff;
    --accent-light: #33ddff;
    --accent-glow: rgba(0, 212, 255, 0.5);
    --accent-soft: rgba(0, 212, 255, 0.1);
    
    /* Success */
    --success: #22c55e;
    --success-glow: rgba(34, 197, 94, 0.5);
    
    /* Error */
    --error: #ef4444;
    
    /* Borders */
    --border: rgba(63, 63, 70, 0.5);
    --border-light: rgba(63, 63, 70, 0.3);
    
    /* Gradient - Cyan only */
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #33ddff 50%, #99eeff 100%);
    --gradient-accent: linear-gradient(135deg, #00b8e6 0%, #00d4ff 100%);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px var(--accent-glow);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -200px;
    left: -100px;
    background: rgba(0, 212, 255, 0.12);
    animation: float 20s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -200px;
    right: -100px;
    background: rgba(0, 180, 230, 0.08);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section {
    padding: 120px 0;
    position: relative;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(0, 212, 255, 0.2);
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 80px rgba(0, 212, 255, 0.3);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.125rem;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

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

.full-width {
    width: 100%;
}

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

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle em {
    font-style: normal;
    color: var(--text-primary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

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

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.problem-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.problem-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
}

.problem-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--error);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution {
    background: var(--bg-primary);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text {
    max-width: 500px;
}

.solution-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.solution-body {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Blueprint Mockup */
.blueprint-mockup {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-content {
    padding: 24px;
}

.mockup-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.mockup-line {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    margin-bottom: 8px;
}

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

.mockup-section {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.mockup-icon {
    font-size: 1.25rem;
}

.mockup-lines {
    flex: 1;
}

.mockup-lines .mockup-line {
    margin-bottom: 6px;
}

.mockup-lines .mockup-line.short {
    width: 70%;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    background: var(--bg-secondary);
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.benefits-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: var(--bg-primary);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    max-width: 280px;
    padding: 2rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
    margin-top: 4rem;
    flex-shrink: 0;
}

/* ============================================
   WHO THIS IS FOR SECTION
   ============================================ */
.who-for {
    background: var(--bg-secondary);
}

.who-for-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.who-for-column h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.check-list, .x-list {
    list-style: none;
}

.check-list li, .x-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1rem;
}

.check-list li:last-child, .x-list li:last-child {
    border-bottom: none;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.x-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.not-for-you h2 {
    color: var(--text-muted);
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-proof {
    padding: 60px 0;
    background: var(--bg-primary);
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.proof-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.proof-industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.industry-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--bg-secondary);
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: transform 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    stroke: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.final-cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.final-cta-note {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.final-cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.3;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

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

.powered-by {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.powered-by strong {
    color: var(--text-primary);
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.copyright a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--accent);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content > div > p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: var(--error);
}

.form-group .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-note svg {
    stroke: var(--text-muted);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--success);
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.success-note {
    font-size: 0.875rem;
    color: var(--text-muted) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solution-visual {
        order: -1;
    }
    
    .blueprint-mockup {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 80px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 0;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
    }
    
    .who-for-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .final-cta {
        padding: 100px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 16px 32px;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .proof-industries {
        gap: 0.5rem;
    }
    
    .industry-tag {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }
}

/* Prevent scroll when modal open */
body.modal-open {
    overflow: hidden;
}
