/* ============================================
   FutureFolio — Premium Enterprise Website
   ============================================ */

/* --- Design Tokens --- */
:root {
    --navy: #0a1628;
    --navy-light: #0f1f38;
    --navy-mid: #162340;
    --violet: #6366f1;
    --violet-light: #818cf8;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --gradient-primary: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
    --gradient-dark: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
    --section-pad: clamp(80px, 10vw, 140px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 32px;
    transition: var(--transition);
}

.logo-dark {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.35) 0%, rgba(10, 22, 40, 0.7) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(251, 191, 36, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    animation: particleFloat 8s ease-in-out infinite, particleColor 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}

@keyframes particleColor {
    0%   { background: rgba(251, 191, 36, 0.7); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
    33%  { background: rgba(129, 140, 248, 0.7); box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }
    66%  { background: rgba(6, 182, 212, 0.65); box-shadow: 0 0 8px rgba(6, 182, 212, 0.35); }
    100% { background: rgba(251, 191, 36, 0.7); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 clamp(20px, 4vw, 40px);
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--violet), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Sections --- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-dark {
    background: var(--navy-light);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.65);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet-light);
    margin-bottom: 16px;
}

.section-title {
    color: var(--navy);
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

/* --- Problem Section --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 28px;
    transition: var(--transition);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.problem-card-icon {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.problem-callout {
    text-align: center;
}

.problem-callout blockquote {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    color: var(--amber-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    padding: 32px 0;
}

.problem-callout blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

/* --- Challenges --- */
.challenges-list {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-100);
}

.challenge-item:last-child {
    border-bottom: none;
}

.challenge-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 60px;
}

.challenge-content h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.challenge-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* --- Iceberg Section Background --- */
.section-iceberg {
    position: relative;
    overflow: hidden;
}

.iceberg-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.iceberg-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 120%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease, transform 8s ease-out;
}

.section-iceberg.iceberg-visible .iceberg-bg-img {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1.08);
}

.iceberg-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--navy) 0%, rgba(10, 22, 40, 0.45) 25%, rgba(10, 22, 40, 0.45) 75%, var(--navy) 100%);
}

.section-iceberg .container {
    position: relative;
    z-index: 1;
}

/* --- Iceberg --- */
.iceberg {
    max-width: 700px;
    margin: 0 auto;
}

.iceberg-above {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
    padding: 36px 32px;
}

.iceberg-line {
    height: 3px;
    background: var(--gradient-primary);
    position: relative;
}

.iceberg-line::after {
    content: 'Surface';
    position: absolute;
    right: 0;
    top: -12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    background: var(--navy);
    padding: 2px 12px;
}

.iceberg-below {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 36px 32px;
}

.iceberg-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet-light);
    margin-bottom: 16px;
    font-weight: 600;
}

.iceberg-item {
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 16px;
    position: relative;
}

.iceberg-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--violet-light);
}

.iceberg-item:last-child {
    border-bottom: none;
}

.iceberg-above .iceberg-item::before {
    background: var(--amber);
}

/* --- Solution Pillars --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.pillar {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.pillar:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08);
    transform: translateY(-6px);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.pillar-step {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet);
    margin-bottom: 12px;
}

.pillar h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.pillar p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Simplicity Statement --- */
.section-simplicity {
    background: var(--gray-50);
    padding: clamp(64px, 8vw, 100px) 0;
    text-align: center;
}

.simplicity-visual {
    max-width: 600px;
    margin: 0 auto 48px;
}

.scribble-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.scribble-line {
    stroke-dasharray: var(--line-length, 1000);
    stroke-dashoffset: var(--line-length, 1000);
    transition: none;
}

.scribble-tangle {
    --line-length: 800;
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

.scribble-clean {
    --line-length: 400;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

/* Animate when visible */
.simplicity-visual.animate .scribble-tangle {
    animation: drawScribble 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.simplicity-visual.animate .scribble-clean {
    animation: drawClean 1.2s cubic-bezier(0.25, 0, 0.2, 1) 1.6s forwards;
}

.simplicity-visual.animate .scribble-dot {
    animation: dotAppear 0.5s ease 2.6s forwards;
}

@keyframes drawScribble {
    0%   { stroke-dashoffset: 800; }
    100% { stroke-dashoffset: 0; }
}

@keyframes drawClean {
    0%   { stroke-dashoffset: 400; }
    100% { stroke-dashoffset: 0; }
}

@keyframes dotAppear {
    0%   { opacity: 0; r: 0; }
    50%  { opacity: 1; r: 7; }
    100% { opacity: 1; r: 5; }
}

.simplicity-content {
    max-width: 700px;
    margin: 0 auto;
}

.simplicity-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
    margin-bottom: 20px;
}

.simplicity-content h2 {
    color: var(--navy);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.simplicity-body {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* --- Solutions Grid --- */
.solutions-grid {
    max-width: 900px;
    margin: 0 auto;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr auto 1.4fr;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-row:last-child {
    border-bottom: none;
}

.solution-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet-light);
    margin-bottom: 6px;
    font-weight: 600;
}

.solution-challenge {
    font-weight: 600;
    font-size: 1rem;
}

.solution-arrow {
    width: 24px;
    height: 24px;
    color: var(--cyan);
}

.solution-answer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Outcomes --- */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.outcome-card {
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.outcome-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.06);
    transform: translateY(-4px);
}

.outcome-icon {
    width: 44px;
    height: 44px;
    color: var(--violet);
    margin-bottom: 20px;
}

.outcome-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.outcome-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* last row — 2 cards centered */
.outcomes-grid .outcome-card:nth-child(4) {
    grid-column: 1 / 2;
}

/* --- Roles --- */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.role-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    transition: var(--transition);
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
}

.role-icon {
    width: 36px;
    height: 36px;
    color: var(--cyan);
    margin-bottom: 16px;
}

.role-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.role-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}

.role-card:hover .role-avatar img {
    filter: grayscale(0%);
}

.role-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.role-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Trust / Enterprise --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.trust-item {
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.05);
}

.trust-icon {
    width: 40px;
    height: 40px;
    color: var(--violet);
    margin-bottom: 16px;
}

.trust-item h4 {
    color: var(--navy);
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* --- Vision --- */
.section-vision {
    position: relative;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.vision-bg {
    position: absolute;
    inset: 0;
    background:
        var(--navy)
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.vision-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 40px;
}

.vision-points p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.7;
}

.vision-points em {
    color: var(--amber-light);
    font-style: italic;
}

/* --- Founders --- */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    text-align: center;
    padding: 48px 36px;
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.founder-card:hover {
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.06);
}

.founder-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-initials {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.founder-card h3 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.founder-role {
    color: var(--violet);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.founder-bio {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.founder-credentials span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.founder-social {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gray-400);
    transition: var(--transition);
}

.founder-social:hover {
    color: var(--violet);
}

.founder-social svg {
    width: 18px;
    height: 18px;
}

/* --- Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-step {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-step-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.contact-step h4 {
    margin-bottom: 6px;
}

.contact-step p {
    font-size: 0.9rem;
}

.contact-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--violet);
    background: rgba(99, 102, 241, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    margin-top: 8px;
}

.contact-email {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
}

.contact-email a {
    color: var(--cyan);
    font-weight: 500;
}

.contact-email a:hover {
    color: var(--white);
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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);
    }

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

    .pillars {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .solution-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .solution-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

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

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

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

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .founder-card {
        padding: 36px 24px;
    }
}

/* --- Smooth gradient border effect on hover for cards --- */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* --- Selection color --- */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--white);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}
