:root {
    --bg-body: #020617;
    --bg-section: #020617;
    --color-primary: #38bdf8;
    --color-primary-soft: rgba(56,189,248,0.12);
    --color-accent: #facc15;
    --color-text: #e5e7eb;
    --color-muted: #9ca3af;
    --color-border: rgba(148,163,184,0.4);

    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-pill: 999px;

    --shadow-soft: 0 20px 60px rgba(15,23,42,0.85);
    --shadow-card: 0 18px 40px rgba(15,23,42,0.9);

    --font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);

    /* Clean, consistent dark background */
    background-color: #020617;

    /* Optional: very subtle glow at the top, same hue family */
    background-image: radial-gradient(circle at 20% 0, rgba(56,189,248,0.12), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(var(--max-width), 100% - 2.5rem);
    margin-inline: auto;
}

/* ================= HEADER / NAV ================= */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(
        to bottom,
        rgba(2,6,23,0.95),
        rgba(2,6,23,0.82),
        transparent
    );
    border-bottom: 1px solid rgba(148,163,184,0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.9rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* remove circle, border, background & heavy shadow */
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    color: var(--color-muted);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #f9fafb;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-pill {
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.22), transparent);
}

.nav-pill span {
    font-size: 1rem;
    color: #22c55e;
}
/* Keep header layout stable (brand left, nav area right) */
.nav-right{
    display:flex;
    align-items:center;
    gap:0.75rem;
}

/* If any old checkbox/radio was added earlier, hide it (removes the "dot") */
.nav input[type="checkbox"],
.nav input[type="radio"]{
    display:none !important;
}

/* Hamburger button (hidden on desktop; shown on mobile via media query) */
.nav-toggle-btn{
    display:none;
    width:44px;
    height:44px;
    border-radius: var(--radius-pill);
    border:1px solid rgba(148,163,184,0.5);
    background: rgba(15,23,42,0.75);
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.nav-toggle-icon{
    position:relative;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#e5e7eb;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after{
    content:"";
    position:absolute;
    left:0;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#e5e7eb;
    transition: transform 0.18s ease, top 0.18s ease;
}
.nav-toggle-icon::before{ top:-6px; }
.nav-toggle-icon::after{  top: 6px; }

.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon{
    background: transparent;
}
.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon::before{
    top:0;
    transform: rotate(45deg);
}
.nav-toggle-btn[aria-expanded="true"] .nav-toggle-icon::after{
    top:0;
    transform: rotate(-45deg);
}



/* ================= HERO ================= */

main {
    flex: 1;
}

.hero {
    padding: 3.4rem 0 2.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148,163,184,0.5);
    padding: 0.35rem 0.9rem;
    background: rgba(15,23,42,0.9);
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.eyebrow-badge {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.35);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.4vw, 2.9rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.hero-title span {
    background: linear-gradient(90deg, #e5e7eb, #facc15);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 38rem;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 1.4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #0b1120;
    box-shadow: 0 22px 50px rgba(56,189,248,0.7);
}

.btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.96);
    color: var(--color-muted);
    font-size: 0.86rem;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(249,250,251,0.8);
    color: #e5e7eb;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.hero-meta strong {
    color: #f9fafb;
}

.hero-card {
    background: radial-gradient(circle at top left,
        rgba(56,189,248,0.35),
        rgba(15,23,42,0.98));
    border-radius: 26px;
    padding: 1.4rem 1.35rem 1.55rem;
    border: 1px solid rgba(148,163,184,0.55);
    box-shadow: var(--shadow-card);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-chip {
    padding: 0.28rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(45,212,191,0.8);
    background: rgba(6,95,70,0.5);
    font-size: 0.7rem;
    color: #a7f3d0;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.hero-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(15,23,42,0.85);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 0.2rem;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.hero-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-stat-note {
    font-size: 0.7rem;
    color: #bfdbfe;
}

/* ================= SECTIONS ================= */

section {
    padding: 2.4rem 0;
}

.section-header {
    margin-bottom: 1.8rem;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.93rem;
    color: var(--color-muted);
    max-width: 42rem;
    line-height: 1.7;
}

.page-intro {
    padding-top: 3rem;
}

/* Two-column layout */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
}

/* Bullet list */

.bullet-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.bullet-list li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.bullet-dot {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-top: 0.08rem;
}

/* Feature grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.feature-card {
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.15rem;
    border: 1px solid rgba(31,41,55,0.96);
    background: radial-gradient(circle at top left,
        rgba(56,189,248,0.18),
        rgba(15,23,42,0.98));
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: radial-gradient(circle at top left,
        var(--color-accent),
        var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

.feature-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-text {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.7;
}

/* Modules grid */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.module-card {
    border-radius: var(--radius-md);
    padding: 0.95rem 1rem;
    border: 1px solid rgba(31,41,55,0.95);
    background: rgba(15,23,42,0.96);
}

.module-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.module-tag {
    font-size: 0.72rem;
    color: #a5b4fc;
    margin-bottom: 0.4rem;
}

.module-text {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Outcomes */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.3rem;
    margin-top: 1.4rem;
}

.stat-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(55,65,81,0.95);
    background: rgba(15,23,42,0.96);
    padding: 1rem 1.1rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.stat-caption {
    font-size: 0.78rem;
    color: #a5b4fc;
    margin-top: 0.35rem;
}

/* Testimonials */

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.testimonial-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31,41,55,0.98);
    background: radial-gradient(circle at top left,
        rgba(56,189,248,0.22),
        rgba(15,23,42,0.98));
    padding: 1.35rem 1.25rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.stars {
    color: #facc15;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-quote {
    font-size: 0.88rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0.7rem;
}

.testimonial-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* CTA */

.cta-section {
    padding-bottom: 3rem;
}

.cta-box {
    border-radius: 24px;
    border: 1px solid rgba(55,65,81,0.95);
    background: radial-gradient(circle at top left,
        rgba(56,189,248,0.35),
        rgba(15,23,42,1));
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.cta-text {
    max-width: 30rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.cta-subtitle {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* FAQ */

.faq-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(31,41,55,0.96);
    background: rgba(15,23,42,0.98);
    padding: 0.9rem 1rem;
}

.faq-q {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.faq-a {
    font-size: 0.83rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Floating WhatsApp button (bottom-right) */
.floating-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366; /* WhatsApp green */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    color: #020617;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    z-index: 60;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55);
}

/* Icon inside the floating WhatsApp button */
.floating-whatsapp img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

/* ============ CONTACT FORM ============ */

.contact-form {
    display: grid;
    gap: 0.9rem;
    max-width: 420px;
    width: 100%;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.contact-field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: var(--color-muted);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.95);
    color: var(--color-text);
    outline: none;
}

.contact-field textarea {
    border-radius: var(--radius-lg);
    resize: vertical;
    min-height: 90px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(148,163,184,0.8);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(56,189,248,0.4);
}

.contact-note {
    font-size: 0.78rem;
    color: var(--color-muted);
}

.contact-submit {
    width: 100%;
    justify-content: center;
}

/* ============ AUTH / LOGIN ============ */

.auth-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.auth-card {
    border-radius: 24px;
    border: 1px solid rgba(55,65,81,0.95);
    background: radial-gradient(circle at top left,
        rgba(56,189,248,0.35),
        rgba(15,23,42,1));
    padding: 1.6rem 1.6rem 1.8rem;
    box-shadow: var(--shadow-soft);
    max-width: 430px;
    margin-left: auto;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.auth-subtitle {
    font-size: 0.86rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.auth-alt-link {
    font-size: 0.8rem;
    margin-top: 0.8rem;
    color: var(--color-muted);
}

.auth-alt-link a {
    color: var(--color-primary);
    text-decoration: underline;
}

.auth-note {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-top: 0.6rem;
}

@media (max-width: 980px) {
    .auth-card {
        margin-left: 0;
        margin-top: 1.5rem;
    }
}

/* FOOTER */

footer {
    border-top: 1px solid rgba(31,41,55,0.96);
    padding: 1.4rem 0 1.8rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.1rem;
}

/* RESPONSIVE */

/* RESPONSIVE (CLEAN) */

/* Hide any stray checkbox/radio that might still be in the header (removes the “dot”) */
header input[type="checkbox"],
header input[type="radio"]{
  display:none !important;
}

/* If you kept <span>●</span> inside .nav-pill, hide it and draw the dot via CSS instead */
.nav-pill span{ display:none !important; }
.nav-pill::before{
  content:"●";
  color:#22c55e;
  margin-right:0.5rem;
  font-size:1rem;
}

/* Mobile nav */
@media (max-width: 980px){

  /* Show hamburger */
  .nav-toggle-btn{
    display:inline-flex !important;
  }

  /* Dropdown menu panel (closed by default) */
  .nav-links{
    display:none !important;
    position: fixed;
    top: 74px;               /* below sticky header */
    left: 1.25rem;
    right: 1.25rem;
    max-width: 520px;
    margin: 0 auto;

    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;

    padding: 0.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148,163,184,0.35);
    background: rgba(2,6,23,0.98);
    box-shadow: var(--shadow-card);
    z-index: 9999;

    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  /* Open state (your JS toggles this class) */
  .nav-links.is-open{
    display:flex !important;
  }

  .nav-links a{
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    color: #f9fafb;
  }

  .nav-links a::after{ display:none; }

  .nav-links a:hover{
    background: rgba(56,189,248,0.12);
    color: #f9fafb;
  }

  .nav-links .nav-pill{
    justify-content:center;
    width:100%;
    margin-top:0.25rem;
  }
}

/* Footer stack */
@media (max-width: 640px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===========================
   MOBILE LAYOUT FIXES
   Paste at END of your CSS
   =========================== */

/* Prevent “text spills out of box” issues */
.hero-grid > *,
.two-column > *,
.feature-grid > *,
.modules-grid > *,
.stats-row > *,
.testimonials > * {
  min-width: 0;
}

.feature-title,
.module-title,
.section-title,
.hero-title,
.testimonial-quote,
.nav-links a,
.nav-pill,
.btn-primary,
.btn-secondary {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Collapse multi-column layouts on mobile */
@media (max-width: 980px) {
  /* Tighter container on small screens */
  .container {
    width: min(var(--max-width), 100% - 1.5rem);
  }

  /* Header brand text doesn’t push layout */
  .brand-text {
    max-width: 52vw;
  }
  .brand-title,
  .brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* HERO becomes single column */
  .hero {
    padding: 2.2rem 0 1.6rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  /* Buttons stack nicely */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Cards spacing */
  .hero-card {
    padding: 1.1rem 1.05rem 1.2rem;
  }
  .hero-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  /* 2-column content -> 1-column */
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  /* 3-column grids -> 1-column */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* 2-column grids -> 1-column */
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact form row -> single column */
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  /* CTA box padding tighter */
  .cta-box {
    padding: 1.2rem 1.05rem;
  }

  /* Reduce section padding */
  section {
    padding: 1.8rem 0;
  }
}

/* Extra small screens */
@media (max-width: 420px) {
  .brand-title { font-size: 0.95rem; }
  .brand-subtitle { font-size: 0.65rem; }

  .hero-title { font-size: 2.05rem; }
  .section-title { font-size: 1.35rem; }

  .feature-card,
  .testimonial-card,
  .faq-item,
  .module-card {
    padding: 1rem 0.95rem;
  }
}

