@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --cv-dark-base: #10161D;
    --cv-dark-surface: #1A222C;
    --cv-light-space: #F4F7FB;
    --cv-light-ink: #2A3644;
    --cv-accent-vivid: #00E5C0;
    --cv-accent-mute: #00B395;
    --cv-heart-grad: linear-gradient(135deg, #00E5C0, #008DCC);
    --cv-white-pure: #FFFFFF;
    
    --type-display: 'Playfair Display', serif;
    --type-reading: 'Lato', sans-serif;
    
    --space-gap: 10dvh;
    --shape-soft: 16px;
    --shape-pill: 999px;
    --shadow-raise: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--type-reading);
    background-color: var(--cv-light-space);
    color: var(--cv-light-ink);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--type-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Layout Boundaries */
.cv-bound-box {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Interactive Element */
.cv-action-pill {
    display: inline-block;
    background: var(--cv-heart-grad);
    color: var(--cv-dark-base);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--shape-pill);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cv-action-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-raise);
    color: var(--cv-dark-base);
}

.cv-ghost-pill {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--cv-accent-vivid);
    color: var(--cv-accent-vivid);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: var(--shape-pill);
    transition: all 0.3s ease;
}

.cv-ghost-pill:hover {
    background: var(--cv-accent-vivid);
    color: var(--cv-dark-base);
}

/* Header Area */
.cv-top-bar {
    background-color: var(--cv-dark-surface);
    color: var(--cv-white-pure);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-raise);
}

.cv-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.cv-brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--type-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cv-accent-vivid);
}

.cv-brand-mark svg {
    width: 32px;
    height: 32px;
    fill: var(--cv-accent-vivid);
}

.cv-nav-links {
    display: flex;
    gap: 2rem;
}

.cv-nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.cv-nav-links a:hover {
    color: var(--cv-accent-vivid);
}

.cv-mobile-toggle {
    display: none;
}

.cv-burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.cv-burger-icon span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--cv-white-pure);
    transition: 0.3s;
}

/* Footer Area */
.cv-bottom-zone {
    background-color: var(--cv-dark-base);
    color: var(--cv-white-pure);
    padding: calc(var(--space-gap) * 0.8) 0;
    text-align: center;
}

.cv-foot-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cv-foot-links a {
    margin: 0 12px;
    font-size: 0.9rem;
    color: var(--cv-accent-mute);
}

.cv-foot-links a:hover {
    color: var(--cv-accent-vivid);
    text-decoration: underline;
}

.cv-disclaimer-text {
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Index: Hero Area */
.cv-main-entrance {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('img/bg.webp') center/cover no-repeat;
}

.cv-entrance-shade {
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 29, 0.65);
}

.cv-entrance-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cv-white-pure);
    max-width: 800px;
    margin: 0 auto;
}

.cv-entrance-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.cv-entrance-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Floating Stats */
.cv-float-metrics {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.cv-metrics-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cv-metric-box {
    background-color: var(--cv-dark-surface);
    color: var(--cv-white-pure);
    padding: 30px 20px;
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    flex: 1 1 200px;
    max-width: 260px;
    border-bottom: 3px solid var(--cv-accent-vivid);
}

.cv-metric-num {
    font-size: 2.5rem;
    font-family: var(--type-display);
    color: var(--cv-accent-vivid);
    font-weight: 700;
    margin-bottom: 8px;
}

/* Zigzag Content */
.cv-zigzag-flow {
    padding: var(--space-gap) 0;
}

.cv-zig-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: var(--space-gap);
}

.cv-zig-row:last-child {
    margin-bottom: 0;
}

.cv-zig-pic {
    flex: 0 0 45%;
}

.cv-zig-pic img {
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-raise);
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.cv-zig-pic.slanted-right img {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.cv-zig-pic.slanted-left img {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.cv-zig-text {
    flex: 1;
}

.cv-zig-text h2 {
    font-size: 2.2rem;
    color: var(--cv-dark-base);
}

/* Habit Features Grid */
.cv-habits-matrix {
    padding: var(--space-gap) 0;
    background-color: var(--cv-white-pure);
}

.cv-habits-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.cv-matrix-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cv-habit-cell {
    background: var(--cv-light-space);
    padding: 30px;
    border-radius: var(--shape-soft);
    border-left: 4px solid var(--cv-accent-vivid);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cv-habit-cell:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-raise);
}

.cv-habit-cell svg {
    width: 40px;
    height: 40px;
    fill: var(--cv-dark-surface);
    margin-bottom: 16px;
}

.cv-habit-cell h3 {
    font-size: 1.4rem;
    color: var(--cv-dark-base);
}

/* Process Timeline */
.cv-learning-path {
    padding: var(--space-gap) 0;
}

.cv-path-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.cv-path-stream {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.cv-path-stream::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cv-accent-mute);
    transform: translateX(-50%);
}

.cv-path-step {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    padding-right: 40px;
    position: relative;
    margin-bottom: 40px;
}

.cv-path-step:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 40px;
    margin-left: 50%;
}

.cv-step-marker {
    position: absolute;
    right: -24px;
    width: 48px;
    height: 48px;
    background: var(--cv-dark-surface);
    border: 3px solid var(--cv-accent-vivid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cv-white-pure);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
}

.cv-path-step:nth-child(even) .cv-step-marker {
    left: -24px;
    right: auto;
}

.cv-step-info {
    background: var(--cv-white-pure);
    padding: 24px;
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-raise);
    width: 100%;
}

/* CTA Strip */
.cv-final-call {
    position: relative;
    padding: calc(var(--space-gap) * 1.2) 0;
    background: url('img/bg.webp') center/cover fixed;
    text-align: center;
    color: var(--cv-white-pure);
}

.cv-final-shade {
    position: absolute;
    inset: 0;
    background: rgba(26, 34, 44, 0.85);
}

.cv-call-content {
    position: relative;
    z-index: 2;
}

.cv-call-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Expert Page */
.cv-tiny-entrance {
    position: relative;
    padding: var(--space-gap) 0;
    background: url('img/bg.webp') center/cover;
    text-align: center;
    color: var(--cv-white-pure);
}

.cv-tiny-shade {
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 29, 0.75);
}

.cv-tiny-content {
    position: relative;
    z-index: 2;
}

.cv-bio-split {
    padding: var(--space-gap) 0;
}

.cv-bio-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cv-bio-img {
    flex: 1;
}

.cv-bio-img img {
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-heavy);
}

.cv-bio-text {
    flex: 1;
}

.cv-bio-text h2 {
    font-size: 2.4rem;
    color: var(--cv-dark-base);
}

/* Reserve Form */
.cv-form-zone {
    padding: var(--space-gap) 0;
    background: var(--cv-light-space);
}

.cv-form-box {
    background: var(--cv-white-pure);
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-raise);
}

.cv-form-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cv-dark-surface);
}

.cv-input-group {
    margin-bottom: 20px;
}

.cv-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--cv-dark-base);
}

.cv-input-group input, .cv-input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.cv-check-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.cv-check-group input {
    margin-top: 4px;
}

.cv-submit-area {
    text-align: center;
}

.cv-mail-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--cv-accent-mute);
    font-weight: 700;
}

/* Info Cards Info Zone */
.cv-info-deck {
    padding: var(--space-gap) 0 0;
}

.cv-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.cv-info-card {
    background: var(--cv-white-pure);
    padding: 30px;
    border-radius: var(--shape-soft);
    box-shadow: var(--shadow-raise);
    border-top: 4px solid var(--cv-accent-vivid);
}

.cv-info-card svg {
    width: 48px;
    height: 48px;
    fill: var(--cv-dark-surface);
    margin-bottom: 16px;
}

.cv-info-card ul {
    list-style: none;
    margin-top: 16px;
}

.cv-info-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cv-info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--cv-accent-vivid);
    border-radius: 50%;
}

/* FAQ Accordion (CSS Only) */
.cv-faq-zone {
    padding: var(--space-gap) 0;
    max-width: 800px;
    margin: 0 auto;
}

.cv-faq-title {
    text-align: center;
    margin-bottom: 2rem;
}

.cv-faq-item {
    background: var(--cv-white-pure);
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 24px;
}

.cv-faq-item h3 {
    margin-bottom: 12px;
    color: var(--cv-dark-surface);
    font-size: 1.2rem;
}

/* Legal Pages */
.cv-legal-zone {
    padding: var(--space-gap) 0;
    min-height: 100vh;
    background: var(--cv-white-pure);
}

.cv-legal-zone h1, .cv-legal-zone h2 {
    color: var(--cv-dark-base);
    margin-top: 2rem;
}

.cv-legal-zone p {
    margin-bottom: 1rem;
}

/* Cookie Banner */
.cv-cookie-tray {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--cv-dark-surface);
    color: var(--cv-white-pure);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    justify-content: center;
}

.cv-cookie-tray.active {
    transform: translateY(0);
}

.cv-cookie-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    width: 100%;
}

.cv-cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

.cv-cookie-actions button {
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

#accept-cookie {
    background: var(--cv-accent-vivid);
    color: var(--cv-dark-base);
}

#decline-cookie {
    background: transparent;
    color: var(--cv-white-pure);
    border: 1px solid var(--cv-white-pure);
}

/* Responsive Rules */
@media (max-width: 992px) {
    .cv-zig-row, .cv-bio-row {
        flex-direction: column;
    }
    .cv-path-stream::before {
        left: 24px;
    }
    .cv-path-step {
        width: 100%;
        justify-content: flex-start;
        padding-left: 64px;
        padding-right: 0;
    }
    .cv-path-step:nth-child(even) {
        margin-left: 0;
    }
    .cv-step-marker {
        left: 0 !important;
    }
}

@media (max-width: 768px) {
    .cv-burger-icon {
        display: flex;
    }
    .cv-nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--cv-dark-surface);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        transform: translateY(-150%);
        transition: 0.3s;
        z-index: -1;
    }
    .cv-mobile-toggle:checked ~ .cv-nav-links {
        transform: translateY(0);
        box-shadow: var(--shadow-heavy);
    }
    .cv-matrix-wrap {
        grid-template-columns: 1fr;
    }
    .cv-cookie-flex {
        flex-direction: column;
        text-align: center;
    }
}