/* ================================================
   LLMchat Landing Page — Premium Dark Theme
   ================================================ */

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

:root {
    /* Core palette */
    --bg-deep: #06060b;
    --bg-surface: #0c0c14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;

    /* Accent gradient */
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #a855f7;
    --accent-glow: rgba(139, 92, 246, 0.15);
    --accent-glow-strong: rgba(139, 92, 246, 0.3);

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-max: 1100px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Full-page Scroll Hijack --- */
.page-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.page-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.page-section.section-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
    max-height: 100dvh;
}

.page-section.section-above {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    pointer-events: none;
    z-index: 1;
}

.page-section.section-below {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    pointer-events: none;
    z-index: 1;
}

/* Hide scrollbar on active section but keep scrollable */
.page-section.section-active::-webkit-scrollbar {
    width: 4px;
}

.page-section.section-active::-webkit-scrollbar-track {
    background: transparent;
}

.page-section.section-active::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
}

/* Page indicator dots */
.page-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.15;
    cursor: pointer;
    transition: opacity 0.3s, background 0.3s, transform 0.3s;
    border: none;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.page-dot.active {
    opacity: 0.5;
    background: var(--accent-2);
    transform: scale(1.3);
}

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

/* --- Ambient Background --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -200px;
    left: -100px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    top: 40%;
    right: -150px;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    bottom: -100px;
    left: 30%;
    animation: float-orb 22s ease-in-out infinite 5s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(30px, 40px) scale(1.02);
    }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(6, 6, 11, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
}

.logo-icon {
    color: var(--accent-2);
    font-size: 1.1rem;
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.08);
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--bg-card);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.lang-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* --- Section Commons --- */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 56px;
    color: var(--text-primary);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: var(--bg-card);
}

.badge-phrases {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.badge-phrase {
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
    color: var(--text-secondary);
    display: inline-block;
}

.badge-phrase.active {
    color: #e0d0ff;
    text-shadow: 0 0 16px rgba(168, 85, 247, 0.6), 0 0 32px rgba(139, 92, 246, 0.3);
    transform: scale(1.15);
}

.badge-sep {
    margin: 0 6px;
    opacity: 0.4;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    font-size: 0.88em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    color: #fff;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--accent-glow-strong), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card);
}

/* --- Chat Preview Mock --- */
.hero-visual {
    width: 100%;
    max-width: 640px;
}

.chat-preview {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

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

.chat-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.chat-dots span:nth-child(1) {
    background: #ef4444;
}

.chat-dots span:nth-child(2) {
    background: #eab308;
}

.chat-dots span:nth-child(3) {
    background: #22c55e;
}

.chat-model {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.chat-messages {
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.chat-msg {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 90%;
}

.chat-msg.user {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    align-self: flex-end;
    color: var(--text-primary);
}

.chat-msg.ai {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.chat-msg.ai em {
    color: var(--accent-2);
    font-style: italic;
}

.chat-typing {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-2);
    border-radius: 2px;
    animation: blink-cursor 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

/* Chat input bar */
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    min-height: 52px;
}

.chat-input-bar .chat-input-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 18px;
    font-family: inherit;
}

.chat-send-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    opacity: 0.25;
    transition: opacity 0.3s, transform 0.15s;
    flex-shrink: 0;
}

.chat-send-btn.ready {
    opacity: 1;
}

.chat-send-btn.sending {
    transform: scale(0.88);
    opacity: 0.7;
}

.chat-send-btn svg {
    width: 13px;
    height: 13px;
    fill: #fff;
}

/* Thinking dots */
.chat-thinking {
    display: inline-flex;
    gap: 4px;
    padding: 4px 0;
}

.chat-thinking span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: thinking-bounce 1.4s ease-in-out infinite;
}

.chat-thinking span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-thinking span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes thinking-bounce {

    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Chat bubble slide-in */
.msg-slide-in {
    animation: msg-slide 0.3s ease forwards;
}

@keyframes msg-slide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Contrast (Problem/Solution) --- */
.contrast {
    padding: 80px 0;
}

.contrast-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contrast-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.3s, background 0.3s;
}

.contrast-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.contrast-old {
    opacity: 0.5;
}

.contrast-old h4 {
    font-size: 1.1rem;
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.contrast-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.contrast-old p,
.contrast-new p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contrast-arrow {
    font-size: 1.5rem;
    color: var(--accent-2);
    font-weight: 300;
}

.contrast-new h4 {
    font-size: 1.1rem;
    color: var(--accent-2);
}

.contrast-old .contrast-header,
.contrast-new .contrast-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* --- Features Grid --- */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 36px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
    color: var(--accent-2);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* --- Steps (How It Works) --- */
.steps {
    padding: var(--section-padding) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.steps-grid.steps-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin: 0 auto;
}

.step-card {
    padding: 36px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: left;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    border-color: var(--border-hover);
}

.step-card code {
    margin-top: auto;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-card code {
    display: block;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--accent-2);
    word-break: break-all;
}

/* --- CTA Section --- */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-card {
    text-align: center;
    padding: 64px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-form {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 13px 18px;
    font-size: 0.95rem;
    font-family: var(--font);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.cta-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
    position: relative;
}

.cta-success {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    font-size: 1.4rem;
    color: #fff;
}

.cta-success p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-link:not(.disabled):hover {
    color: var(--text-primary);
}

.footer-link.disabled {
    cursor: default;
    opacity: 0.5;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.3;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 8px;
    opacity: 0.5;
}

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible,
.section-active .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {

    /* 1. Hero: fix mobile overflow — flex-start prevents badge going above scroll origin */
    .hero {
        padding: 80px 16px 40px;
        justify-content: flex-start;
    }

    .hero-badge {
        font-size: min(0.72rem, 3vw);
        padding: 4px 10px;
        gap: 5px;
        white-space: nowrap;
    }

    /* Page dots */
    .page-dots {
        right: 8px;
        gap: 6px;
    }

    .page-dot {
        width: 5px;
        height: 5px;
    }

    /* 2. Sections: reduce padding but top ≥ 70px to stay below fixed header */
    .contrast,
    .features,
    .steps {
        padding: 80px 0 40px;
    }

    .section-container {
        padding: 0 16px;
    }

    /* Contrast: reduce card padding */
    .contrast-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }

    .contrast-arrow {
        transform: rotate(90deg);
    }

    /* 3. Features: inline icon + title */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        margin-bottom: 0;
        margin-right: 10px;
        float: left;
    }

    .feature-card h4 {
        line-height: 36px;
        margin-bottom: 6px;
    }

    .feature-card p {
        clear: both;
    }

    /* 4. Steps: keep 2-line layout, reduce padding */
    .steps-grid,
    .steps-grid.steps-grid-2 {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 12px;
    }

    .step-card {
        padding: 20px;
    }

    /* CTA */
    .input-group {
        flex-direction: column;
    }

    .input-group .btn-primary {
        justify-content: center;
    }

    .cta-card {
        padding: 32px 20px;
    }
}

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

    .section-title {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 24px;
    }

    .step-number {
        font-size: 2.2rem;
    }
}