:root {
    --k-primary:       #10B8A6;
    --k-primary-dark:  #0A9688;
    --k-primary-light: #E6F7F5;
    --k-accent:        #FF6553;
    --k-dark:          #0F172A;
    --k-text:          #334155;
    --k-muted:         #64748B;
    --k-light:         #F8FAFC;
    --k-border:        #E2E8F0;
    --k-card-shadow:   0 4px 24px rgba(0,0,0,.07);
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--k-text);
    background: #fff;
    overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
.section-badge {
    display: inline-block;
    background: var(--k-primary-light);
    color: var(--k-primary-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--k-dark);
    line-height: 1.2;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--k-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── NAVBAR ─── */
.k-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--k-border);
    padding: .85rem 0;
}

.k-navbar .nav-link {
    color: var(--k-text);
    font-size: .9rem;
    font-weight: 500;
    padding: .4rem .8rem;
    transition: color .2s;
}

.k-navbar .nav-link:hover { color: var(--k-primary); }

.btn-primary-k {
    background: var(--k-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .5rem 1.2rem;
    font-size: .875rem;
    font-weight: 600;
    transition: background .2s, transform .15s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-k:hover {
    background: var(--k-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-k {
    border: 1.5px solid var(--k-border);
    background: transparent;
    color: var(--k-text);
    border-radius: 8px;
    padding: .5rem 1.2rem;
    font-size: .875rem;
    font-weight: 500;
    transition: border-color .2s, color .2s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-k:hover {
    border-color: var(--k-primary);
    color: var(--k-primary);
}

.btn-lg-k {
    padding: .8rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-ghost-k {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 10px;
    padding: .8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background .2s, color .2s;
    text-decoration: none;
    display: inline-block;
}

.btn-ghost-k:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

/* ─── HERO ─── */
.hero {
    background: linear-gradient(150deg, #0B1628 0%, #0D3530 60%, #0F4A41 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,184,166,.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,184,166,.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(16,184,166,.15);
    border: 1px solid rgba(16,184,166,.35);
    color: #5BE0D0;
    font-size: .8rem;
    font-weight: 500;
    padding: .35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--k-primary);
}

.hero p.lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.hero-stats .stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin-top: .2rem;
}

/* ─── PHONE MOCKUP ─── */
.phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-wrap::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,184,166,.25) 0%, transparent 70%);
}

.phone {
    width: 240px;
    background: #fff;
    border-radius: 40px;
    border: 7px solid #1E293B;
    box-shadow: 0 32px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.phone-notch {
    background: #1E293B;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch-pill {
    width: 72px; height: 8px;
    background: #0F172A;
    border-radius: 999px;
}

.phone-screen {
    padding: 1rem;
    background: #F8FAFC;
    min-height: 460px;
}

.phone-app-header {
    background: var(--k-primary);
    border-radius: 12px;
    padding: .75rem;
    color: #fff;
    margin-bottom: .75rem;
}

.phone-app-header .app-title { font-size: .7rem; font-weight: 600; opacity: .8; }
.phone-app-header .app-time  { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.phone-app-header .app-date  { font-size: .65rem; opacity: .75; }

.btn-fichar {
    width: 100%;
    padding: .7rem;
    border-radius: 12px;
    border: none;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: var(--k-accent);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.phone-entries { background: #fff; border-radius: 12px; padding: .5rem; }
.phone-entries-title { font-size: .62rem; font-weight: 600; color: var(--k-muted); text-transform: uppercase; letter-spacing: .06em; padding: .25rem .5rem; }

.entry-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .5rem;
    border-radius: 8px;
}

.entry-row:hover { background: var(--k-light); }

.entry-icon {
    width: 24px; height: 24px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
}

.entry-icon.in  { background: #DCFCE7; color: #16A34A; }
.entry-icon.out { background: #FEE2E2; color: #DC2626; }
.entry-icon.brk { background: #FEF9C3; color: #CA8A04; }

.entry-row .entry-text  { font-size: .65rem; color: var(--k-text); flex: 1; }
.entry-row .entry-hours { font-size: .62rem; color: var(--k-muted); font-weight: 600; }

/* ─── TRUST STRIP ─── */
.trust-strip {
    background: #fff;
    border-top: 1px solid var(--k-border);
    border-bottom: 1px solid var(--k-border);
    padding: 1rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--k-muted);
    font-weight: 500;
}

.trust-item i { color: var(--k-primary); font-size: 1.1rem; }

/* ─── WHY FICHAJE DIARIO ─── */
.why-section { background: #fff; padding: 5rem 0; }

.why-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.why-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--k-primary-light);
    color: var(--k-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-item h6 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--k-dark);
    margin-bottom: .3rem;
}

.why-item p {
    font-size: .875rem;
    color: var(--k-muted);
    line-height: 1.65;
    margin: 0;
}

/* Dashboard preview */
.dashboard-preview {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,.12);
    border: 1px solid var(--k-border);
    overflow: hidden;
}

.dp-header {
    background: var(--k-dark);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.dp-dots { display: flex; gap: .4rem; }
.dp-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}
.dp-dots span:nth-child(1) { background: #FF6553; }
.dp-dots span:nth-child(2) { background: #F59E0B; }
.dp-dots span:nth-child(3) { background: #10B8A6; }

.dp-title {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
}

.dp-body { padding: 1.25rem; background: var(--k-light); }

.dp-stats {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.dp-stat {
    flex: 1;
    background: #fff;
    border: 1px solid var(--k-border);
    border-radius: 12px;
    padding: .85rem .75rem;
    text-align: center;
}

.dp-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--k-dark);
    line-height: 1;
}

.dp-stat-label {
    font-size: .62rem;
    color: var(--k-muted);
    margin-top: .2rem;
    line-height: 1.3;
}

.dp-table-title {
    font-size: .7rem;
    font-weight: 600;
    color: var(--k-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .6rem;
}

.dp-table {
    background: #fff;
    border: 1px solid var(--k-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: .75rem;
}

.dp-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .85rem;
    border-bottom: 1px solid var(--k-border);
}

.dp-row:last-child { border-bottom: none; }

.dp-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--k-primary);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.dp-info { flex: 1; }
.dp-name { font-size: .75rem; font-weight: 600; color: var(--k-dark); }
.dp-sub  { font-size: .65rem; color: var(--k-muted); }

.dp-badge {
    font-size: .62rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 999px;
}

.dp-badge.in  { background: #DCFCE7; color: #16A34A; }
.dp-badge.out { background: #FEE2E2; color: #DC2626; }
.dp-badge.brk { background: #FEF9C3; color: #92400E; }

.dp-footer {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: var(--k-muted);
    padding: .25rem .1rem;
}

.dp-footer i { margin-right: .25rem; }
.dp-footer span:last-child { color: var(--k-primary); font-weight: 600; cursor: pointer; }

/* ─── FEATURES ─── */
.features-section { background: var(--k-light); padding: 5rem 0; }

.feature-card {
    background: #fff;
    border: 1px solid var(--k-border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
}

.feature-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    background: var(--k-primary-light);
    color: var(--k-primary);
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--k-dark);
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .875rem;
    color: var(--k-muted);
    line-height: 1.65;
    margin: 0;
}

/* ─── HOW IT WORKS ─── */
.how-section { background: #fff; padding: 5rem 0; }

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--k-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}

.step h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--k-dark);
    margin-bottom: .5rem;
}

.step p {
    font-size: .875rem;
    color: var(--k-muted);
    line-height: 1.65;
    max-width: 220px;
    margin: 0 auto;
}

.step-connector {
    position: absolute;
    top: 26px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--k-primary), var(--k-primary-light));
    z-index: 0;
}

/* ─── PRICING ─── */
.pricing-section { background: var(--k-light); padding: 5rem 0; }

.pricing-card {
    background: #fff;
    border: 2px solid var(--k-primary);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 16px 48px rgba(16,184,166,.15);
    position: relative;
}

.pricing-card .badge-popular {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--k-accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem 1.2rem;
    border-radius: 999px;
    letter-spacing: .05em;
}

.price-amount {
    display: flex;
    align-items: flex-end;
    gap: .25rem;
    margin: 1rem 0 .25rem;
}

.price-amount .euro {
    font-size: 2rem;
    font-weight: 700;
    color: var(--k-dark);
    line-height: 1;
    align-self: flex-start;
    margin-top: .35rem;
}

.price-amount .number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--k-dark);
    line-height: 1;
}

.price-amount .period {
    font-size: .85rem;
    color: var(--k-muted);
    line-height: 1;
    margin-bottom: .2rem;
}

.price-note {
    font-size: .8rem;
    color: var(--k-muted);
    margin-bottom: 1.75rem;
}

.pricing-features { list-style: none; padding: 0; margin: 0 0 2rem; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .9rem;
    color: var(--k-text);
    padding: .5rem 0;
    border-bottom: 1px solid var(--k-border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i { color: var(--k-primary); font-size: 1rem; flex-shrink: 0; }

.pricing-guarantees {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--k-muted);
}

.guarantee-item i { color: var(--k-primary); }

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, var(--k-primary) 0%, var(--k-primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white-k {
    background: #fff;
    color: var(--k-primary-dark);
    border: none;
    border-radius: 10px;
    padding: .85rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.btn-white-k:hover {
    color: var(--k-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ─── FOOTER ─── */
.k-footer {
    background: var(--k-dark);
    padding: 2.5rem 0 1.5rem;
    color: rgba(255,255,255,.55);
    font-size: .85rem;
}

.k-footer a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}

.k-footer a:hover { color: var(--k-primary); }

.k-footer .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
    .hero { padding: 3.5rem 0; }
    .phone-wrap { margin-top: 3rem; }
    .step-connector { display: none; }
}

@media (max-width: 575px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas a { text-align: center; }
    .trust-strip .row { gap: .75rem; }
    .pricing-guarantees { gap: 1rem; }
}
