:root {
    --midnight: #0b1f4d;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --success: #16a34a;
    --warning: #f59e0b;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.1);
    --container: 1200px;
}

[data-theme="dark"] {
    --background: #0f172a;
    --background-alt: #111c31;
    --surface: #1e293b;
    --text: #ffffff;
    --muted: #cbd5e1;
    --border: rgba(226, 232, 240, 0.14);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "Inter", "Poppins", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.alt-section {
    background: var(--background-alt);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 80px;
    background: color-mix(in srgb, var(--background) 92%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    color: var(--midnight);
    font-family: "Inter", "Poppins", sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1;
}

[data-theme="dark"] .brand-link {
    color: #ffffff;
}

.brand-link span:nth-child(2) {
    color: var(--blue);
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-left: auto;
}

.primary-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.primary-nav a:hover {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle,
.nav-toggle {
    border: 1px solid var(--border);
    color: var(--midnight);
    background: var(--surface);
    cursor: pointer;
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .nav-toggle {
    color: #ffffff;
}

.theme-toggle {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    border-radius: 8px;
}

.nav-toggle-line {
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    color: var(--midnight);
    background: transparent;
    border-color: var(--midnight);
}

[data-theme="dark"] .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
}

.btn-small {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 14px;
}

.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 30%),
        var(--background);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--text);
    font-size: clamp(42px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.16;
}

h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

p {
    color: var(--muted);
}

.hero-subtitle {
    max-width: 660px;
    margin-bottom: 34px;
    font-size: 20px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow-hover);
}

.hero-metric-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 260px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-metric-card strong,
.hero-metric-card span {
    display: block;
}

.hero-metric-card strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
}

.hero-metric-card span {
    color: var(--muted);
    font-size: 13px;
}

.stats-section {
    padding: 28px 0;
    background: var(--midnight);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
}

.stat-card {
    padding: 28px;
    background: var(--midnight);
}

.stat-card strong {
    display: block;
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 600;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
    text-align: center;
}

.section-heading p {
    font-size: 18px;
}

.feature-grid,
.course-grid,
.testimonial-grid,
.blog-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feature-card,
.course-card,
.testimonial-card,
.blog-card {
    padding: 28px;
}

.card-icon,
.course-tag,
.blog-card span,
.timeline-item span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 42px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.trainer-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
}

.trainer-card img {
    width: 180px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    object-fit: cover;
    object-position: center 100%;
}

.course-card ul {
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.featured-course {
    border-color: color-mix(in srgb, var(--blue) 46%, var(--border));
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.12);
}

.journey-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.journey-grid .btn {
    margin-top: 12px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.timeline-item {
    padding: 26px;
    border-left: 3px solid var(--blue);
    border-radius: 16px;
    background: var(--background-alt);
}

.testimonial-card p {
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    color: var(--text);
}

.testimonial-card span {
    color: var(--muted);
    font-size: 14px;
}

.youtube-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.youtube-panel div {
    max-width: 680px;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
    padding: 24px 26px;
}

.faq-item summary {
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.faq-item p {
    margin: 16px 0 0;
}

.contact-section {
    color: #ffffff;
    background: var(--midnight);
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
    color: #ffffff;
}

.contact-section p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
    gap: 64px;
    align-items: start;
}

.contact-card {
    padding: 34px;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
}

.contact-card strong,
.contact-card a {
    display: block;
}

.contact-card strong {
    color: var(--text);
    font-size: 14px;
}

.contact-card a {
    overflow-wrap: anywhere;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
}

.disclaimer-section {
    padding: 26px 0;
    background: #081633;
}

.disclaimer-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #ffffff;
    background: #25d366;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.floating-whatsapp svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.72);
}

.whatsapp-modal.is-open {
    display: flex;
}

.whatsapp-modal-panel {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-hover);
}

.whatsapp-modal-panel h2 {
    font-size: clamp(28px, 4vw, 36px);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: var(--background-alt);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.launch-form {
    display: grid;
    gap: 14px;
}

input,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--background);
    font-size: 16px;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    border-color: var(--blue);
}

.site-footer {
    padding: 56px 0 28px;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.8fr;
    gap: 42px;
}

.footer-brand {
    margin-bottom: 18px;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--blue);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.register-page-bg {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.08), transparent 30%),
        var(--background-alt);
}

.form-container {
    width: min(720px, calc(100% - 40px));
    margin: 80px auto;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-container form {
    display: grid;
    gap: 14px;
}

.divider {
    margin: 24px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.whatsapp-button {
    width: 100%;
}

.reveal {
    animation: slideUp 520ms ease both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        order: 5;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 10px 0 4px;
        border-top: 1px solid var(--border);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        min-height: 44px;
        padding: 10px 8px;
    }

    .hero-grid,
    .journey-grid,
    .contact-grid,
    .split-heading {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        gap: 48px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .course-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .trainer-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .trainer-card img {
        width: 150px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 82px;
    }

    body {
        font-size: 16px;
    }

    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .section {
        padding: 60px 0;
    }

    .header-actions {
        order: 4;
        width: 100%;
    }

    .header-actions .btn {
        flex: 1;
    }

    .theme-toggle {
        flex: 0 0 auto;
    }

    h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions,
    .youtube-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .youtube-panel .btn,
    .contact-section .btn,
    .launch-form .btn {
        width: 100%;
    }

    .stats-grid,
    .team-grid,
    .timeline,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-metric-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .trainer-card {
        grid-template-columns: 1fr;
    }

    .trainer-card img {
        width: min(100%, 220px);
    }

    .youtube-panel {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container,
    .form-container {
        width: calc(100% - 28px);
    }

    .site-header {
        min-height: 72px;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-link {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .primary-nav {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        padding-inline: 20px;
    }

    .btn-small,
    .theme-toggle {
        width: auto;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stat-card,
    .feature-card,
    .course-card,
    .testimonial-card,
    .blog-card,
    .contact-card,
    .faq-item,
    .trainer-card {
        padding: 22px;
    }

    .whatsapp-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .whatsapp-modal-panel {
        max-height: calc(100dvh - 24px);
        padding: 32px 18px 18px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        min-height: 52px;
    }

    .form-container {
        margin: 36px auto;
        padding: 26px 18px;
    }
}
