:root {
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, 0.8);
    --surfaceSolid: #ffffff;
    --text: #0f172a;
    --muted: rgba(15, 23, 42, 0.72);
    --muted2: rgba(15, 23, 42, 0.56);
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    --shadowSm: 0 12px 30px rgba(15, 23, 42, 0.08);

    --brand1: #5b8cff;
    --brand2: #8b5cf6;
    --brand3: #22c55e;
    --brand4: #06b6d4;

    --navH: 80px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Guard against iOS safe-area + fixed header overflow */
.nav-wrapper {
    max-width: 100vw;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* The public header is fixed (see beta-styles.css). Keep anchors and hero aligned. */
section[id] { scroll-margin-top: calc(var(--navH) + 18px); }
main { margin-top: 0 !important; }

.hp-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    color: var(--muted);
}
.hp-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.12);
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    user-select: none;
}
.hp-btn:active { transform: translateY(1px); }
.hp-btn-primary {
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    color: white;
    box-shadow: 0 16px 36px rgba(91, 140, 255, 0.24);
}
.hp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(91, 140, 255, 0.30);
}
.hp-btn-ghost {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text);
}
.hp-btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadowSm);
}

/* Hero */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}
.aurora {
    position: absolute;
    inset: -240px -180px auto -180px;
    height: 760px;
    background:
        radial-gradient(600px 400px at 25% 30%, rgba(91, 140, 255, 0.30), transparent 60%),
        radial-gradient(560px 380px at 72% 35%, rgba(139, 92, 246, 0.26), transparent 62%),
        radial-gradient(520px 360px at 55% 72%, rgba(34, 197, 94, 0.16), transparent 60%),
        radial-gradient(520px 360px at 12% 72%, rgba(6, 182, 212, 0.14), transparent 60%);
    filter: blur(18px);
    opacity: 0.95;
    transform: translate3d(0,0,0);
    animation: auroraShift 14s ease-in-out infinite;
    pointer-events: none;
}
@keyframes auroraShift {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(18px) scale(1.02); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}
.h-eyebrow { margin-bottom: 18px; }
.hero h1 {
    margin: 0 0 18px;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.hero p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 560px;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-note {
    width: 100%;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted2);
}

/* Floating Showcase */
.floating-showcase {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    z-index: 10;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand3);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

.floating-cards-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    width: 280px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: floatIn 0.8s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

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

.floating-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    z-index: 10;
}

.floating-card:hover .card-glow {
    opacity: 1;
}

/* Card positioning */
.floating-card[data-card="ai"] {
    top: 20px;
    left: 50px;
    z-index: 3;
}

.floating-card[data-card="standup"] {
    top: 60px;
    right: 80px;
    z-index: 4;
}

.floating-card[data-card="incident"] {
    top: 180px;
    left: 30px;
    z-index: 2;
}

.floating-card[data-card="okr"] {
    top: 200px;
    right: 50px;
    z-index: 5;
}

.floating-card[data-card="integration"] {
    top: 320px;
    left: 180px;
    z-index: 3;
}

.floating-card[data-card="review"] {
    top: 340px;
    right: 180px;
    z-index: 2;
}

.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.floating-card[data-card="ai"] .card-glow {
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.3), rgba(139, 92, 246, 0.3));
}

.floating-card[data-card="standup"] .card-glow {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(6, 182, 212, 0.3));
}

.floating-card[data-card="incident"] .card-glow {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(249, 115, 22, 0.3));
}

.floating-card[data-card="okr"] .card-glow {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
}

.floating-card[data-card="integration"] .card-glow {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(34, 197, 94, 0.3));
}

.floating-card[data-card="review"] .card-glow {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(239, 68, 68, 0.3));
}

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

.card-header .material-icons {
    font-size: 28px;
    opacity: 0.9;
}

.icon-ai { color: var(--brand1); }
.icon-standup { color: var(--brand3); }
.icon-incident { color: #ef4444; }
.icon-okr { color: var(--brand2); }
.icon-integration { color: var(--brand4); }
.icon-review { color: #ec4899; }

.card-badge, .status-badge, .severity-badge, .count-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-badge {
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--brand1);
    border: 1px solid rgba(91, 140, 255, 0.2);
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand3);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.pending {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.status-badge.on-track {
    background: rgba(34, 197, 94, 0.15);
    color: var(--brand3);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.severity-badge.sev2 {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.count-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--brand4);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.floating-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.card-content {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.typing-text {
    min-height: 40px;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    border-right: 2px solid var(--brand1);
    white-space: nowrap;
    animation: typing 3s steps(50) infinite, blink 0.75s step-end infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50%, 90% { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-icon.green { background: var(--brand3); }
.status-icon.yellow { background: #f59e0b; }

.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.metric-label {
    font-weight: 600;
    color: var(--text);
}

.metric-value {
    font-weight: 500;
}

.card-progress {
    margin-top: 12px;
    height: 4px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand1), var(--brand2));
    border-radius: 999px;
    animation: progressLoad 2s ease-in-out infinite;
}

@keyframes progressLoad {
    0%, 100% { width: 40%; }
    50% { width: 85%; }
}

.sparkline {
    margin-top: 12px;
    height: 30px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(34, 197, 94, 0.1) 20%,
        rgba(34, 197, 94, 0.2) 50%,
        rgba(34, 197, 94, 0.1) 80%,
        transparent 100%
    );
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.sparkline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.timeline-dots {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.timeline-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
}

.timeline-dots .dot.active {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.progress-item {
    padding: 6px 0;
}

.progress-label {
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.mini-progress {
    height: 6px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.mini-progress .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand3), var(--brand4));
    border-radius: 999px;
    transition: width 0.6s ease;
}

.integration-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.integration-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    transition: all 0.3s ease;
}

.integration-icon:hover {
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.08);
}

.integration-icon svg {
    width: 18px;
    height: 18px;
}

.integration-icon.more {
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--brand1);
    border-color: rgba(91, 140, 255, 0.2);
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11px;
    color: var(--muted);
}

.sync-icon {
    font-size: 14px;
}

.sync-icon.rotating {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.cycle-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

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

.deadline {
    margin-top: 12px;
    padding: 6px 10px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #f97316;
    text-align: center;
}

.showcase-hint {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    opacity: 0;
    animation: fadeInHint 1s ease-out 2s forwards;
}

@keyframes fadeInHint {
    to { opacity: 1; }
}

.showcase-hint .material-icons {
    font-size: 18px;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .floating-cards-container {
        height: 700px;
    }

    .floating-card {
        width: 240px;
    }

    .floating-card[data-card="ai"] {
        top: 20px;
        left: 20px;
    }

    .floating-card[data-card="standup"] {
        top: 40px;
        right: 20px;
    }

    .floating-card[data-card="incident"] {
        top: 200px;
        left: 10px;
    }

    .floating-card[data-card="okr"] {
        top: 220px;
        right: 10px;
    }

    .floating-card[data-card="integration"] {
        top: 380px;
        left: 60px;
    }

    .floating-card[data-card="review"] {
        top: 400px;
        right: 60px;
    }
}

@media (max-width: 640px) {
    .floating-showcase {
        min-height: 900px;
        padding: 30px 10px;
    }

    .floating-cards-container {
        height: 850px;
    }

    .floating-card {
        width: calc(100% - 40px);
        max-width: 300px;
        position: relative !important;
        margin: 0 auto 20px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .showcase-hint {
        display: none;
    }
}


/* Sections */
.section { padding: 72px 0; }
.section-title {
    font-size: 34px;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}
.section-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 720px;
    text-align: left;
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.pillar {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadowSm); }
.pillar .ic {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 14px 34px rgba(91, 140, 255, 0.18);
    margin-bottom: 12px;
}
.pillar h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.02em; }
.pillar p { margin: 0 0 10px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.pillar .proof { font-size: 13px; color: var(--muted2); }

.g1 { background: linear-gradient(135deg, var(--brand1), var(--brand2)); }
.g2 { background: linear-gradient(135deg, var(--brand4), var(--brand1)); }
.g3 { background: linear-gradient(135deg, var(--brand3), var(--brand4)); }
.g4 { background: linear-gradient(135deg, #fb7185, #fbbf24); }

/* Platform section */
.platform-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
}
.platform-list {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.platform-list-head {
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.platform-list-head .label {
    font-weight: 800;
    letter-spacing: -0.02em;
}
.search {
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
}
.search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--text);
}
.search .material-icons { font-size: 18px; color: var(--muted2); }

.module-groups {
    padding: 10px;
    max-height: 570px;
    overflow: auto;
}
.group {
    padding: 10px;
    border-radius: 14px;
}
.group + .group { margin-top: 6px; }
.group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted2);
    text-transform: uppercase;
    margin: 6px 6px 10px;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    user-select: none;
    max-width: 100%;
}
.chip span:last-child { min-width: 0; }
.chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); color: var(--text); }
.chip.active {
    background: rgba(91, 140, 255, 0.12);
    color: var(--text);
    border-color: rgba(91, 140, 255, 0.26);
}
.chip .material-icons { font-size: 18px; opacity: 0.9; }

.platform-spotlight {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}
.platform-spotlight::before {
    content: '';
    position: absolute;
    inset: -80px -60px auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 35% 35%, rgba(91,140,255,0.22), transparent 62%);
    filter: blur(10px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.95; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.08); }
}
.platform-spotlight:hover::before {
    opacity: 1;
    transform: scale(1.12);
}

.spot-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.spot-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(91, 140, 255, 0.32);
    position: relative;
    animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}
.spot-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    opacity: 0.2;
    filter: blur(8px);
    z-index: -1;
}
.spot-icon-wrap .material-icons {
    font-size: 28px;
}

.spot-title-group {
    flex: 1;
    min-width: 0;
    min-height: 110px;
}
.spot-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.spot-title h3 { 
    margin: 0; 
    font-size: 20px; 
    letter-spacing: -0.02em;
}
.spot-desc { 
    margin: 0 0 16px; 
    color: var(--muted); 
    line-height: 1.65; 
    font-size: 15px;
}

.spot-preview {
    background: linear-gradient(135deg, rgba(91, 140, 255, 0.06), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(91, 140, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spot-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 140, 255, 0.14);
}
.spot-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand1), var(--brand2), var(--brand3));
    opacity: 0.8;
}

.preview-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--muted2);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.preview-label .material-icons {
    font-size: 14px;
    animation: spin 3s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.preview-content {
    display: grid;
    gap: 8px;
}
.preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: background 0.2s ease;
}
.preview-row:hover {
    background: rgba(255, 255, 255, 0.95);
}
.preview-row strong {
    color: var(--text);
    font-weight: 700;
}
.preview-row span {
    color: var(--muted);
}

.spot-bullets {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}
.spot-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
    padding-left: 0;
}
.spot-bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand1), var(--brand2));
    margin-top: 8px;
    box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.12);
}

.ai-sample {
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(91, 140, 255, 0.03));
    padding: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-sample:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.12);
}
.ai-sample::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand2), var(--brand1));
}
.ai-sample .k {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: rgba(139, 92, 246, 0.9);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-sample .k .material-icons {
    font-size: 16px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}
.ai-sample .v {
    color: var(--muted);
    line-height: 1.65;
    font-size: 13px;
}

.spot-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* How it works */
.steps {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.step {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 18px;
}
.step .n {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 140, 255, 0.12);
    color: rgba(91, 140, 255, 0.95);
    font-weight: 900;
    margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

/* Trust */
.trust-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.trust {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 18px;
}
.trust h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.02em; }
.check {
    display: grid;
    gap: 10px;
}
.check .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}
.check .material-icons {
    font-size: 18px;
    color: rgba(34, 197, 94, 0.95);
    margin-top: 1px;
}

/* CTA band */
.cta-band {
    padding: 68px 0;
    background:
        radial-gradient(700px 420px at 15% 20%, rgba(91, 140, 255, 0.18), transparent 62%),
        radial-gradient(640px 420px at 80% 20%, rgba(139, 92, 246, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.0), rgba(15, 23, 42, 0.02));
    overflow: hidden;
}
.cta-box {
    border-radius: 22px;
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cta-box h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.cta-box p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; max-width: 640px; }

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--muted2);
    font-size: 13px;
    height: 100px;
}
.footer .links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.footer a { color: var(--muted); font-weight: 700; }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .v-body { grid-template-columns: 1fr; }
    .v-side { display: none; }
    .pillars { grid-template-columns: 1fr 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .vignette { margin-top: 10px; }
    .v-top { flex-wrap: wrap; }
    .v-top .status { width: 100%; justify-content: flex-start; }
}

@media (max-width: 900px) {
    .hero { padding: calc(var(--navH) + 48px) 0 56px; }
    .hero h1 { font-size: 46px; }
}

@media (max-width: 720px) {
    .hp-container { padding: 0 calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left)); }
    .hero { padding: calc(var(--navH) + 34px) 0 44px; }
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 16px; }
    .pillars { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .platform-list-head .label { width: 100%; }
    .search { max-width: 100%; flex: 1 1 100%; }
    .module-groups { max-height: 360px; }
    .row { justify-content: flex-start; }
    .row span { width: 100%; margin-left: 0; text-align: left; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 34px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .aurora { animation: none !important; }
    .hp-btn, .pillar, .chip { transition: none !important; }
}

/* Homepage Hero Header */
.home-hero {
    padding: 180px 0 80px;
}
.home-hero h1 {
    color: white;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.2;
}
.home-hero h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    max-width: 900px;
    margin: 0 auto 2rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}
.features-link {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}
.features-link:hover {
    color: white !important;
    transform: translateY(3px);
}
.btn-hero-primary {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: #667eea;
}
.btn-hero-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 600;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.btn-hero-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.5rem;
    }
    .home-hero h2 {
        font-size: 1.1rem;
    }
}

.section-modular-title {
    position: relative;
    margin-bottom: 100px;
    font-size: 70px !important;
    line-height: 80px;
    font-weight: 700;
    text-align: center
}

.section-modular-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Templates Showcase Section */
.templates-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}
.templates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)" /></svg>');
    opacity: 0.4;
}
.templates-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}
.templates-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.templates-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 20px;
    line-height: 1.2;
}
.templates-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}
.template-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--card-color-1), var(--card-color-2));
}
.template-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.template-icon .material-icons {
    font-size: 36px;
    color: white;
}
.template-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}
.template-card .subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 500;
}
.template-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.template-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}
.template-features li .material-icons {
    font-size: 20px;
    color: var(--card-color-1);
    flex-shrink: 0;
    margin-top: 2px;
}
.template-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand1);
    margin-top: 20px;
}
.template-badge .material-icons {
    font-size: 16px;
}
@media (max-width: 768px) {
    .templates-section {
        padding: 80px 0;
    }
    .templates-header h2 {
        font-size: 2.5rem;
    }
    .templates-header p {
        font-size: 1.1rem;
    }
    .templates-grid {
        grid-template-columns: 1fr;
    }
    .template-card {
        padding: 30px;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}
.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.faq-header p {
    font-size: 1.2rem;
    color: var(--muted);
}
.accordion {
    max-width: 900px;
    margin: 0 auto;
}
.accordion-item {
    border: none;
    margin-bottom: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.2s ease;
}
.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}
.accordion-button {
    background: white;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 24px;
    border: none;
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    background: white;
    color: var(--brand1);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border: none;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b8cff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
    padding: 0 24px 24px 24px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}
.faq-cta {
    text-align: center;
    margin-top: 60px;
}
.faq-cta p {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 20px;
}
.faq-cta .btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.faq-cta .hp-btn {
    padding: 12px 28px;
}
