/* ── Logo SVG classes ── */
.logo_green {
    fill: #53AD10;
}

.logo_red {
    fill: #E03817;
}

.logo_border {
    fill: #53AD10;
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

.logo-link:hover .logo_border {
    opacity: 0.6;
}

:root {
    --green: #53ad10;
    --green-dark: #3d8a09;
    --green-light: #f0f7e8;
    --green-border: #b8e08a;
    --dark: #1a1f2e;
    --muted: #64748b;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    overflow-x: clip;
}

* {
    box-sizing: border-box;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

a {
    color: inherit;
    text-decoration: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

p,
blockquote,
dl,
dd,
ol,
ul,
figure,
pre {
    margin: 0;
}

ol,
ul {
    list-style: none;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Inter var', system-ui, sans-serif;
    color: var(--dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* ── Gradient text ── */
.grad {
    background: linear-gradient(135deg, #489a09ff 0%, #a0e047ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green);
    color: #fff;
    padding: .8rem 1.75rem;
    border-radius: .75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background .18s, transform .18s, box-shadow .18s;
    box-shadow: 0 4px 16px rgba(83, 173, 16, .35);
    text-decoration: none;
    white-space: nowrap;
}

.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(83, 173, 16, .4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
    padding: .8rem 1.75rem;
    border-radius: .75rem;
    font-weight: 500;
    font-size: 1rem;
    border: 1.5px solid #e2e8f0;
    transition: border-color .18s, color .18s, background .18s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
}

/* ── Nav ── */
#main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #f1f5f9;
}

#main-nav .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 3.5rem;
}

.logo-link svg {
    height: 3.2rem;
    width: auto;
}

/* Lang switcher */
/* Lang switcher dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    user-select: none;
    text-transform: uppercase;
}

.lang-dropdown-btn:hover, .lang-dropdown-btn.active {
    background: #e2e8f0;
    color: #3d424d;
    border-color: #cbd5e1;
}

.lang-dropdown-btn .chevron {
    transition: transform 0.2s;
}

.lang-dropdown-btn.active .chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.25rem;
    min-width: 8.5rem;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.15s, transform 0.15s;
}

.lang-dropdown-menu.show {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background .15s, color .15s;
}

.lang-dropdown-menu a:hover {
    background: #f1f5f9;
    color: #3d424d;
}

.lang-dropdown-menu a.active {
    background: var(--green-light);
    color: var(--green-dark);
    font-weight: 700;
}

/* ── Hero ── */
#hero {
    padding: 5.5rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, #f7fef2 0%, #fff 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green-light);
    border: 1px solid var(--green-border);
    border-radius: 2rem;
    padding: .35rem 1rem;
    font-size: .875rem;
    color: var(--green-dark);
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 auto 1.25rem;
    max-width: 820px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

/* ── Hero word rotator ───────────────────────────────────── */
.hero-rotator {
    display: inline-block;
    vertical-align: baseline;
    /* clip vertically so lines slide behind the gradient line, not over it;
       bottom expanded for descenders (j, y…), still clips exit animation at 0.65em */
    clip-path: inset(-0.05em -200% -0.25em -200%);
}

.hero-rotator-inner {
    display: inline-block;
    white-space: nowrap;
    /* ENTER: instant start → decelerates to resting position */
    transition:
        transform 0.5s cubic-bezier(0, 0.5, 0.2, 1),
        opacity 0.35s ease-out;
}

/* EXIT: overrides transition → accelerates away, no easing at the end */
.hero-rotator-inner.rot-exit {
    transform: translateY(0.65em);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.5, 0, 1, 1),
        opacity 0.28s ease-in;
}

/* Reset to top instantly (no transition) before next enter */
.hero-rotator-inner.rot-reset {
    transition: none;
    transform: translateY(-0.65em);
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* ── Browser frame ── */
.browser-wrap {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(0, 0, 0, .14);
    border: 1px solid #e2e8f0;
}

.browser-bar {
    background: #f1f5f9;
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-url {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: .375rem;
    padding: .25rem .75rem;
    font-size: .75rem;
    color: #94a3b8;
    width: 390px;
    text-align: center;
}

.screenshot-img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #f8fafc;
}

/* Placeholder shown when no screenshot */
.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: #94a3b8;
    font-size: .875rem;
}

/* ── Section base ── */
.section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-label {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
}

/* ── Stats strip ── */
#stats {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 2.5rem 1.5rem;
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
}

@media (max-width: 860px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: .375rem;
}

.stat-label {
    font-size: .875rem;
    color: var(--muted);
    font-weight: 500;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
}

.stat-icon-circle {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}

.stat-text-wrap {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.stat-headline {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
}

.stat-sub {
    font-size: .8125rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ── Feature alternating ── */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-row .feat-visual {
        order: -1;
    }
}

.feat-visual {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
    border: 1px solid #e2e8f0;
}

/* ── Mock UI ── */
.mock-bg {
    background: #f8fafc;
    padding: 1.5rem;
    min-height: 300px;
}

.mock-card {
    border-radius: .75rem;
    padding: 1rem 1.125rem;
    font-size: .8125rem;
    margin-bottom: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    color: white;
    text-align: left;
}

.mock-card-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .375rem;
}

.mock-card-sub {
    font-size: .7rem;
    opacity: .8;
    margin-bottom: .625rem;
}

.mock-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, .25);
    border-radius: 3px;
    overflow: hidden;
    margin-top: .375rem;
}

.mock-progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, .85);
    border-radius: 3px;
}

.mock-tag {
    display: inline-block;
    font-size: .6875rem;
    padding: .125rem .5rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .25);
    font-weight: 600;
    margin-right: .25rem;
}

.mock-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .3);
    border: 2px solid rgba(255, 255, 255, .5);
    margin-right: -.375rem;
}

.mock-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 1rem 0;
}

/* Timer mock */
.mock-timer-wrap {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    margin-bottom: 1rem;
}

.mock-timer-display {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

.mock-timer-label {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .625rem;
}

.mock-timer-task {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-top: 1rem;
    padding: .625rem .875rem;
    background: #f8fafc;
    border-radius: .5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-anim 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse-anim {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(1.2);
    }
}

/* Card inline timer (Marketing card in hero grid) */
.card-timer-btn {
    position: relative;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-timer-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    animation: card-timer-ring 2s ease-out infinite;
}

.card-timer-btn-inner {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

@keyframes card-timer-ring {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.mock-bar-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
    font-size: .75rem;
}

.mock-bar-label {
    width: 80px;
    color: var(--muted);
    font-size: .75rem;
}

.mock-bar {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.mock-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--green);
}

.mock-bar-val {
    font-weight: 600;
    font-size: .75rem;
    color: var(--dark);
    width: 36px;
    text-align: right;
}

.mock-bar-label--sm {
    width: 52px;
    font-size: .65rem;
}

.mock-bar-val--sm {
    width: 28px;
    font-size: .65rem;
}

/* Timer + today side by side */
.mock-timer-today-row {
    display: flex;
    gap: .75rem;
    margin-bottom: .75rem;
    align-items: stretch;
}

.mock-timer-today-row .mock-timer-wrap {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    padding: 1rem;
}

.mock-timer-today-row .mock-timer-display {
    font-size: 1.875rem;
}

.mock-today-compact {
    flex: 1;
    min-width: 0;
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

/* Monthly chart */
.mock-month-chart {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.mock-month-chart-title {
    transition: opacity .3s ease;
}

.mock-month-chart-title.fading {
    opacity: 0;
}

.mock-month-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 96px;
}

.mock-mchart-bar {
    flex: 1;
    background: var(--green);
    border-radius: 2px 2px 0 0;
    min-height: 3px;
    transition: height .65s cubic-bezier(.4, 0, .2, 1);
    opacity: .8;
}

.mock-mchart-bar--we {
    opacity: .45;
}

/* Timeline mock */
.mock-timeline-header {
    display: flex;
    justify-content: space-between;
    font-size: .65rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0 0 .5rem;
    letter-spacing: .03em;
}

.mock-timeline-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.mock-timeline-name {
    font-size: .75rem;
    font-weight: 600;
    color: var(--dark);
    width: 90px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-timeline-track {
    flex: 1;
    height: 26px;
    background: #f1f5f9;
    border-radius: 4px;
    position: relative;
}

.mock-timeline-bar {
    position: absolute;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 .5rem;
    font-size: .6rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
}

/* ── Views slideshow ── */
.views-tabs-row {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 0;
}

.view-tab {
    padding: .5rem 1.5rem;
    border-radius: .625rem;
    font-size: .9375rem;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    background: white;
    color: var(--muted);
    cursor: pointer;
    transition: all .18s;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.view-tab:hover {
    border-color: var(--green-border);
    color: var(--green);
}

.view-tab.active {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.view-tab svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Progress bar under tabs */
.view-progress-track {
    width: 100%;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem 0 2rem;
}

.view-progress-fill {
    height: 100%;
    background: rgba(83, 173, 16, .22);
    border-radius: 2px;
    width: 0%;
}

/* View panels */
.view-panel {
    display: none;
    animation: fadePanel .65s ease;
}

.view-panel.active {
    display: block;
}

@keyframes fadePanel {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid view – 3 columns */
.mock-grid-col-header {
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .5rem .875rem;
    border-radius: .5rem .5rem 0 0;
    color: white;
    margin-bottom: .5rem;
}

.mock-grid-mini-card {
    background: white;
    border-radius: .625rem;
    padding: .75rem .875rem;
    margin-bottom: .5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    border-left: 3px solid transparent;
    font-size: .8rem;
}

.mock-grid-mini-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .25rem;
}

.mock-grid-mini-sub {
    font-size: .7rem;
    color: var(--muted);
}

/* Calendar mock */
.mock-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.mock-cal-day-label {
    font-size: .6rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    padding: .25rem 0;
    letter-spacing: .04em;
}

.mock-cal-day {
    aspect-ratio: 1;
    border-radius: .375rem;
    font-size: .65rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: .2rem .1rem .1rem;
    color: var(--dark);
    position: relative;
    min-height: 28px;
}

.mock-cal-day.today {
    background: var(--green);
    color: white;
    border-radius: .375rem;
}

.mock-cal-day.has-task::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: 1px;
}

.mock-cal-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ── Feature grid ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.fcard {
    padding: 1.75rem;
    border: 1.5px solid #f1f5f9;
    border-radius: 1.25rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.fcard:hover {
    border-color: var(--green-border);
    box-shadow: 0 8px 32px rgba(83, 173, 16, .1);
    transform: translateY(-3px);
}

.fcard-body {
    flex: 1;
    min-width: 0;
}

.fcard-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: -1;
}

.fcard-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .375rem;
}

.fcard-desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── CTA banner ── */
#cta-banner {
    background: linear-gradient(135deg, #2b3a1f 0%, #1f2f13 100%);
    padding: 5rem 1.5rem;
    text-align: center;
    color: white;
}

#cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

#cta-banner p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2rem;
}

.cta-pill {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: .1em .55em;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    line-height: 1.4;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: var(--green-dark);
    padding: .9rem 2rem;
    border-radius: .75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: transform .18s, box-shadow .18s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

/* ── Footer ── */
#footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 1.5rem;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: .875rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-copy {
    font-size: .8125rem;
    color: #94a3b8;
}

/* ── Fade-in on scroll ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 640px) {

    .phone_mensi_margin {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }

    #hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile nav */
.nav-reg-short {
    display: none;
}

.hero-lang-wrap {
    display: none;
}



@media (max-width: 480px) {
    .logo-link {
        height: 2.25rem;
    }

    .logo-link svg {
        height: 2.7rem;
    }

    .nav-login-text {
        padding: .4rem .625rem !important;
        font-size: .8rem !important;
        white-space: nowrap;
    }

    .nav-reg-full {
        display: none;
    }

    .nav-reg-short {
        display: inline;
    }

    #main-nav .inner {
        padding: 0 0.6rem;
        gap: .5rem;
    }

    #main-nav .inner>div:first-child {
        gap: .5rem;
    }

    #main-nav .inner>div:last-child {
        gap: .5rem;
    }

    .lang-wrap {
        padding: .15rem;
    }

    .lang-btn {
        padding: .2rem .45rem;
        font-size: .75rem;
    }

    #main-nav .btn-green {
        padding: .4rem .625rem !important;
        font-size: .8rem !important;
        white-space: nowrap;
    }

    .dot,
    .browser-logo {
        display: none;
    }

    .browser-url {
        position: static;
        transform: none;
        width: auto;
        flex: 1;
    }

    #grid-mock-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: .5rem !important;
        gap: .375rem !important;
    }

    #grid-mock-inner>div:nth-child(3) {
        display: none !important;
    }

    #grid-mock-inner>div>.mock-card+.mock-card {
        margin-top: .375rem !important;
    }
}

/* Scale section – stack on mobile */
@media (max-width: 640px) {
    #scale-grid {
        grid-template-columns: 1fr !important;
    }

    .views-tabs-row {
        flex-wrap: wrap;
    }

    .view-tab {
        flex: 1;
        justify-content: center;
    }

    .view-tab:first-child {
        flex-basis: 100%;
    }
}

@media (max-width: 500px) {

    /* Hide hours from timer on mobile */
    .timer-h {
        display: none;
    }

    /* Hide pause icon */
    .mock-timer-pause {
        display: none;
    }

    /* Dot + text centered together */
    .mock-timer-task {
        justify-content: center;
    }
}