/* ARIS AI - Landing Page Styles
   Color palette from brand image:
   - BG: #0D1117 (dark navy)
   - BG secondary: #161B22
   - Primary: #5391cd (steel blue)
   - Text: #FFFFFF */

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

:root {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-card: #1C2128;
    --bg-card-hover: #21262d;
    --primary: #5391cd;
    --primary-light: #6fa8e0;
    --primary-dark: #3a6fa0;
    --accent: #6fa8e0;
    --text-primary: #FFFFFF;
    --text-secondary: #b0b8c2;
    --text-muted: #8b949e;
    --border: #30363d;
    --glow: rgba(83, 145, 205, 0.15);
    --glow-strong: rgba(83, 145, 205, 0.3);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --nav-height: 72px;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Hero background image at 80% transparency (0.2 opacity) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* ===== Particle Canvas ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Utilities ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(83, 145, 205, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(83, 145, 205, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(83, 145, 205, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    z-index: 1000;
    transition: all var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(83, 145, 205, 0.2));
    transition: filter var(--transition);
}

.nav-logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(83, 145, 205, 0.4));
}

.logo-mark {
    font-size: 1.5rem;
    color: var(--primary);
}

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

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

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.nav-cta {
    padding: 10px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Logo - ARIS AI web logo video */
.hero-logo {
    width: 100%;
    max-width: none;
    margin: 8px 0 16px;
    display: block;
    border-radius: 16px;
    /* Soft vignette so the video blends into the hero background */
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 98%);
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 98%);
    filter: drop-shadow(0 0 40px rgba(83, 145, 205, 0.25));
}

.hero-logo:hover {
    filter: drop-shadow(0 0 30px rgba(83, 145, 205, 0.3));
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glow);
    border: 1px solid rgba(83, 145, 205, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

/* First headline line scales via JS to match the hero video width */
.title-fit {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.1;
}

.text-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(83, 145, 205, 0.3));
}

.hero-subtitle {
    display: block;
    font-size: 0.5em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 4px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual - Concentric Fractal Animation */
.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}

.fractal-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.fractal-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, var(--glow-strong) 0%, rgba(0,188,212,0.08) 40%, transparent 70%);
    animation: fractalPulse 5s ease-in-out infinite;
    border-radius: 50%;
}

/* Base ring — all concentric from center */
.fractal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(83, 145, 205, 0.2);
    transform-origin: center center;
}

/* Ring segments — partial arcs inside each ring */
.ring-segment {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid transparent;
}

/* === Layer 1: Outermost (r=160px, d=320px) === */
.fr-1 {
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
    border-style: solid;
    border-color: rgba(83, 145, 205, 0.12);
    animation: fractalSpin 30s linear infinite;
}
.fr-1 .seg-a {
    border-top-color: rgba(83, 145, 205, 0.35);
    border-right-color: rgba(83, 145, 205, 0.15);
    border-width: 2px;
}
.fr-1 .seg-b {
    border-bottom-color: rgba(111, 168, 224, 0.2);
    border-width: 1.5px;
    animation: fractalSpin 45s linear infinite reverse;
}
.fr-1 .seg-c {
    border-left-color: rgba(58, 111, 160, 0.15);
    border-width: 1px;
    animation: fractalSpin 60s linear infinite;
}

/* === Layer 2 (r=130px, d=260px) === */
.fr-2 {
    width: 260px;
    height: 260px;
    margin-top: -130px;
    margin-left: -130px;
    border-style: dashed;
    border-color: rgba(111, 168, 224, 0.1);
    animation: fractalSpin 22s linear infinite reverse;
}
.fr-2 .seg-a {
    border-top-color: rgba(111, 168, 224, 0.4);
    border-width: 2px;
}
.fr-2 .seg-b {
    border-right-color: rgba(83, 145, 205, 0.25);
    border-width: 1.5px;
    animation: fractalSpin 35s linear infinite;
}
.fr-2 .seg-c {
    border-bottom-color: rgba(58, 111, 160, 0.2);
    border-left-color: rgba(58, 111, 160, 0.1);
    border-width: 1px;
    animation: fractalSpin 50s linear infinite reverse;
}
.fr-2 .seg-d {
    inset: 4px;
    border-top-color: rgba(83, 145, 205, 0.12);
    border-right-color: rgba(83, 145, 205, 0.08);
    border-width: 1px;
    animation: fractalSpin 28s linear infinite;
}

/* === Layer 3 (r=100px, d=200px) === */
.fr-3 {
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    border-style: solid;
    border-color: rgba(58, 111, 160, 0.12);
    animation: fractalSpin 16s linear infinite;
}
.fr-3 .seg-a {
    border-top-color: rgba(58, 111, 160, 0.45);
    border-right-color: rgba(83, 145, 205, 0.2);
    border-width: 2.5px;
}
.fr-3 .seg-b {
    border-bottom-color: rgba(111, 168, 224, 0.3);
    border-width: 2px;
    animation: fractalSpin 25s linear infinite reverse;
}
.fr-3 .seg-c {
    inset: 3px;
    border-left-color: rgba(83, 145, 205, 0.15);
    border-top-color: rgba(83, 145, 205, 0.08);
    border-width: 1px;
    animation: fractalSpin 40s linear infinite;
}

/* === Layer 4 (r=75px, d=150px) === */
.fr-4 {
    width: 150px;
    height: 150px;
    margin-top: -75px;
    margin-left: -75px;
    border-style: dotted;
    border-color: rgba(83, 145, 205, 0.1);
    animation: fractalSpin 12s linear infinite reverse;
}
.fr-4 .seg-a {
    border-top-color: rgba(83, 145, 205, 0.5);
    border-right-color: rgba(111, 168, 224, 0.25);
    border-width: 2.5px;
    border-style: solid;
}
.fr-4 .seg-b {
    border-bottom-color: rgba(58, 111, 160, 0.3);
    border-left-color: rgba(58, 111, 160, 0.15);
    border-width: 2px;
    border-style: solid;
    animation: fractalSpin 18s linear infinite;
}

/* === Layer 5 (r=52px, d=104px) === */
.fr-5 {
    width: 104px;
    height: 104px;
    margin-top: -52px;
    margin-left: -52px;
    border-style: solid;
    border-color: rgba(111, 168, 224, 0.15);
    animation: fractalSpin 9s linear infinite;
}
.fr-5 .seg-a {
    border-top-color: rgba(58, 111, 160, 0.55);
    border-width: 3px;
}
.fr-5 .seg-b {
    border-right-color: rgba(83, 145, 205, 0.35);
    border-bottom-color: rgba(83, 145, 205, 0.15);
    border-width: 2px;
    animation: fractalSpin 14s linear infinite reverse;
}
.fr-5 .seg-c {
    inset: 2px;
    border-left-color: rgba(111, 168, 224, 0.2);
    border-width: 1.5px;
    animation: fractalSpin 20s linear infinite;
}

/* === Layer 6 (r=34px, d=68px) === */
.fr-6 {
    width: 68px;
    height: 68px;
    margin-top: -34px;
    margin-left: -34px;
    border-style: solid;
    border-color: rgba(83, 145, 205, 0.2);
    animation: fractalSpin 6s linear infinite reverse;
}
.fr-6 .seg-a {
    border-top-color: rgba(83, 145, 205, 0.6);
    border-right-color: rgba(58, 111, 160, 0.3);
    border-width: 3px;
}
.fr-6 .seg-b {
    border-bottom-color: rgba(111, 168, 224, 0.4);
    border-width: 2px;
    animation: fractalSpin 10s linear infinite;
}

/* === Layer 7: Innermost (r=20px, d=40px) === */
.fr-7 {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-style: solid;
    border-color: rgba(58, 111, 160, 0.25);
    animation: fractalSpin 4s linear infinite;
}
.fr-7 .seg-a {
    border-top-color: rgba(58, 111, 160, 0.7);
    border-right-color: rgba(83, 145, 205, 0.5);
    border-bottom-color: rgba(111, 168, 224, 0.3);
    border-width: 3px;
}

/* Core energy point */
.fractal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
    border-radius: 50%;
    background: #E53935;
    box-shadow:
        0 0 8px #E53935,
        0 0 20px rgba(229, 57, 53, 0.5),
        0 0 40px rgba(229, 57, 53, 0.25),
        0 0 60px rgba(229, 57, 53, 0.1);
    animation: corePulse 3s ease-in-out infinite;
}

/* Fractal Animations */
@keyframes fractalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fractalPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--glow);
    border: 1px solid rgba(83, 145, 205, 0.2);
    border-radius: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Capabilities ===== */
.capabilities {
    padding: 120px 0;
}

/* ARIS desktop demo video under the section header */
.capabilities-video {
    display: block;
    width: 100%;
    max-width: 880px;
    margin: 40px auto 56px;
    border-radius: 16px;
    /* Soft vignette to blend into the dark background, matching the hero video */
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 98%);
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, #000 55%, transparent 98%);
    filter: drop-shadow(0 0 40px rgba(83, 145, 205, 0.25));
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.capability-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(83, 145, 205, 0.3);
    transform: translateY(-4px);
}

.capability-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.capability-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.steps {
    display: grid;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ===== Pricing ===== */
.pricing {
    padding: 120px 0;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(83, 145, 205, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(83, 145, 205, 0.1);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

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

.pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--glow);
}

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

.form-full {
    grid-column: 1 / -1;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b8c2' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 12L1 6.5h11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Contact Direct */
.contact-direct {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-direct h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.contact-direct p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.phone-link,
.email-link {
    color: var(--primary);
    font-family: var(--font-mono);
    margin-bottom: 16px;
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.phone-link:hover,
.email-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(83, 145, 205, 0.15));
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Nav Social Icons ===== */
.nav-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.nav-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.nav-social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--glow);
}

/* ===== Social Proof Bar ===== */
.social-proof-bar {
    padding: 24px 0;
    border-top: 1px solid rgba(48, 54, 61, 0.3);
    border-bottom: 1px solid rgba(48, 54, 61, 0.3);
    background: rgba(22, 27, 34, 0.5);
    position: relative;
    z-index: 1;
}

.social-proof-bar p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.about-badge:hover {
    border-color: rgba(83, 145, 205, 0.3);
}

.about-badge-icon {
    font-size: 1.5rem;
}

.about-badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Steps fade in 3x slower, from 65% up to 85%, and hold there */
.step.fade-in {
    transition: all 1.8s ease-out;
    opacity: 0.65;
}

.step.fade-in.visible {
    opacity: 0.85;
}

/* Pricing cards: slow fade from 65% up to 85%, and hold there (matches steps) */
.pricing-card.fade-in {
    transition: all 1.8s ease-out;
    opacity: 0.65;
}

.pricing-card.fade-in.visible {
    opacity: 0.85;
}

/* FAQ items: slow fade from 65% up to 85%, and hold there (matches steps) */
.faq-item.fade-in {
    transition: all 1.8s ease-out;
    opacity: 0.65;
}

.faq-item.fade-in.visible {
    opacity: 0.85;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 60px);
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .fractal-container {
        width: 220px;
        height: 220px;
    }
    .fr-1 { width: 220px; height: 220px; margin-top: -110px; margin-left: -110px; }
    .fr-2 { width: 180px; height: 180px; margin-top: -90px; margin-left: -90px; }
    .fr-3 { width: 140px; height: 140px; margin-top: -70px; margin-left: -70px; }
    .fr-4 { width: 104px; height: 104px; margin-top: -52px; margin-left: -52px; }
    .fr-5 { width: 72px; height: 72px; margin-top: -36px; margin-left: -36px; }
    .fr-6 { width: 46px; height: 46px; margin-top: -23px; margin-left: -23px; }
    .fr-7 { width: 28px; height: 28px; margin-top: -14px; margin-left: -14px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-visual {
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Loading animation for navbar */
.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: var(--nav-height);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

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

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