/* ================================================
   OKCRM · Apple Style Marketing Site
   Design System: Refined Minimalism
   ================================================ */

:root {
    /* Color - Apple-inspired neutral palette */
    --color-bg: #fbfbfd;
    --color-bg-alt: #ffffff;
    --color-bg-elevated: #ffffff;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-text-tertiary: #86868b;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-strong: rgba(0, 0, 0, 0.12);

    /* Accent - Apple system blue variant refined */
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-accent-dark: #0077ed;
    --color-accent-light: rgba(0, 113, 227, 0.12);

    /* Semantic */
    --color-success: #30d158;
    --color-success-light: rgba(48, 209, 88, 0.12);
    --color-warning: #ff9f0a;
    --color-warning-light: rgba(255, 159, 10, 0.12);
    --color-danger: #ff3b30;
    --color-danger-light: rgba(255, 59, 48, 0.12);

    /* Gradients — restrained, only for brand accents */
    --grad-text: linear-gradient(135deg, #0a84ff 0%, #5856d6 100%);
    --grad-hero: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10, 132, 255, 0.06) 0%, transparent 70%);

    /* Typography */
    --font-display: 'Noto Serif SC', 'PingFang SC', 'Hiragino Sans GB', serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;

    /* Spacing scale (Apple-like 8px base) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadow — subtle, never punchy */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.09), 0 8px 16px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.07);

    /* Motion */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-entrance: cubic-bezier(0, 0, 0.2, 1);
    --ease-exit: cubic-bezier(0.4, 0, 1, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 450ms;
    --duration-slower: 700ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Layout */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-pad { padding: var(--space-10) 0; }
.section-pad-sm { padding: var(--space-8) 0; }

/* Typography */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-9);
}

.section-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-5);
}

.section-subtitle {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    transition: all var(--duration-base) var(--ease-standard);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -8px rgba(10, 132, 255, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    padding: 10px 16px;
}
.btn-ghost:hover {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.04);
}

.btn-large {
    font-size: 17px;
    padding: 16px 30px;
}

.btn-block { width: 100%; }

.btn-arrow {
    width: 18px; height: 18px;
    transition: transform var(--duration-base) var(--ease-standard);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-standard);
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
    background: rgba(251, 251, 253, 0.88);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    transition: opacity var(--duration-fast) var(--ease-standard);
}
.nav-logo:hover { opacity: 0.85; }

.logo-mark {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-standard);
}
.logo-mark svg { width: 100%; height: 100%; }
.nav-logo:hover .logo-mark {
    transform: scale(1.04);
}

.logo-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-7);
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-standard);
}
.nav-links a:hover { color: var(--color-text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    width: 20px; height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-standard);
}

/* Hero */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: var(--space-8);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
}

.hero-orbs { display: none; }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-7);
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-8);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

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

/* Hero Product Mockup */
.hero-product {
    position: relative;
    z-index: 2;
}

.product-mockup {
    max-width: 1120px;
    margin: 0 auto;
}

.mockup-window {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl),
                0 0 0 1px var(--color-border-strong);
    overflow: hidden;
    animation: mockupFloat 8s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mockup-header {
    height: 44px;
    background: #f5f5f7;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 var(--space-5);
    gap: var(--space-5);
}

.mockup-dots { display: flex; gap: 8px; }
.mockup-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #d8d8dd;
}
.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-tertiary);
}

.mockup-body { padding: 0; background: #fbfbfd; }

/* Dashboard UI inside mockup */
.dashboard {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 520px;
}

.dash-sidebar {
    background: #f5f5f7;
    border-right: 1px solid var(--color-border);
    padding: var(--space-5) var(--space-4);
}

.dash-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    padding: 4px var(--space-3) var(--space-6);
}

.dash-menu { display: flex; flex-direction: column; gap: 2px; }

.dash-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px var(--space-3);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-standard);
    cursor: pointer;
}
.dash-menu-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text);
}
.dash-menu-item.active {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.dash-icon {
    width: 18px; height: 18px;
    border-radius: 4px;
    background: currentColor;
    opacity: 0.7;
    position: relative;
    flex-shrink: 0;
}
.dash-icon-home {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dash-icon-users {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dash-icon-chart {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dash-icon-calendar {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dash-icon-bolt {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.menu-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: var(--color-danger);
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.dash-main { padding: var(--space-6); }

.dash-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.dash-greeting {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.dash-sub { font-size: 13px; color: var(--color-text-tertiary); }

.dash-search {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 var(--space-4);
    min-width: 280px;
    height: 40px;
}
.search-icon {
    width: 16px; height: 16px;
    background: var(--color-text-tertiary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}
.dash-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-family: inherit;
    color: var(--color-text);
}
.dash-search input::placeholder { color: var(--color-text-tertiary); }

.dash-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.dash-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    transition: all var(--duration-base) var(--ease-standard);
}
.dash-card:hover { box-shadow: var(--shadow-md); }

.card-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-bottom: 6px;
    font-weight: 500;
}
.card-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.card-value-up { color: var(--color-text); }
.card-value-warn { color: var(--color-warning); }

.card-trend {
    font-size: 12px;
    font-weight: 500;
}
.card-trend.up { color: var(--color-success); }
.card-trend.down { color: var(--color-danger); }

.dash-bottom {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-5);
}

.dash-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
}
.panel-title {
    font-size: 15px;
    font-weight: 600;
}
.panel-sub, .panel-link {
    font-size: 12px;
    color: var(--color-text-tertiary);
}
.panel-link { color: var(--color-accent); cursor: pointer; }

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

.funnel-stage {
    height: 34px;
    background: var(--color-accent-light);
    border-radius: var(--radius-xs);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 var(--space-4);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    transition: width var(--duration-slow) var(--ease-entrance);
}
.funnel-stage-final {
    background: var(--color-accent);
    color: #fff;
}

.activity-list { display: flex; flex-direction: column; gap: var(--space-4); }

.activity-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.activity-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, #0a84ff, #5856d6); }
.avatar-2 { background: #30a46c; }
.avatar-3 { background: #d97706; }

.activity-title {
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 2px;
}
.activity-title strong { font-weight: 600; }
.activity-time {
    font-size: 11px;
    color: var(--color-text-tertiary);
}

/* Trusted by Section */
.trusted {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-tertiary);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-6);
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-9);
    flex-wrap: wrap;
    opacity: 0.7;
}

.trusted-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: -0.01em;
    transition: opacity var(--duration-base);
}
.trusted-logo:hover { opacity: 1; color: var(--color-text); }

/* Features Section */
.features { background: var(--color-bg-alt); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    transition: all var(--duration-base) var(--ease-standard);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    opacity: 0;
    transition: opacity var(--duration-base);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 0, 0, 0.1);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-5);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon-1 { background: rgba(10, 132, 255, 0.09);  color: var(--color-accent); }
.feature-icon-2 { background: rgba(88, 86, 214, 0.10);  color: #5856d6; }
.feature-icon-3 { background: rgba(48, 164, 108, 0.10); color: #30a46c; }
.feature-icon-4 { background: rgba(217, 119, 6, 0.10);  color: #d97706; }
.feature-icon-5 { background: rgba(220, 38, 38, 0.10);  color: #dc2626; }
.feature-icon-6 { background: rgba(107, 114, 128, 0.10); color: #6b7280; }

.feature-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-3);
}

.feature-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Showcase Section */
.showcase { background: var(--color-bg); }

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-9);
    align-items: center;
    margin-bottom: var(--space-10);
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row-reverse {
    grid-template-columns: 1.1fr 1fr;
}
.showcase-row-reverse .showcase-text { order: 2; }
.showcase-row-reverse .showcase-visual { order: 1; }

.showcase-text .section-eyebrow { margin-bottom: var(--space-4); display: block; }

.showcase-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}

.showcase-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.showcase-list { display: flex; flex-direction: column; gap: var(--space-4); }

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

.check-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--color-success-light);
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}
.check-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -65%) rotate(-45deg);
}

/* Showcase Visual Cards */
.showcase-visual { position: relative; }

.visual-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg),
                0 0 0 1px var(--color-border-strong);
    padding: var(--space-6);
}

.visual-card-1 { animation: visualFloat 7s ease-in-out infinite; }
.visual-card-2 { animation: visualFloat 9s ease-in-out infinite -2s; }

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

.vc-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-5);
}

.vc-avatar {
    width: 54px; height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #0a84ff, #5856d6);
    flex-shrink: 0;
}
.vc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vc-avatar-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 600; font-size: 20px;
}

.vc-info { flex: 1; min-width: 0; }
.vc-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vc-role { font-size: 13px; color: var(--color-text-tertiary); }

.vc-tag {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.vc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.vc-stat { text-align: center; }
.vcs-num {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.vcs-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.vc-timeline { position: relative; padding-left: 24px; }
.vc-timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--color-border);
}

.tl-item {
    position: relative;
    padding-bottom: var(--space-5);
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
    position: absolute;
    left: -21px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-light);
}
.tl-dot-last {
    border-color: var(--color-text-tertiary);
    box-shadow: none;
    background: var(--color-border);
}

.tl-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}
.tl-time {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* Visual Card 2 - Chart */
.chart-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
}
.chart-title {
    font-size: 17px;
    font-weight: 600;
}
.chart-legend {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--color-text-tertiary);
}
.legend-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}
.legend-1 { background: #c7c7cc; }
.legend-2 { background: var(--color-accent); }

.chart-svg {
    width: 100%;
    height: 200px;
    display: block;
    margin-bottom: var(--space-4);
}

.chart-xaxis {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    font-size: 12px;
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-6);
}

.chart-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}

.kpi-box {
    text-align: center;
    padding: var(--space-4);
    background: var(--color-bg);
    border-radius: var(--radius-md);
}
.kpi-green .kpi-val { color: var(--color-success); }
.kpi-blue .kpi-val { color: var(--color-accent); }
.kpi-val {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}
.kpi-label {
    font-size: 11px;
    color: var(--color-text-tertiary);
}

/* Customers / Testimonials */
.customers { background: var(--color-bg-alt); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.testimonial-card {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    transition: all var(--duration-base) var(--ease-standard);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 68px;
    line-height: 1;
    color: var(--color-accent-light);
    position: absolute;
    top: 28px; left: 28px;
    user-select: none;
    font-weight: 700;
}

.testimonial-text {
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-6);
    padding-top: var(--space-4);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
}
.author-1 { background: linear-gradient(135deg, #0a84ff, #5856d6); }
.author-2 { background: #5856d6; }
.author-3 { background: #30a46c; }

.author-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.author-role {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* Pricing Section */
.pricing { background: var(--color-bg); }

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    transition: color var(--duration-base);
}
.toggle-label.toggle-label-active { color: var(--color-text); }
.toggle-save {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-success);
    background: var(--color-success-light);
    border-radius: var(--radius-full);
}

.toggle-switch {
    width: 52px; height: 30px;
    background: #e5e5ea;
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    transition: background var(--duration-base);
    padding: 3px;
}
.toggle-switch.active { background: var(--color-accent); }

.toggle-knob {
    width: 24px; height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform var(--duration-base) var(--ease-standard);
}
.toggle-switch.active .toggle-knob { transform: translateX(22px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-7) var(--space-6);
    transition: all var(--duration-base) var(--ease-standard);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }

.pricing-card-popular {
    border-color: rgba(10, 132, 255, 0.28);
    transform: translateY(-8px);
}
.pricing-card-popular:hover {
    box-shadow: var(--shadow-card-hover);
}

.popular-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin-bottom: var(--space-4);
}

.price-currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    transition: all var(--duration-base);
}

.price-unit {
    font-size: 14px;
    color: var(--color-text-tertiary);
    margin-bottom: 10px;
    margin-left: 4px;
}

.price-custom {
    font-size: 40px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-7);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

.pf-check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--color-success-light);
    color: var(--color-success);
    position: relative;
    flex-shrink: 0;
}
.pf-check::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 9px; height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -65%) rotate(-45deg);
}
.pf-check-muted {
    background: var(--color-border);
    color: var(--color-text-tertiary);
}
.pf-check-muted::after {
    width: 9px; height: 0;
    border-left: 0;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -50%);
}

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

.cta-card {
    position: relative;
    background: #1d1d1f;
    border-radius: 40px;
    padding: var(--space-10) var(--space-8);
    text-align: center;
    overflow: hidden;
}

.cta-gradients { display: none; }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: var(--space-5);
}

.cta-desc {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: var(--space-8);
}

.cta-form {
    display: flex;
    gap: var(--space-3);
    max-width: 540px;
    margin: 0 auto var(--space-5);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 6px;
}

.cta-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 var(--space-5);
    font-size: 16px;
    font-family: inherit;
    color: #fff;
    min-width: 0;
}
.cta-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.cta-footnote {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.check-svg {
    width: 16px; height: 16px;
    color: var(--color-success);
}

/* Footer */
.footer {
    background: #f5f5f7;
    padding: var(--space-9) 0 var(--space-7);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--space-7);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-6);
}

.footer-logo { color: var(--color-text); margin-bottom: var(--space-4); }

.footer-slogan {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-tertiary);
    transition: color var(--duration-fast);
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.social-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--duration-base);
}
.social-icon:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}
.social-icon svg { width: 18px; height: 18px; }

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-slower) var(--ease-entrance),
                transform var(--duration-slower) var(--ease-entrance);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid,
    .testimonial-grid,
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card-popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .showcase-row,
    .showcase-row-reverse {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }
    .showcase-row-reverse .showcase-text { order: 1; }
    .showcase-row-reverse .showcase-visual { order: 2; }
    .dashboard { grid-template-columns: 180px 1fr; }
    .dash-cards { grid-template-columns: repeat(2, 1fr); }
    .dash-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --space-10: 80px;
        --space-9: 64px;
    }
    .section-container { padding: 0 var(--space-5); }
    .nav-links, .nav-actions .btn-ghost { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding-top: 110px; }
    .hero-title { font-size: clamp(36px, 9vw, 52px); }
    .hero-stats { gap: var(--space-6); }
    .stat-divider { display: none; }
    .features-grid,
    .testimonial-grid,
    .pricing-grid { grid-template-columns: 1fr; }
    .dashboard { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .dash-cards { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .dash-card { padding: var(--space-4); }
    .card-value { font-size: 20px; }
    .cta-card { padding: var(--space-8) var(--space-5); border-radius: var(--radius-xl); }
    .cta-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: var(--space-3);
    }
    .cta-input {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-full);
        padding: 16px var(--space-5);
    }
    .cta-form .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trusted-logos { gap: var(--space-5); }
    .vc-stats-row,
    .chart-kpi-row { gap: var(--space-3); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
    .dash-cards { grid-template-columns: 1fr; }
    .pricing-price { flex-wrap: wrap; }
    .price-amount { font-size: 44px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-pad { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
