/* =========================================================
   FitnessGuru — Global Styles
   Mobile-first, dark theme, neon-green accent
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent:      #b5ff3c;
    --accent-dark: #8ecc2a;
    --bg:          #0d0d0d;
    --bg-card:     #181818;
    --bg-card2:    #1f1f1f;
    --text:        #f0f0f0;
    --muted:       #888;
    --border:      #2a2a2a;
    --radius:      12px;
    --nav-h:       64px;
    --max-w:       1120px;
    --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 8vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: #bbb; }

/* --- Layout helpers --- */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section { padding-block: 5rem 4rem; }
.section--tight { padding-block: 3rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding-inline: 1.25rem;
    background: rgba(13,13,13,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: border-color .3s;
}

.nav__inner {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}
.nav__logo span { color: var(--accent); }

.nav__links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }

.nav__cta {
    display: none;
    padding: .5rem 1.25rem;
    background: var(--accent);
    color: #0d0d0d !important;
    font-weight: 700;
    border-radius: 999px;
    font-size: .85rem;
    transition: background .2s, transform .15s;
}
.nav__cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav__burger {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .45rem .55rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav__burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #111;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    gap: .5rem;
    z-index: 99;
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
    padding: .75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover,
.nav__drawer a.active { color: var(--text); }
.nav__drawer .nav__cta {
    display: inline-block;
    margin-top: .75rem;
    width: fit-content;
}

/* Desktop overrides */
@media (min-width: 768px) {
    .nav { padding-inline: 2rem; }
    .nav__links { display: flex; }
    .nav__cta { display: inline-block; }
    .nav__burger { display: none; }
}

/* Page offset for fixed nav */
main { padding-top: var(--nav-h); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: 5rem 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 30%, rgba(181,255,60,.08) 0%, transparent 70%),
        linear-gradient(180deg, #0d0d0d 0%, #111 100%);
    z-index: 0;
}

.hero__grid {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.hero__eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hero__title { margin-bottom: 1.25rem; }
.hero__title em {
    font-style: normal;
    color: var(--accent);
}

.hero__desc {
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
}

.hero__stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero__stat {
    background: var(--bg-card2);
    border-radius: 8px;
    padding: 1rem;
}
.hero__stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.hero__stat-label {
    font-size: .75rem;
    color: var(--muted);
    margin-top: .2rem;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--bg-card2);
    border-radius: 8px;
    padding: .85rem 1rem;
    font-size: .85rem;
    font-weight: 600;
}
.hero__badge-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    border: none;
    transition: all .2s;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #0d0d0d;
}
.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(181,255,60,.25);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--ghost:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services__header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}
.services__header p { margin-top: .75rem; }

.tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(181,255,60,.1);
    padding: .3rem .75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.services__grid {
    display: grid;
    gap: 1.25rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color .25s, transform .25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(181,255,60,.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}

.service-card:hover {
    border-color: rgba(181,255,60,.35);
    transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
    border-color: rgba(181,255,60,.4);
}
.service-card--featured::before { opacity: 1; }

.service-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(181,255,60,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card__popular {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0d0d0d;
    background: var(--accent);
    padding: .25rem .65rem;
    border-radius: 999px;
}

.service-card h3 { margin-bottom: .5rem; }
.service-card p  { font-size: .9rem; margin-bottom: 1.25rem; }

.service-card__price {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    margin-bottom: 1.25rem;
}
.service-card__amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
}
.service-card__period { font-size: .85rem; color: var(--muted); }

.service-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1.75rem;
}
.service-card__features li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    color: #bbb;
}
.service-card__features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(181,255,60,.15);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23b5ff3c' d='M13 4L6.5 11 3 7.5'  stroke='%23b5ff3c' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 640px) {
    .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   PROCESS / STEPS
   ========================================================= */
.process__header {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}
.process__header p { margin-top: .75rem; }

.steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step__num {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(181,255,60,.12);
    border: 1px solid rgba(181,255,60,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
    color: var(--accent);
}

.step h3 { margin-bottom: .35rem; }
.step p  { font-size: .9rem; }

@media (min-width: 768px) {
    .steps {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials__header {
    text-align: center;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 3rem;
}
.testimonials__header p { margin-top: .75rem; }

.testimonials__grid {
    display: grid;
    gap: 1.25rem;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.testimonial__stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial__text {
    font-size: .95rem;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: var(--accent);
    flex-shrink: 0;
}

.testimonial__name { font-weight: 600; font-size: .9rem; }
.testimonial__role { font-size: .78rem; color: var(--muted); }

@media (min-width: 768px) {
    .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(181,255,60,.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 { margin-bottom: .75rem; }
.cta-banner p  { max-width: 480px; margin-inline: auto; margin-bottom: 2rem; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
    padding-block: 5rem 3rem;
    min-height: calc(60svh - var(--nav-h));
    display: flex;
    align-items: center;
}

.about-hero__grid {
    display: grid;
    gap: 3rem;
}

.about-hero__visual {
    display: flex;
    justify-content: center;
}

.about-avatar {
    position: relative;
    width: 240px;
}

.about-avatar__img {
    width: 240px;
    height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--muted);
}

.about-avatar__badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--accent);
    color: #0d0d0d;
    font-weight: 800;
    font-size: .8rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.about-hero__eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.about-hero__title { margin-bottom: 1.25rem; }
.about-hero__desc  { font-size: 1rem; margin-bottom: 1.75rem; max-width: 540px; }

@media (min-width: 900px) {
    .about-hero__grid {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
    .about-avatar { width: 280px; }
    .about-avatar__img { width: 280px; height: 360px; }
}

/* --- Credentials --- */
.creds {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.cred {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .5rem .9rem;
    font-size: .82rem;
    font-weight: 600;
}
.cred__icon { font-size: 1rem; }

/* --- Bio section --- */
.bio__grid {
    display: grid;
    gap: 2.5rem;
}

.bio__content h2 { margin-bottom: 1rem; }
.bio__content p  { margin-bottom: 1rem; }

.bio__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bio__stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}
.bio__stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.bio__stat-label {
    font-size: .78rem;
    color: var(--muted);
    margin-top: .3rem;
}

@media (min-width: 768px) {
    .bio__grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .bio__stats { grid-template-columns: repeat(2, 1fr); }
}

/* --- Specialties --- */
.specialties__grid {
    display: grid;
    gap: 1rem;
}

.specialty {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.specialty__icon {
    width: 44px;
    height: 44px;
    background: rgba(181,255,60,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.specialty h3 { margin-bottom: .2rem; font-size: 1rem; }
.specialty p  { font-size: .83rem; }

@media (min-width: 640px) {
    .specialties__grid { grid-template-columns: 1fr 1fr; }
}

/* --- Social / Connect --- */
.social-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.social__header {
    text-align: center;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}
.social__header p { margin-top: .75rem; }

.social__grid {
    display: grid;
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: border-color .25s, transform .2s;
    cursor: pointer;
}
.social-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-card__logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.social-card__info { flex: 1; }
.social-card__name { font-weight: 700; font-size: .95rem; }
.social-card__handle { font-size: .8rem; color: var(--muted); }

.social-card__arrow {
    color: var(--muted);
    font-size: 1.1rem;
    transition: color .2s, transform .2s;
}
.social-card:hover .social-card__arrow { color: var(--accent); transform: translateX(3px); }

/* Social brand colors */
.social-card--instagram .social-card__logo { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-card--youtube   .social-card__logo { background: #ff0000; }
.social-card--tiktok    .social-card__logo { background: #010101; border: 1px solid #333; }
.social-card--twitter   .social-card__logo { background: #000; border: 1px solid #333; }
.social-card--facebook  .social-card__logo { background: #1877f2; }

@media (min-width: 640px) {
    .social__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .social__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-block: 2.5rem;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

.footer__logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.footer__logo span { color: var(--accent); }

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    list-style: none;
    justify-content: center;
}
.footer__nav a {
    font-size: .85rem;
    color: var(--muted);
    transition: color .2s;
}
.footer__nav a:hover { color: var(--text); }

.footer__copy {
    font-size: .8rem;
    color: var(--muted);
}

/* =========================================================
   DIVIDER
   ========================================================= */
.section-divider {
    height: 1px;
    background: var(--border);
    margin-inline: 1.25rem;
}

/* =========================================================
   Scroll reveal (JS adds class)
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
