/* ============================================
   Decision Clarity by Lumiel
   Stylesheet
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-mid: #121f36;
    --navy-light: #1a2d4a;
    --teal: #2ec4b6;
    --teal-light: #5eddd0;
    --teal-glow: rgba(46, 196, 182, 0.15);
    --teal-subtle: rgba(46, 196, 182, 0.08);
    --white: #f8fafb;
    --gray-100: #e8ecf0;
    --gray-200: #c9d1da;
    --gray-300: #94a3b8;
    --gray-400: #64748b;
    --gray-500: #475569;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-dark: #1a2d4a;
    --text-dark-secondary: #475569;
    --surface: #0f1b2e;
    --surface-light: #f1f5f9;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Container */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 196, 182, 0.1);
}
.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: color 0.3s var(--ease-out);
    letter-spacing: 0.01em;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-300);
    transition: all 0.3s var(--ease-out);
    border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(46, 196, 182, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(46, 196, 182, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.hero-glow {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: glow-float 8s ease-in-out infinite alternate;
}
@keyframes glow-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, -40px); }
}
.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--white);
}
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--gray-300);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Page Hero (About, Contact)
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 60%, rgba(46, 196, 182, 0.06) 0%, transparent 70%),
        var(--navy);
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}
.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--teal);
    color: var(--navy);
}
.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 196, 182, 0.25);
}
.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid rgba(46, 196, 182, 0.4);
}
.btn-outline:hover {
    border-color: var(--teal);
    background: rgba(46, 196, 182, 0.08);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 100px 0; }
.section-eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal);
    margin-bottom: 12px;
}
.section-eyebrow.center { text-align: center; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}
.section-title.center { text-align: center; }
.section-body {
    font-size: 1.05rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 16px;
}
.section-intro {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.75;
}
.section-intro.center { text-align: center; }

/* ============================================
   Problem Section
   ============================================ */
.section-problem {
    background: var(--navy-mid);
    border-top: 1px solid rgba(46, 196, 182, 0.06);
    border-bottom: 1px solid rgba(46, 196, 182, 0.06);
}
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.problem-text, .problem-visual {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
.problem-text.visible, .problem-visual.visible {
    opacity: 1;
    transform: translateY(0);
}
.gap-card {
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(46, 196, 182, 0.15);
}
.gap-card-top {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.12) 0%, rgba(46, 196, 182, 0.03) 100%);
}
.gap-card-bottom {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}
.gap-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}
.gap-card p {
    font-size: 0.92rem;
    color: var(--gray-300);
    line-height: 1.6;
}
.gap-icon {
    font-size: 1.4rem;
    color: var(--teal);
    display: block;
    margin-bottom: 10px;
}
.gap-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
.gap-divider span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    position: relative;
    padding: 0 20px;
}
.gap-divider span::before, .gap-divider span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--gray-500);
}
.gap-divider span::before { right: 100%; }
.gap-divider span::after { left: 100%; }

/* ============================================
   Capabilities
   ============================================ */
.section-capabilities {
    background: var(--navy);
}
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.capability-card {
    padding: 36px 28px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(46, 196, 182, 0.08);
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}
.capability-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.capability-card:nth-child(2).visible { transition-delay: 0.1s; }
.capability-card:nth-child(3).visible { transition-delay: 0.2s; }
.capability-card:nth-child(4).visible { transition-delay: 0.3s; }
.capability-card:nth-child(5).visible { transition-delay: 0.4s; }
.capability-card:nth-child(6).visible { transition-delay: 0.5s; }
.capability-card:hover {
    border-color: rgba(46, 196, 182, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.capability-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--teal);
}
.capability-icon svg { width: 100%; height: 100%; }
.capability-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}
.capability-card p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
    border-top: 1px solid rgba(46, 196, 182, 0.08);
}
.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
.cta-inner.visible {
    opacity: 1;
    transform: translateY(0);
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--white);
}
.cta-inner p {
    font-size: 1.05rem;
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Mission Section (About)
   ============================================ */
.section-mission {
    background: var(--navy-mid);
    border-top: 1px solid rgba(46, 196, 182, 0.06);
}
.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}
.mission-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
.mission-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.mission-principles { display: flex; flex-direction: column; gap: 24px; }
.principle {
    padding: 24px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid rgba(46, 196, 182, 0.08);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s var(--ease-out);
}
.principle.visible {
    opacity: 1;
    transform: translateX(0);
}
.principle:nth-child(2).visible { transition-delay: 0.1s; }
.principle:nth-child(3).visible { transition-delay: 0.2s; }
.principle:nth-child(4).visible { transition-delay: 0.3s; }
.principle-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}
.principle h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--white);
}
.principle p {
    font-size: 0.92rem;
    color: var(--gray-300);
    line-height: 1.6;
}

/* ============================================
   Team Section (About)
   ============================================ */
.section-team {
    background: var(--navy);
}
.team-section-label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
    margin-bottom: 24px;
    margin-top: 60px;
}

/* Founder Card */
.founder-card {
    margin-top: 48px;
    padding: 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.06) 0%, var(--surface) 100%);
    border: 1px solid rgba(46, 196, 182, 0.12);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
.founder-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.founder-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--navy);
    flex-shrink: 0;
}
.founder-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}
.founder-role {
    font-size: 0.95rem;
    color: var(--teal);
    font-weight: 500;
    margin-top: 2px;
}
.founder-bio {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 14px;
}
.founder-links {
    margin-top: 20px;
    display: flex;
    gap: 16px;
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
    transition: color 0.3s var(--ease-out);
}
.social-link:hover { color: var(--teal-light); }
.social-link svg { flex-shrink: 0; }

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.team-card {
    padding: 32px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(46, 196, 182, 0.08);
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}
.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.team-card:nth-child(2).visible { transition-delay: 0.15s; }
.team-card:hover {
    border-color: rgba(46, 196, 182, 0.2);
    transform: translateY(-3px);
}
.team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy-light);
    border: 1.5px solid rgba(46, 196, 182, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--teal);
    margin-bottom: 16px;
}
.team-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.team-role {
    font-size: 0.92rem;
    color: var(--teal);
    font-weight: 500;
}
.team-location {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 14px;
}
.team-bio {
    font-size: 0.92rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 16px;
}
.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.team-skills span {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(46, 196, 182, 0.1);
    color: var(--teal);
    border: 1px solid rgba(46, 196, 182, 0.15);
}

/* ============================================
   Contact Section
   ============================================ */
.section-contact {
    background: var(--navy-mid);
    border-top: 1px solid rgba(46, 196, 182, 0.06);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-block {
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}
.contact-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-block:nth-child(2).visible { transition-delay: 0.1s; }
.contact-block:nth-child(3).visible { transition-delay: 0.2s; }
.contact-block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}
.contact-link {
    font-size: 1.05rem;
    color: var(--teal);
    transition: color 0.3s var(--ease-out);
}
.contact-link:hover { color: var(--teal-light); }
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list li {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.6;
}
.contact-card {
    padding: 48px 36px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(46, 196, 182, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-card-icon {
    color: var(--teal);
    margin-bottom: 20px;
    opacity: 0.8;
}
.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}
.contact-card p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(46, 196, 182, 0.08);
    background: var(--navy);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 40px;
    width: auto;
    border-radius: 6px;
    margin-bottom: 12px;
}
.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}
.footer-nav h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-300);
    margin-bottom: 16px;
}
.footer-nav a, .footer-contact a {
    display: block;
    font-size: 0.92rem;
    color: var(--gray-400);
    padding: 4px 0;
    transition: color 0.3s var(--ease-out);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--teal); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid rgba(46, 196, 182, 0.1);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 0; }
    .nav-link::after { display: none; }

    .hero { min-height: auto; padding: 120px 24px 60px; }
    .hero-title { font-size: 2rem; }

    .problem-grid { grid-template-columns: 1fr; gap: 40px; }
    .capabilities-grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; gap: 48px; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .founder-card { padding: 28px; }
    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .page-hero-title { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}
