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

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --accent: #7C3AED;
    --accent-light: #8B5CF6;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFF;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 24px rgba(37,99,235,0.06);
    --shadow-lg: 0 12px 48px rgba(37,99,235,0.10);
    --shadow-xl: 0 24px 64px rgba(15,23,42,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-alt);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn-glass {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.3), transparent 70%);
    top: -100px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 70%);
    bottom: -80px;
    right: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.08); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    padding: 0 32px;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
}

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(37,99,235,0); }
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

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

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

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

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ===== Sections ===== */
.section {
    padding: 120px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-alt);
    max-width: 100%;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-alt > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37,99,235,0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Architecture Cards ===== */
.arch-container {
    position: relative;
}

.arch-cards {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.arch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,99,235,0.2);
}

.arch-card-center {
    background: var(--gradient-soft);
    border: 2px solid rgba(37,99,235,0.15);
}

.arch-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.arch-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: transform var(--transition);
}

.arch-card:hover .arch-icon {
    transform: scale(1.1) rotate(-5deg);
}

.arch-icon svg {
    width: 32px;
    height: 32px;
}

.arch-icon-1 {
    background: rgba(37,99,235,0.1);
    color: var(--primary);
}

.arch-icon-2 {
    background: rgba(124,58,237,0.1);
    color: var(--accent);
}

.arch-icon-3 {
    background: rgba(59,130,246,0.1);
    color: var(--primary-light);
}

.arch-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.arch-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.arch-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arch-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: rgba(37,99,235,0.1);
    position: relative;
    margin-top: 2px;
}

.check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 5px;
    height: 8px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.arch-connections {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 0;
}

.conn-line {
    position: absolute;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
    overflow: hidden;
}

.conn-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: connFlow 3s ease-in-out infinite;
}

@keyframes connFlow {
    0% { transform: translateX(-60px); }
    100% { transform: translateX(calc(100vw)); }
}

.conn-1 {
    left: 25%;
    width: 25%;
}

.conn-2 {
    left: 60%;
    width: 25%;
    animation-delay: -1.5s;
}

/* ===== Capabilities Grid ===== */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.cap-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}

.cap-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gradient-soft);
    color: var(--primary);
    margin-bottom: 16px;
    transition: all var(--transition);
}

.cap-card:hover .cap-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.05);
}

.cap-icon svg {
    width: 26px;
    height: 26px;
}

.cap-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* ===== Workflow Timeline ===== */
.workflow-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 60px;
}

.workflow-line {
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), rgba(124,58,237,0.1));
}

.workflow-step {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.workflow-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    transition: all var(--transition);
    z-index: 1;
}

.workflow-step:hover .step-marker {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.step-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Intelligence Showcase ===== */
.intelligence-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.intel-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.intel-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.intel-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,0.2);
}

.intel-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 36px;
    line-height: 1;
}

.intel-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

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

.intel-right {
    opacity: 0;
    transform: translateY(20px);
}

.intel-right.revealed {
    opacity: 1;
    transform: translateY(0);
}

.org-chart {
    background: var(--gradient-soft);
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.org-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.org-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.org-avatar.org-dev { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.org-avatar.org-mkt { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.org-avatar.org-fin { background: linear-gradient(135deg, #059669, #10B981); }

.org-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.org-role {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.org-ceo .org-avatar {
    width: 64px;
    height: 64px;
    font-size: 0.875rem;
}

.org-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary), rgba(37,99,235,0.2));
    margin: 16px auto;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.org-pulse {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.6);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-active {
    background: #10B981;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== Organization Growth Stages ===== */
.growth-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.growth-stage {
    position: relative;
}

.stage-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    white-space: nowrap;
}

.stage-badge.stage-1 { background: #6366F1; }
.stage-badge.stage-2 { background: #3B82F6; }
.stage-badge.stage-3 { background: #7C3AED; }
.stage-badge.stage-4 { background: linear-gradient(135deg, #7C3AED, #A855F7); }

.stage-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.growth-stage.revealed .stage-card {
    animation: fadeInUp 0.6s ease forwards;
}

.stage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.1);
}

.stage-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.stage-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stage-label {
    font-weight: 400;
    color: var(--text-muted);
}

.stage-meta {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
    padding: 3px 12px;
    background: rgba(37,99,235,0.06);
    border-radius: 100px;
}

.stage-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.stage-features {
    list-style: none;
    text-align: left;
    width: 100%;
}

.stage-features li {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: relative;
    padding-left: 14px;
}

.stage-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}

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

.growth-note {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 16px 24px;
    background: rgba(37,99,235,0.04);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.growth-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

/* ===== Security Grid ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.security-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124,58,237,0.2);
}

.sec-shield {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-soft);
    color: var(--accent);
    transition: all var(--transition);
}

.security-card:hover .sec-shield {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.05);
}

.sec-shield svg {
    width: 32px;
    height: 32px;
}

.security-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

/* ===== Dashboard Preview ===== */
.dashboard-preview {
    max-width: 1100px;
    margin: 0 auto;
}

.dash-window {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dash-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.dash-title {
    margin-left: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-body {
    display: flex;
    min-height: 460px;
}

.dash-sidebar {
    width: 180px;
    padding: 16px 0;
    border-right: 1px solid var(--border-light);
    background: var(--bg-alt);
}

.dash-sidebar-item {
    padding: 10px 24px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.dash-sidebar-item:hover {
    background: rgba(37,99,235,0.04);
    color: var(--primary);
}

.dash-sidebar-item.active {
    background: rgba(37,99,235,0.08);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.dash-main {
    flex: 1;
    padding: 24px;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-metric {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--border-light);
}

.metric-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-trend {
    font-size: 0.6875rem;
    font-weight: 600;
}

.metric-trend.up { color: #10B981; }
.metric-trend.warn { color: #F59E0B; }

.dash-chart {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header > span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 3px;
    border: 1px solid var(--border-light);
}

.chart-tab {
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 5px;
    transition: all var(--transition);
    font-weight: 500;
}

.chart-tab.active {
    background: var(--primary);
    color: #fff;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 160px;
    gap: 8px;
    padding: 0 4px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    gap: 3px;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    position: relative;
}

.chart-bar {
    width: 40%;
    min-height: 4px;
    border-radius: 4px 4px 0 0;
    transition: all var(--transition);
    cursor: pointer;
    animation: barGrow 0.8s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.chart-bar.bar-primary {
    background: linear-gradient(to top, var(--primary), var(--primary-light));
}

.chart-bar.bar-accent {
    background: linear-gradient(to top, var(--accent), var(--accent-light));
}

.chart-bar:hover {
    filter: brightness(1.15);
}

.chart-bar-group::after {
    content: attr(data-label);
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-feed {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
}

.feed-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-tag {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.tag-green { background: rgba(16,185,129,0.1); color: #059669; }
.tag-blue { background: rgba(37,99,235,0.1); color: var(--primary); }
.tag-orange { background: rgba(245,158,11,0.1); color: #D97706; }

.feed-text {
    flex: 1;
    color: var(--text-secondary);
}

.feed-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 32px;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #5B21B6 50%, #6D28D9 100%);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: #0F172A;
    padding: 64px 32px 32px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .footer-desc {
    margin-top: 16px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    transition: color var(--transition);
    cursor: pointer;
}

.footer-col a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom span {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--text-primary);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease-out, toastOut 0.3s ease-out 2.7s forwards;
    max-width: 380px;
}

.toast::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
}

@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arch-cards {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    .arch-connections { display: none; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .intelligence-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .growth-stages {
        grid-template-columns: 1fr;
    }
    .stage-card {
        padding: 28px 20px 24px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 32px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }

    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 0.9375rem; }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .section { padding: 80px 20px; }
    .section-title { font-size: 1.75rem; }

    .cap-grid, .security-grid {
        grid-template-columns: 1fr;
    }

    .dash-sidebar { display: none; }
    .dash-metrics { grid-template-columns: repeat(2, 1fr); }
    .dash-main { padding: 16px; }

    .cta-content h2 { font-size: 1.75rem; }
    .cta-content p { font-size: 0.9375rem; }

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

    .toast-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
}
