:root {
    --ax-ink: #0a0a0f;
    --ax-surface: #f4f3ef;
    --ax-white: #ffffff;
    --ax-accent: #2563eb;
    --ax-accent-light: #dbeafe;
    --ax-accent-vivid: #1d4ed8;
    --ax-muted: #6b7280;
    --ax-border: #e5e3de;
    --ax-card-bg: #ffffff;
    --ax-code-bg: #0f172a;
    --ax-green: #16a34a;
    --radius: 14px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ax-white);
    color: var(--ax-ink);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ── NAVBAR ── */
.navbar {
    background: rgba(244,243,239,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ax-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar > .container { display: flex; align-items: center; }

.navbar-col-left { flex: 1; display: flex; align-items: center; gap: 0.25rem; }
.navbar-col-center { flex-shrink: 0; display: flex; justify-content: center; }
.navbar-col-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }

.navbar-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ax-ink) !important;
    letter-spacing: -0.04em;
}
.navbar-brand span { color: var(--ax-accent); }

.nav-link {
    color: var(--ax-ink) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 8px;
    transition: background 0.15s;
}
.nav-link:hover { background: rgba(37,99,235,0.08); color: var(--ax-accent) !important; }

.lang-btn {
    background: none;
    border: 1px solid var(--ax-border);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ax-ink);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.lang-btn:hover { border-color: var(--ax-accent); background: var(--ax-accent-light); }
.lang-btn.active { background: var(--ax-accent); color: #fff; border-color: var(--ax-accent); }

.btn-signin {
    color: var(--ax-ink) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px;
}
.btn-signin:hover { background: rgba(0,0,0,0.06); }

.btn-primary-nav {
    background: var(--ax-ink);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1.1rem !important;
    border-radius: 8px;
    border: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary-nav:hover { background: var(--ax-accent); transform: translateY(-1px); }

@media (max-width: 991px) {
    .navbar-col-left, .navbar-col-right { display: none !important; }
    .navbar-col-center { flex: 1; justify-content: flex-start; }
}

/* ── TRIAL HERO ── */
.trial-hero {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.trial-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -160px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ax-accent-light);
    color: var(--ax-accent-vivid);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ── COUNTDOWN ── */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ax-ink);
    color: #fff;
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 2rem;
}
.trial-badge .days {
    font-size: 2rem;
    line-height: 1;
    color: #86efac;
}

/* ── FORM CARD ── */
.trial-card {
    background: var(--ax-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ax-border);
    box-shadow: 0 24px 64px rgba(0,0,0,0.09);
    padding: 2.5rem;
}

.form-label { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; }

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--ax-border);
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: var(--ax-surface);
}
.form-control:focus, .form-select:focus {
    border-color: var(--ax-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    background: #fff;
}

.btn-ax-primary {
    background: var(--ax-ink);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}
.btn-ax-primary:hover { background: var(--ax-accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); color: #fff; }

.divider-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--ax-muted);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 1.25rem 0;
}
.divider-or::before, .divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ax-border);
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1.5px solid var(--ax-border);
    border-radius: 10px;
    background: var(--ax-white);
    padding: 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ax-ink);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
    width: 100%;
}
.btn-oauth:hover { border-color: var(--ax-accent); background: var(--ax-accent-light); transform: translateY(-1px); }

/* ── TIMELINE ── */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.55rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--ax-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.2rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ax-white);
    border: 2px solid var(--ax-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
}
.timeline-dot.active {
    background: var(--ax-accent);
    border-color: var(--ax-accent);
    color: #fff;
}
.timeline-dot.warn {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}
.timeline-dot.success {
    background: #dcfce7;
    border-color: var(--ax-green);
    color: #166534;
}

.timeline-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ax-muted);
    margin-bottom: 0.15rem;
}
.timeline-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.2rem; }
.timeline-desc { font-size: 0.82rem; color: var(--ax-muted); }

/* ── INCLUDES ── */
.include-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--ax-border);
}
.include-item:last-child { border-bottom: none; }

.include-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--ax-accent-light);
    color: var(--ax-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.include-item h6 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.1rem; }
.include-item p { font-size: 0.8rem; color: var(--ax-muted); margin: 0; }

/* ── TRUST STRIP ── */
.trust-strip {
    background: var(--ax-ink);
    color: rgba(255,255,255,0.75);
    padding: 1.25rem 0;
    font-size: 0.82rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}
.trust-item i { color: #86efac; font-size: 0.9rem; }

/* ── FOOTER ── */
footer {
    background: #06060a;
    color: rgba(255,255,255,0.45);
    padding: 2rem 0;
    font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.45); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.8); }

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeSlideUp 0.6s ease forwards; }

/* ── SUCCESS STATE ── */
.success-state { display: none; text-align: center; }
.success-icon {
    width: 72px; height: 72px;
    background: var(--ax-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ax-accent);
    margin: 0 auto 1.5rem;
}

/* ── STEP INDICATOR ── */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.step-pip {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--ax-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
    color: var(--ax-muted);
    transition: all 0.25s;
}
.step-pip.active { border-color: var(--ax-accent); background: var(--ax-accent); color: #fff; }
.step-pip.done { border-color: var(--ax-green); background: var(--ax-green); color: #fff; }
.step-connector { flex: 1; height: 2px; background: var(--ax-border); border-radius: 1px; max-width: 40px; }

/* ── PLAN TOGGLE ── */
.plan-toggle-row {
    display: flex;
    gap: 0.5rem;
}
.plan-toggle-btn {
    flex: 1;
    border: 1.5px solid var(--ax-border);
    border-radius: 10px;
    padding: 0.9rem 0.75rem;
    background: var(--ax-surface);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
    font-family: 'DM Sans', sans-serif;
}
.plan-toggle-btn:hover { border-color: var(--ax-accent); }
.plan-toggle-btn.selected { border-color: var(--ax-accent); background: var(--ax-accent-light); }
.plan-toggle-btn .plan-name { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 0.1rem; }
.plan-toggle-btn .plan-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--ax-accent); }
.plan-toggle-btn .plan-desc { font-size: 0.75rem; color: var(--ax-muted); }

/* steps visibility */
.step-panel { display: none; }
.step-panel.active { display: block; }

@media (max-width: 768px) {
    .trial-card { padding: 1.5rem; }
    .trial-hero { padding: 3rem 0 2rem; }
    .plan-toggle-row{display: grid !important;}
}
