/* === Kellr Blog — Dark Mode First === */
:root {
    --green: #D97706;
    --green-dim: #b45f04;
    --bg: #0d0d0d;
    --bg2: #151515;
    --bg3: #1c1c1e;
    --text: #f0f0f0;
    --text2: #a0a0a0;
    --border: #2a2a2a;
    --radius: 12px;
    --max-w: 900px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-green { color: var(--green); }

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(13,13,13,0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.nav-logo:hover { text-decoration: none; }
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text2); font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.nav-mobile {
    display: none; flex-direction: column; gap: 16px; padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.nav-mobile a { color: var(--text2); font-size: 1rem; }
.nav-mobile.open { display: flex; }

.lang-toggle {
    background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
    padding: 4px 10px; cursor: pointer; font-size: 1rem;
}
.lang-flag { pointer-events: none; }

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
}

/* Hero */
.hero {
    padding: 140px 20px 80px; text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(217,119,6,0.08) 0%, transparent 60%);
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(217,119,6,0.1); border: 1px solid rgba(217,119,6,0.3);
    color: var(--green); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-sub { color: var(--text2); font-size: clamp(1rem, 2.5vw, 1.2rem); max-width: 600px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
    padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
    display: inline-block; transition: all 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: var(--green-dim); color: #000; }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.hero-app {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--bg3); border: 1px solid var(--border); border-radius: 16px;
    padding: 14px 20px;
}
.hero-app-icon { width: 48px; height: 48px; border-radius: 12px; }
.hero-app div { text-align: left; }
.hero-app strong { display: block; font-size: 1rem; }
.hero-app span { color: var(--text2); font-size: 0.85rem; }

/* Sections */
.section { padding: 80px 20px; }
.section-alt { background: var(--bg2); }
.section h2 { font-size: 1.8rem; margin-bottom: 8px; }
.section-sub { color: var(--text2); margin-bottom: 40px; }

/* Journal */
.journal-entry {
    background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; margin-bottom: 20px; transition: border-color 0.2s;
}
.journal-entry:hover { border-color: var(--green); }
.journal-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.journal-day { font-size: 1.3rem; font-weight: 700; }
.journal-date { color: var(--text2); font-size: 0.85rem; }
.journal-body { color: var(--text2); margin-bottom: 16px; line-height: 1.7; }
.journal-body p { margin-bottom: 10px; }
.journal-body ul { margin: 8px 0 8px 20px; }
.journal-body li { margin-bottom: 4px; }
.journal-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}
.journal-stat {
    background: var(--bg2); border-radius: 10px; padding: 12px; text-align: center;
}
.journal-stat-val { font-size: 1.3rem; font-weight: 700; color: var(--green); }
.journal-stat-label { font-size: 0.75rem; color: var(--text2); margin-top: 2px; }
.journal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.journal-tag {
    font-size: 0.75rem; padding: 3px 10px; border-radius: 6px;
    background: rgba(217,119,6,0.1); color: var(--green); border: 1px solid rgba(217,119,6,0.2);
}

/* Stats */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.stat-card {
    background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center;
}
.stat-val { font-size: 2rem; font-weight: 800; color: var(--green); }
.stat-label { color: var(--text2); font-size: 0.85rem; margin-top: 4px; }

/* About */
.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.about-card {
    background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px;
}
.about-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.about-card p { color: var(--text2); }
.about-card ul { list-style: none; }
.about-card li { padding: 4px 0; color: var(--text2); }
.link-list { display: flex; flex-direction: column; gap: 12px; }
.link-list a { font-size: 0.95rem; }

/* Footer */
.footer {
    text-align: center; padding: 40px 20px; color: var(--text2);
    font-size: 0.85rem; border-top: 1px solid var(--border);
}

/* === App Landing Hero === */
.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-app-landing {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.hero-app-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.hero-tagline {
    font-size: 1.1rem;
    color: var(--text2);
    max-width: 500px;
    margin-bottom: 1.5rem;
}
.hero-screenshot {
    flex: 0 0 auto;
}
.phone-screenshot {
    width: 280px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.app-store-badge img {
    height: 48px;
    transition: opacity 0.2s;
}
.app-store-badge img:hover {
    opacity: 0.8;
}

/* === Features Grid === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.feature-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.feature-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}
.feature-card p {
    color: var(--text2);
    font-size: 0.95rem;
}
.feature-screenshot {
    margin-bottom: 1rem;
}
.phone-screenshot-small {
    width: 180px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* === Steps === */
.steps-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: #000;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.step h3 {
    margin-bottom: 0.5rem;
}
.step p {
    color: var(--text2);
    font-size: 0.95rem;
}

/* === Footer badges === */
.footer-badges {
    margin-bottom: 1rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    #pricing > div[style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-app-landing {
        text-align: center;
    }
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .phone-screenshot {
        width: 220px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .phone-screenshot-small {
        width: 160px;
    }
}
/* === Screenshot Slider === */
.screenshot-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    overflow: hidden;
}
.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 0;
    justify-content: flex-start;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-screenshot {
    flex: 0 0 auto;
    width: 220px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    scroll-snap-align: center;
    transition: transform 0.3s;
}
.slider-screenshot:hover {
    transform: scale(1.05);
}
.slider-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.slider-btn:hover {
    background: var(--green);
    color: #000;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s;
}
.slider-dot.active {
    background: var(--green);
}

/* === Feature Icons === */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.feature-card {
    text-align: center;
}

@media (max-width: 768px) {
    .slider-btn { display: none; }
    .slider-screenshot { width: 180px; }
}
/* === Dual Slider (Dark + Light) === */
.dual-slider-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.dual-slider {
    min-width: 0;
    overflow: hidden;
}
.dual-slider h3 {
    font-size: 1.1rem;
    color: var(--text2);
}
.dual-slider .screenshot-slider {
    overflow: hidden;
}
.dual-slider .slider-track {
    overflow-x: auto;
    flex-wrap: nowrap;
}
@media (max-width: 768px) {
    .dual-slider-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}