/* ========================================
   DIGO Landing — Isometric Redesign
   ======================================== */

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

:root {
    --white: #ffffff;
    --black: #1d1d1f;
    --gray-50: #fafafa;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #a1a1a6;
    --gray-500: #86868b;
    --gray-600: #6e6e73;
    --gray-700: #424245;
    --gray-800: #2d2d2d;
    --gray-900: #1d1d1f;
    --blue: #34b3e4;
    --blue-hover: #2ba3d4;
    --blue-light: #e8f6fd;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}


/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 26px;
    width: auto;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: -0.01em;
}

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

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    background: var(--blue);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--blue-hover);
    color: var(--white);
}

.btn-nav-ghost {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: transparent;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
    border-radius: 980px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.btn-nav-ghost:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: rgba(0, 113, 227, 0.04);
}

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

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}


/* --- Hero --- */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--black);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #2563eb,
        #7c3aed,
        #ec4899,
        #f59e0b,
        #10b981,
        #2563eb
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--gray-500);
    font-weight: 400;
    line-height: 1.5;
    max-width: 680px;
    margin: 0 auto 36px;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 72px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-radius: 980px;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-hero:hover {
    background: var(--blue-hover);
    color: var(--white);
    transform: scale(1.02);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--blue);
    font-size: 16px;
    font-weight: 500;
    border-radius: 980px;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-hero-ghost:hover {
    color: var(--blue-hover);
}


/* --- Hero Dashboard Mockup --- */
.hero-visual {
    max-width: 960px;
    margin: 0 auto;
}

.hero-browser {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    background: white;
}

.hb-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f5f5f7;
    border-bottom: 1px solid #e8e8ed;
}

.hb-dots {
    display: flex;
    gap: 6px;
}

.hb-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hb-dots span:nth-child(1) { background: #ff5f57; }
.hb-dots span:nth-child(2) { background: #febc2e; }
.hb-dots span:nth-child(3) { background: #28c840; }

.hb-url {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
    padding: 4px 12px;
    background: white;
    border-radius: 6px;
    font-size: 11px;
    color: var(--gray-500);
    border: 1px solid #e8e8ed;
}

.hb-content {
    display: flex;
    min-height: 320px;
}

/* Sidebar */
.hb-sidebar {
    width: 52px;
    background: #1d1d1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    flex-shrink: 0;
}

.hb-sidebar-logo {
    margin-bottom: 20px;
}

.hb-nav-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.hb-nav-item {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    transition: var(--transition);
}

.hb-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.hb-nav-icon {
    font-size: 12px;
}

.hb-sidebar-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
}

/* Main area */
.hb-main {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.hb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: white;
    border-bottom: 1px solid #f0f0f5;
}

.hb-topbar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.hb-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-search {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f5f5f7;
    border-radius: 6px;
    font-size: 10px;
    color: var(--gray-400);
}

.hb-notif {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}

.hb-notif-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}

/* KPI Row */
.hb-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 14px 20px;
}

.hb-kpi {
    background: var(--kpi-bg);
    border-radius: 10px;
    padding: 12px 14px;
}

.hb-kpi-label {
    font-size: 9px;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 4px;
}

.hb-kpi-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--kpi-color);
    line-height: 1.1;
}

.hb-kpi-trend {
    font-size: 9px;
    font-weight: 600;
    margin-top: 2px;
}

.hb-kpi-trend.up { color: #22c55e; }
.hb-kpi-trend.down { color: #ef4444; }

/* Panels */
.hb-panels {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
    padding: 0 20px 16px;
    flex: 1;
}

.hb-chart-panel,
.hb-activity-panel {
    background: white;
    border-radius: 10px;
    border: 1px solid #f0f0f5;
    overflow: hidden;
}

.hb-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid #f5f5f7;
}

.hb-tabs {
    display: flex;
    gap: 2px;
    background: #f5f5f7;
    border-radius: 4px;
    padding: 2px;
}

.hb-tabs span {
    padding: 2px 8px;
    font-size: 8px;
    font-weight: 500;
    color: var(--gray-500);
    border-radius: 3px;
    cursor: pointer;
}

.hb-tabs span.active {
    background: white;
    color: var(--black);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.hb-chart {
    display: block;
    width: 100%;
    padding: 8px 14px 0;
}

.hb-chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 4px 14px 10px;
    font-size: 8px;
    color: var(--gray-400);
}

/* Activity */
.hb-activity {
    padding: 6px 0;
}

.hb-act-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 14px;
}

.hb-act-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
}

.hb-act-item strong {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
}

.hb-act-item small {
    font-size: 8px;
    color: var(--gray-400);
}

/* Floating Timer Widget */
.hero-browser {
    position: relative;
}

.hb-timer-float {
    position: absolute;
    bottom: -18px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    animation: iso-float 4s ease-in-out infinite;
    z-index: 2;
}

.hb-timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: iso-pulse 2s ease-in-out infinite;
}

.hb-timer-info {
    display: flex;
    flex-direction: column;
}

.hb-timer-project {
    font-size: 8px;
    color: var(--gray-500);
    font-weight: 500;
}

.hb-timer-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hb-timer-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f0f4ff;
    color: #0071e3;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hb-timer-float {
        right: 12px;
        bottom: -14px;
        padding: 6px 10px;
    }
    .hb-timer-time {
        font-size: 13px;
    }
}


/* --- Section --- */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--gray-50);
}

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

.section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-desc-left {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 32px;
}


/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.feature-icon-iso {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

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

.feature-card:hover .feature-icon-iso svg {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}


/* --- Split Content --- */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 14px;
    font-weight: 600;
}

.feature-list strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.feature-list p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}


/* --- Isometric Illustrations --- */
.split-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-illustration {
    width: 100%;
    max-width: 460px;
    height: auto;
}

.iso-illustration.iso-wide {
    max-width: 100%;
}

.workspace-visual {
    max-width: 720px;
    margin: 0 auto;
}


/* --- Portal Features --- */
.portal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.portal-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0,113,227,0.04);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.portal-feature:hover {
    background: rgba(0,113,227,0.08);
}

.pf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(0,113,227,0.08);
    color: var(--blue);
}


/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.team-card-iso {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.team-card-iso svg {
    width: 100%;
    height: 100%;
}

.team-card h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}


/* --- AI Section --- */
.section-ai {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 120px 0;
    color: var(--white);
}

.section-ai .section-label {
    color: rgba(255,255,255,0.6);
}

.section-ai .section-title {
    color: var(--white);
}

.section-ai .section-desc {
    color: rgba(255,255,255,0.7);
}

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

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

.ai-visual .iso-illustration {
    max-width: 400px;
}

/* AI Before/After */
.ai-before-after {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ai-panel {
    flex: 1;
}

.ai-panel-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}

.ai-panel-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.ai-panel-card-active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.ai-panel-header {
    display: flex;
    gap: 5px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
}

.ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.ai-panel-body {
    padding: 18px 16px;
}

/* Before panel: empty state */
.ai-empty-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 10px;
}

.ai-empty-line.w60 { width: 60%; }
.ai-empty-line.w40 { width: 40%; }
.ai-empty-line.w20 { width: 20%; }

.ai-cursor-empty {
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    font-weight: 300;
    margin: 16px 0 12px;
    animation: iso-cursor-blink 1s step-end infinite;
}

.ai-empty-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-style: italic;
}

/* After panel: generated content */
.ai-gen-title {
    height: 10px;
    width: 70%;
    border-radius: 5px;
    background: rgba(255,255,255,0.35);
    margin-bottom: 14px;
}

.ai-gen-line {
    height: 5px;
    border-radius: 2.5px;
    background: rgba(255,255,255,0.18);
    margin-bottom: 8px;
}

.ai-gen-line.w90 { width: 90%; }
.ai-gen-line.w100 { width: 100%; }
.ai-gen-line.w70 { width: 70%; }
.ai-gen-line.w85 { width: 85%; }
.ai-gen-line.w60 { width: 60%; }

.ai-gen-tags {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.ai-tag {
    padding: 4px 10px;
    border-radius: 980px;
    background: rgba(255,255,255,0.12);
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

/* AI Transform arrow */
.ai-transform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ai-transform-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    animation: iso-glow 3s ease-in-out infinite;
}

.ai-transform-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
}

.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.ai-pill {
    padding: 8px 18px;
    background: rgba(255,255,255,0.12);
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}

.ai-pill:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}


/* --- More Grid --- */
.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.more-item {
    text-align: center;
    padding: 24px;
}

.more-item:hover {
    transform: translateY(-2px);
}

.more-icon-iso {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

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

.more-item h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.more-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}


/* --- Pricing --- */
.pricing-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    border-radius: 980px;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-400);
}

.pricing-amount {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
}

.pricing-period {
    font-size: 18px;
    color: var(--gray-400);
    font-weight: 500;
}

.pricing-billing {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #dcfce7;
    color: #15803d;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.pricing-trial svg {
    color: #15803d;
}

.pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    list-style: none;
}

.pf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.pricing-note {
    font-size: 13px;
    color: var(--gray-400);
}


/* --- CTA --- */
.section-cta {
    padding: 120px 0;
    text-align: center;
}

.cta-visual {
    margin-bottom: 32px;
}

.cta-rocket {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
}


/* --- Footer --- */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--gray-200);
}

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

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

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--gray-500);
}

.footer-bottom a:hover {
    color: var(--blue);
}


/* ========================================
   Isometric SVG Animations
   ======================================== */

/* Staggered element appearance */
.iso-el {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.iso-el-1 { transition-delay: 0.1s; }
.iso-el-2 { transition-delay: 0.25s; }
.iso-el-3 { transition-delay: 0.4s; }
.iso-el-4 { transition-delay: 0.55s; }
.iso-el-5 { transition-delay: 0.7s; }

/* Trigger: when parent has .visible or is in hero */
.visible .iso-el,
.hero-anim .iso-el,
.fade-up.visible .iso-el {
    opacity: 1;
    transform: translateY(0);
}

/* Hero SVG elements animate immediately */
.hero-visual .iso-el {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation */
@keyframes iso-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.iso-float {
    animation: iso-float 4s ease-in-out infinite;
}

/* Pulse animation for dots/nodes */
@keyframes iso-pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.iso-pulse {
    animation: iso-pulse 3s ease-in-out infinite;
}

/* Typing animation for AI text lines */
@keyframes iso-typing {
    0% { opacity: 0; transform: scaleX(0); }
    20% { opacity: 1; }
    100% { opacity: 1; transform: scaleX(1); }
}

.iso-typing {
    transform-origin: left center;
    animation: iso-typing 1.5s ease-out forwards;
    animation-play-state: paused;
}

.visible .iso-typing {
    animation-play-state: running;
}

/* Sparkle animation */
@keyframes iso-sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 0.4; transform: scale(1.2) rotate(180deg); }
}

.iso-sparkle {
    animation: iso-sparkle 3s ease-in-out infinite;
}

/* Flame flicker for CTA rocket */
@keyframes iso-flame {
    0%, 100% { opacity: 0.7; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(1.15); }
}

.iso-flame {
    animation: iso-flame 0.5s ease-in-out infinite;
    transform-origin: center top;
}

/* Progress bar animation */
@keyframes iso-progress-fill {
    from { width: 0; }
    to { width: 168px; }
}

.iso-progress {
    animation: iso-progress-fill 2s ease-out forwards;
    animation-play-state: paused;
}

.visible .iso-progress {
    animation-play-state: running;
}

/* Card move animation for kanban */
@keyframes iso-card-slide {
    0% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(110px); }
    51% { opacity: 0; }
    100% { opacity: 0; transform: translateX(220px); }
}

.iso-card-move {
    animation: iso-card-slide 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Clock hand rotation */
@keyframes iso-clock-tick {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.iso-clock-hand {
    transform-origin: 40px 40px;
}

.iso-clock-min {
    transform-origin: 40px 40px;
}

/* Orbit animation for decorative particles */
@keyframes iso-orbit {
    0% { opacity: 0.1; transform: translateY(0) translateX(0); }
    25% { opacity: 0.25; transform: translateY(-6px) translateX(4px); }
    50% { opacity: 0.1; transform: translateY(0) translateX(8px); }
    75% { opacity: 0.2; transform: translateY(6px) translateX(4px); }
    100% { opacity: 0.1; transform: translateY(0) translateX(0); }
}

.iso-orbit {
    animation: iso-orbit 6s ease-in-out infinite;
}

/* AI Glow pulse */
@keyframes iso-glow {
    0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 4px rgba(255,255,255,0.2)); }
    50% { opacity: 1; filter: drop-shadow(0 0 16px rgba(255,255,255,0.5)); }
}

.iso-glow {
    animation: iso-glow 3s ease-in-out infinite;
}

/* AI Ray pulse */
@keyframes iso-ray-pulse {
    0%, 100% { opacity: 0.2; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(1.3); }
}

.iso-ray {
    animation: iso-ray-pulse 2s ease-in-out infinite;
    transform-origin: center center;
}

/* Flow line animation (stroke-dashoffset) */
@keyframes iso-flow {
    from { stroke-dashoffset: 20; }
    to { stroke-dashoffset: 0; }
}

.iso-flow-line {
    animation: iso-flow 2s linear infinite;
}

/* Flow particles moving down */
@keyframes iso-particle-flow {
    0% { opacity: 0; transform: translateY(-10px); }
    30% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(30px); }
}

.iso-flow-particle {
    animation: iso-particle-flow 2s ease-in-out infinite;
}

/* Cursor blinking */
@keyframes iso-cursor-blink {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0; }
}

.iso-cursor {
    animation: iso-cursor-blink 1s step-end infinite;
}

/* Chart line draw animation */
@keyframes iso-chart-draw {
    from { stroke-dashoffset: 300; }
    to { stroke-dashoffset: 0; }
}

.iso-chart-line {
    stroke-dasharray: 300;
    animation: iso-chart-draw 2s ease-out forwards;
}


/* ========================================
   Hero & Scroll Animations
   ======================================== */

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim {
    opacity: 0;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ha-delay-1 { animation-delay: 0.12s; }
.ha-delay-2 { animation-delay: 0.24s; }
.ha-delay-3 { animation-delay: 0.36s; }

/* JS-triggered scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-content.reverse {
        direction: ltr;
    }

    .ai-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-text {
        text-align: center;
    }

    .ai-text .section-desc {
        text-align: center !important;
    }

    .ai-features {
        justify-content: center;
    }

    .more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: 7.5vw;
        letter-spacing: -0.03em;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .btn-hero-ghost {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 40px;
    }

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

    .hb-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hb-panels {
        grid-template-columns: 1fr;
    }

    .hb-activity-panel {
        display: none;
    }

    .hb-search {
        display: none;
    }

    .hb-sidebar {
        width: 40px;
    }

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

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

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

    .section {
        padding: 80px 0;
    }

    .section-cta {
        padding: 80px 0;
    }

    .section-ai {
        padding: 80px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .portal-features {
        grid-template-columns: 1fr;
    }

    .iso-illustration {
        max-width: 100%;
    }

    .ai-before-after {
        flex-direction: column;
        gap: 16px;
    }

    .ai-transform {
        flex-direction: row;
    }

    .workspace-visual {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .workspace-visual .iso-illustration {
        min-width: 600px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .pricing-amount {
        font-size: 56px;
    }

    .pricing-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Hide floating elements on mobile for cleaner look */
    .iso-float {
        animation: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }

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

    .feature-card {
        padding: 28px 24px;
    }

    .team-card {
        padding: 24px 20px;
    }
}
