/* ========================================
   AlgoIn Capital - Qualified Investors LP
   Institutional Premium Design
   ======================================== */

/* ===================
   0. SVG ICON SYSTEM
   =================== */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    flex-shrink: 0;
}

.icon-spin {
    animation: iconSpin 1s linear infinite;
}

@keyframes iconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================
   1. RESET & BASE
   =================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Heebo', sans-serif;
    background: #FFFFFF;
    color: #3A4355;
    line-height: 1.75;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===================
   2. TYPOGRAPHY
   =================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    color: #000000;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: #000000;
}

/* ===================
   3. LAYOUT
   =================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.desktop-br {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.section-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: #2C3344;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 350;
}

/* ===================
   4. HEADER
   =================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 54px;
    width: auto;
}

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

.nav-links a {
    color: #3A4355;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #0267B2;
}

.nav-cta {
    background: #0267B2;
    color: #FFFFFF;
    padding: 10px 28px;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.nav-cta:hover {
    background: #055A9A;
    color: #FFFFFF;
}

/* ===================
   5. HERO
   =================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0267B2;
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 36px;
}

.badge .icon {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.hero-title {
    font-size: clamp(64px, 11vw, 128px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 32px;
    color: #000000;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: clamp(17px, 2.2vw, 20px);
    color: #000000;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 2;
    font-weight: 300;
}

.hero-sub strong {
    font-weight: 600;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0267B2;
    color: #fff;
    padding: 16px 40px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
    transition: background 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(2, 103, 178, 0.25);
}

.cta-btn .icon {
    width: 16px;
    height: 16px;
}

.cta-btn:hover {
    background: #055A9A;
}

.primary-cta {
    margin-bottom: 64px;
    font-size: 19px;
    padding: 18px 52px;
}

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
}

.trust-item {
    text-align: center;
    flex: 0 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    direction: ltr;
    height: 64px;
}

.trust-number {
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    color: #0267B2;
    line-height: 1;
    letter-spacing: -0.03em;
}

.trust-plus {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #0267B2;
}

.trust-label {
    display: block;
    font-size: 13px;
    color: #3A4458;
    margin-top: 8px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.06);
}

/* ===================
   5b. VIDEO SECTION
   =================== */
.video-section {
    padding: 80px 0;
    background: #F3F4F8;
}

.video-section .container {
    max-width: 1400px;
}

.video-row {
    display: grid;
    grid-template-columns: 3fr 2fr;
    direction: ltr;
    border-radius: 0;
    background: #FFFFFF;
    padding: 0;
    gap: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-right: 4px solid #0267B2;
}

.video-row .section-header {
    margin-bottom: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0 60px;
    overflow: hidden;
    align-self: stretch;
}

.video-row .cta-btn {
    width: 50%;
    direction: rtl;
    margin-bottom: 0;
}

.video-section .video-section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 12px;
}

.video-row .section-sub {
    font-size: clamp(14px, 1.2vw, 17px);
    text-align: right;
    margin: 0;
    max-width: none;
}

.video-wrapper {
    margin: 0;
    display: flex;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.video-row .video-container {
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: transparent;
    border: none;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: hidden;
    background: #0F2744;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F2744 0%, #2A3448 100%);
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.2);
}

.video-poster-logo {
    width: 120px;
    margin-bottom: 32px;
    opacity: 0.5;
    border-radius: 0;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(8px);
}

.video-play-btn svg {
    margin-right: -3px;
}

.video-duration {
    margin-top: 20px;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}

/* ===================
   6. PHILOSOPHY
   =================== */
.philosophy {
    padding: 80px 0;
    background: #FFFFFF;
}

.philosophy-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: nowrap;
}

.philosophy-step {
    flex: 1 1 0;
    text-align: center;
    padding: 40px 28px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.philosophy-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0267B2;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #0267B2;
}

.step-icon .icon {
    width: 56px;
    height: 56px;
}

.step-icon.analysis { color: #0267B2; }
.step-icon.warning { color: #0267B2; }
.step-icon.protection { color: #0267B2; }

.philosophy-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000000;
}

.philosophy-step p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    align-self: center;
    color: #0267B2;
    font-size: 20px;
}

.step-arrow .icon {
    width: 28px;
    height: 28px;
}

.philosophy-quote {
    max-width: 750px;
    margin: 0 auto;
    padding: 32px 40px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    position: relative;
    text-align: center;
}

.quote-icon {
    color: rgba(0, 0, 0, 0.15);
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    display: block;
}

.philosophy-quote p {
    font-size: clamp(18px, 2vw, 21px);
    font-weight: 400;
    color: #2A3448;
    line-height: 1.7;
}

/* ===================
   7. CRISIS / TIMELINE
   =================== */
.crisis {
    padding: 80px 0 40px;
    background: #F3F4F8;
    overflow: hidden;
}

.timeline-wrapper {
    overflow: hidden;
    padding-bottom: 8px;
    margin-bottom: 48px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.timeline-track {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    direction: rtl;
    position: relative;
    padding: 0 80px;
    gap: 120px;
}

.timeline-track::before {
    display: none;
}

.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 220px;
}

.timeline-content {
    text-align: center;
    margin-bottom: 20px;
    direction: rtl;
}

.timeline-year-label {
    display: block;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.timeline-below {
    text-align: center;
    margin-top: 12px;
    direction: rtl;
}

.timeline-event-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #6B7486;
    margin-top: 2px;
}

.timeline-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

.timeline-badge {
    display: block;
    text-align: center;
    font-family: 'Inter', 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 0;
    letter-spacing: 0.01em;
    direction: rtl;
    white-space: nowrap;
}

.timeline-badge strong {
    font-weight: 800;
    margin-right: 4px;
}

.badge-snp {
    color: #333333;
    background: #FFFFFF;
    border: 0.5px solid rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #0267B2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.badge-ta {
    color: #333333;
    background: #FFFFFF;
    border: 0.5px solid rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #0267B2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: #0267B2;
    border-radius: 50%;
    border: 3px solid #F3F4F8;
    box-shadow: 0 0 0 2px #0267B2;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -600px;
    right: -600px;
    height: 2px;
    background: rgba(0, 0, 0, 0.10);
    transform: translateY(-50%);
    z-index: -1;
}


/* ===================
   8. PILLARS
   =================== */
.pillars {
    padding: 80px 0;
    background: #FFFFFF;
}

.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.pillars-grid .pillar-card {
    flex: 0 1 calc((100% - 48px) / 3);
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 40px 28px;
    text-align: center;
    transition: border-color 0.3s;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0267B2;
}

.pillar-card:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #0267B2;
}

.pillar-icon .icon {
    width: 64px;
    height: 64px;
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #000000;
}

.pillar-card p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.7;
}

/* ===================
   9. YOUR ACCOUNT
   =================== */
.your-account {
    padding: 80px 0;
    background: #F3F4F8;
    display: none; /* hidden for now, remove this line to bring it back */
}

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

.account-feature {
    text-align: center;
    padding: 44px 28px;
    background: #FFFFFF;
    border: none;
    border-radius: 0;
}

.account-feature:hover {
}

.account-feature-bridge {
    background: #FFFFFF;
    border: none;
    position: relative;
}

.account-feature-bridge::before,
.account-feature-bridge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 2px;
    background: rgba(2, 103, 178, 0.25);
}

.account-feature-bridge::before {
    right: -28px;
}

.account-feature-bridge::after {
    left: -28px;
}

.account-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #0267B2;
}

.account-feature-icon .icon {
    width: 56px;
    height: 56px;
}

.account-feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000000;
}

.account-feature p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.7;
}

/* ===================
   10. EDGE
   =================== */
.edge {
    padding: 80px 0;
    background: #F3F4F8;
}

.edge-card {
    background: #F8FAFB;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.edge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(0, 0, 0, 0.06) 50%, transparent 95%);
}

.edge-header {
    text-align: center;
    margin-bottom: 48px;
}

.edge-header h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 12px;
    color: #000000;
}

.edge-header p {
    color: #2C3344;
    font-size: 18px;
}

.edge-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.edge-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.edge-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0267B2;
}

.edge-feature-icon .icon {
    width: 52px;
    height: 52px;
}

.edge-feature-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #000000;
}

.edge-feature-content p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.6;
}

.edge-school {
    padding: 32px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 0;
    text-align: center;
}

.edge-school-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 103, 178, 0.06);
    color: #0267B2;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.edge-school-badge .icon {
    width: 16px;
    height: 16px;
}

.edge-school p {
    font-size: 17px;
    color: #2C3344;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.edge-school strong {
    color: #0267B2;
}

/* ===================
   11. ABOUT
   =================== */
.about {
    padding: 80px 0;
    background: #FFFFFF;
}

.about-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 48px 56px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: #0267B2;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 48px;
}

.about-image-wrap {
    flex-shrink: 0;
    width: 300px;
    border-radius: 0;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    transform: scale(1.3);
    transform-origin: 65% 51%;
}

.about-name-block {
    margin-bottom: 20px;
}

.about-name-block h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.about-title {
    font-size: 15px;
    color: #0267B2;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.85;
    color: #000000;
    font-weight: 300;
}

.about-result {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.about-result p {
    color: #2A3448 !important;
    margin-bottom: 0;
}

.about-result strong {
    color: #0267B2;
}

.about-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #3A4458;
}

.achievement .icon {
    color: #0267B2;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ===================
   12. QUALIFIED INVESTOR
   =================== */
.qualified {
    padding: 80px 0;
    background: #F3F4F8;
}

.qualify-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.qualify-card {
    background: #F8FAFB;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.qualify-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0267B2;
}

.qualify-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #0267B2;
}

.qualify-icon .icon {
    width: 52px;
    height: 52px;
}

.qualify-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000000;
}

.qualify-card p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.7;
}

.qualify-card strong {
    font-family: 'Inter', 'Heebo', sans-serif;
    color: #0267B2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.qualify-card-wide {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.qualify-legal {
    text-align: center;
    font-size: 13px;
    color: #3A4458;
    max-width: 800px;
    margin: 0 auto 4px;
    line-height: 1.7;
}

.qualify-note {
    text-align: center;
    font-size: 16px;
    color: #2C3344;
    margin-top: 24px;
}

.qualify-note a {
    color: #0267B2;
    font-weight: 500;
    border-bottom: 1px solid rgba(2, 103, 178, 0.2);
    transition: border-color 0.3s;
}

.qualify-note a:hover {
    border-bottom-color: #0267B2;
}

/* ===================
   13. PROCESS
   =================== */
.process {
    padding: 80px 0;
    background: #FFFFFF;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0267B2;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #0267B2;
}

.process-icon .icon {
    width: 56px;
    height: 56px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #000000;
}

.process-step p {
    font-size: 15px;
    color: #2C3344;
    line-height: 1.7;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: rgba(0, 0, 0, 0.12);
    margin-top: 22px;
    flex-shrink: 0;
}

/* ===================
   14. CONTACT / FORM
   =================== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F8 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.contact-info {
    background: #0F2744;
    color: #FFFFFF;
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-badge {
    display: inline-block;
    background: rgba(2, 103, 178, 0.2);
    color: #7BB8E0;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 0;
    margin-bottom: 20px;
    width: fit-content;
    letter-spacing: 0.01em;
}

.contact-info h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: #FFFFFF;
    margin-bottom: 12px;
}

.contact-info h2 .gradient-text {
    color: #7BB8E0;
}

.contact-info-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-trust-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-trust-icon {
    width: 36px;
    height: 36px;
    background: rgba(2, 103, 178, 0.15);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7BB8E0;
}

.contact-trust-icon .icon {
    width: 18px;
    height: 18px;
}

.contact-trust-item strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.4;
}

.contact-trust-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.contact-legal-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.5;
}

.contact-legal-note .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contact-card {
    background: #FFFFFF;
    padding: 48px 40px;
}

.contact-card-header {
    margin-bottom: 28px;
}

.contact-card-header h3 {
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.contact-card-header p {
    font-size: 14px;
    color: #5A6272;
}

/* Floating label form fields */
.form-group {
    position: relative;
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 22px 20px 10px 44px;
    background: #FFFFFF;
    border: 1.5px solid #D5DAE3;
    border-radius: 0;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a2e;
    outline: none;
    transition: all 0.25s ease;
    direction: rtl;
}

.form-group input::placeholder {
    color: transparent;
}

.form-label {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #8A92A2;
    pointer-events: none;
    transition: all 0.25s ease;
    transform-origin: right center;
}

.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    color: #0267B2;
    font-weight: 500;
}

.form-group input:not(:focus):not(:placeholder-shown) ~ .form-label {
    color: #8A92A2;
}

.form-group input:focus {
    border-color: #0267B2;
    box-shadow: 0 0 0 3px rgba(2, 103, 178, 0.08);
}

.form-group input.valid {
    border-color: #0267B2;
}

.form-group input.invalid {
    border-color: #B85C5C;
    box-shadow: 0 0 0 3px rgba(184, 92, 92, 0.08);
}

.form-group input.invalid ~ .form-label {
    color: #B85C5C;
}

.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #B0B7C5;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.25s ease;
}

.field-icon .icon {
    width: 16px;
    height: 16px;
}

.form-group input:focus ~ .field-icon {
    color: #0267B2;
}

.form-group input.valid ~ .field-icon {
    color: #0267B2;
}

.validation-icon {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.form-group input.valid ~ .validation-icon::after {
    content: '\2713';
    color: #0267B2;
    opacity: 1;
}

.form-group input.invalid ~ .validation-icon::after {
    content: '\2717';
    color: #B85C5C;
    opacity: 1;
}

.form-group input.valid ~ .validation-icon,
.form-group input.invalid ~ .validation-icon {
    opacity: 1;
}

/* Select dropdown */
.form-group select {
    width: 100%;
    padding: 18px 20px 18px 40px;
    background: #FFFFFF;
    border: 1.5px solid #D5DAE3;
    border-radius: 0;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a2e;
    outline: none;
    transition: all 0.25s ease;
    direction: rtl;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A92A2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

.form-group select.placeholder {
    color: #8A92A2;
}

.form-group select:focus {
    border-color: #0267B2;
    box-shadow: 0 0 0 3px rgba(2, 103, 178, 0.08);
}

.form-group select option {
    color: #1a1a2e;
}

.form-group select option:disabled {
    color: #8A92A2;
}

.consent-text a {
    color: #0267B2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-text a:hover {
    color: #055A9A;
}

/* Consent */
.consent-group {
    margin: 12px 0;
}

.consent-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #5A6272;
}

.consent-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid #D5DAE3;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.consent-label:hover .checkbox-custom {
    border-color: #0267B2;
}

.consent-label input:checked ~ .checkbox-custom {
    background: #0267B2;
    border-color: #0267B2;
}

.consent-label input:checked ~ .checkbox-custom::after {
    content: '\2713';
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.consent-error {
    display: none;
    color: #B85C5C;
    font-size: 13px;
    margin-top: 6px;
    padding-right: 30px;
}

.consent-error.show {
    display: block;
}

/* Submit */
.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.01em;
    margin-top: 8px;
    border-radius: 0;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn .btn-loader {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-privacy {
    text-align: center;
    font-size: 12px;
    color: #8A92A2;
    margin-top: 20px;
    letter-spacing: 0.01em;
}

/* ===================
   15. FOOTER
   =================== */
.footer {
    padding: 56px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 24px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: #3A4458;
    line-height: 1.8;
    margin-bottom: 6px;
    font-weight: 300;
}

.footer-copy {
    font-size: 13px;
    color: #6B7486;
}

/* ===================
   16. FLOATING CTA
   =================== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
    padding: 14px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-cta.visible {
    transform: translateY(0);
}

.floating-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.floating-text {
    font-size: 16px;
    color: #3A4355;
    font-weight: 500;
}

.floating-btn {
    padding: 10px 44px;
    font-size: 15px;
    font-weight: 600;
}

/* ===================
   17. MODAL
   =================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    padding: 48px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    color: #0267B2;
    margin-bottom: 20px;
}

.modal-icon .icon {
    width: 56px;
    height: 56px;
}

.modal-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
}

.modal-content p {
    color: #2C3344;
    margin-bottom: 28px;
    font-size: 16px;
}

.modal-close-btn {
    padding: 12px 32px;
    font-size: 16px;
}

/* ===================
   17b. POPUP FORM MODAL
   =================== */
.popup-form-modal {
    max-width: 520px;
    padding: 40px 36px;
    text-align: right;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #6B7486;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.popup-close:hover {
    background: #F3F4F8;
    color: #000000;
}

.popup-header {
    margin-bottom: 12px;
    text-align: center;
}

.popup-header h3 {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 6px;
}

.popup-header p {
    font-size: 14px;
    color: #6B7486;
    margin-bottom: 0;
}

/* Qualification options */
.qualify-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.qualify-option {
    cursor: pointer;
    display: block;
}

.qualify-option input[type="radio"] {
    display: none;
}

.qualify-option-box {
    display: block;
    padding: 14px 18px;
    border: 1px solid #D5DAE3;
    border-radius: 0;
    transition: all 0.2s ease;
}

.qualify-option:hover .qualify-option-box {
    border-color: #0267B2;
    background: rgba(2, 103, 178, 0.03);
}

.qualify-option input:checked ~ .qualify-option-box {
    border-color: #0267B2;
    background: rgba(2, 103, 178, 0.06);
    box-shadow: none;
}

.qualify-option-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2px;
}

.qualify-option-desc {
    display: block;
    font-size: 13px;
    color: #6B7486;
    line-height: 1.5;
}

.qualify-error {
    display: none;
    color: #B85C5C;
    font-size: 13px;
    margin-top: 4px;
}

.qualify-error.show {
    display: block;
}

.popup-step .submit-btn {
    margin-top: 8px;
}

.popup-step .submit-btn .icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -2px;
}

.contact-card-solo {
    grid-column: 1 / -1;
}

/* Contact card CTA layout */
.contact-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-card-cta .contact-card-header {
    margin-bottom: 32px;
}

.contact-card-cta .contact-card-header p {
    font-size: 16px;
    color: #6B7486;
    line-height: 1.7;
    max-width: 400px;
}

.contact-card-cta .submit-btn {
    width: auto;
    padding: 18px 80px;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-card-cta .submit-btn .icon {
    width: 16px;
    height: 16px;
}

.contact-card-cta .form-privacy {
    margin-top: 20px;
}

/* ===================
   18. ANIMATIONS (disabled)
   =================== */

/* ===================
   19. RESPONSIVE
   =================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .pillars-grid .pillar-card {
        flex: 0 1 calc((100% - 24px) / 2);
    }

    .edge-features {
        grid-template-columns: 1fr;
    }

    .edge-card {
        padding: 40px 32px;
    }

    .about-card {
        padding: 40px 36px;
    }

    .account-features {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .desktop-br {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(48px, 14vw, 72px);
    }

    .primary-cta {
        padding: 14px 32px;
        font-size: 17px;
        margin-bottom: 48px;
    }

    .trust-row {
        gap: 24px;
    }

    .trust-number {
        font-size: 36px;
        line-height: 1;
    }

    .trust-plus {
        line-height: 1;
    }

    .trust-divider {
        height: 36px;
    }

    .trust-number-wrap {
        height: auto;
        margin-bottom: 0;
    }

    .trust-label {
        font-size: 12px;
        margin-top: 0;
    }

    /* Video */
    .video-row {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 0;
        direction: rtl;
        border-radius: 0;
        padding: 24px 24px 140px;
        padding-right: 24px;
        border-right: none;
        border-bottom: 4px solid #0267B2;
        position: relative;
        box-shadow: none;
    }

    .video-row .video-wrapper {
        box-shadow: none;
    }

    .video-row .section-header {
        display: contents;
    }

    .video-row .video-section-title,
    .video-row .section-sub {
        text-align: center;
        order: 1;
        padding: 0 16px;
    }

    .video-row .section-sub {
        margin-bottom: 24px;
    }

    .video-row .video-wrapper {
        width: 100%;
        max-width: none;
        order: 2;
        display: block;
    }

    .video-row .video-container {
        aspect-ratio: 16 / 9;
    }

    .video-row .cta-btn {
        position: absolute;
        bottom: 16px;
        left: 80px;
        right: 80px;
        width: auto;
        margin-top: 0 !important;
    }

    .video-section .cta-wrapper {
        margin-top: 48px;
    }

    .video-section .video-section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .video-section {
        padding: 80px 0;
    }

    .video-poster-logo {
        width: 80px;
        margin-bottom: 24px;
    }

    .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .video-play-btn svg {
        width: 48px;
        height: 48px;
    }

    /* Philosophy */
    .philosophy {
        padding: 80px 0;
    }

    .philosophy-steps {
        flex-direction: column;
        align-items: center;
    }

    .philosophy-step {
        max-width: 400px;
        width: 100%;
        flex: none;
    }

    .step-arrow {
        padding-top: 0;
        transform: rotate(-90deg);
    }

    .philosophy-quote {
        padding: 24px;
    }

    .pillars-cta {
        padding-top: 60px !important;
    }

    /* Crisis / Timeline */
    .crisis {
        padding: 80px 0;
    }

    .timeline-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-track {
        min-width: 0;
        width: 100%;
        padding: 0 16px;
        gap: 8px;
        justify-content: space-between;
    }

    .timeline-dot {
        border-color: #F3F4F8;
        box-shadow: 0 0 0 2px #0267B2, 0 0 0 6px #F3F4F8;
        z-index: 2;
    }

    .timeline-dot::before {
        left: -200px;
        right: -200px;
        background: #E6E6E6;
        z-index: -1;
    }

    .timeline-year-label {
        font-size: 22px;
    }

    .timeline-event-name {
        font-size: 13px;
    }

    .timeline-badge {
        font-size: 12px;
        padding: 3px 8px;
    }

    .timeline-badge strong {
        font-size: 12px;
    }

    /* Pillars */
    .pillars {
        padding: 80px 0;
    }

    .pillars-grid .pillar-card {
        flex: 0 1 100%;
        max-width: 400px;
    }

    .pillars-cta {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }

    .pillars-cta p {
        font-size: 17px !important;
    }

    /* Your Account */
    .your-account {
        padding: 80px 0;
    }

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

    /* Edge */
    .edge {
        padding: 80px 0;
    }

    .edge-card {
        padding: 32px 24px;
    }

    .edge-school {
        padding: 24px 20px;
    }

    /* About */
    .about {
        padding: 60px 0;
    }

    .about-card {
        padding: 24px 20px;
    }

    .about-card::after {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: 4px;
    }

    .about-result {
        border-top: none;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image-wrap {
        width: 100%;
        height: 280px;
    }

    .about-text {
        text-align: center;
    }

    .about-name-block {
        text-align: center;
    }

    .about-achievements {
        align-items: center;
    }

    .achievement {
        text-align: center;
    }

    /* Qualified */
    .qualified {
        padding: 80px 0;
    }

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

    /* Process */
    .process {
        padding: 80px 0;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    /* Contact */
    .contact {
        padding: 64px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .contact-info {
        padding: 36px 24px;
    }

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

    /* Section header */
    .section-header {
        margin-bottom: 48px;
    }

    /* Form fields - more space between label and input text */
    .form-group input {
        padding: 28px 20px 10px 44px;
    }

    .form-group input:focus ~ .form-label,
    .form-group input:not(:placeholder-shown) ~ .form-label {
        top: 8px;
    }

    /* Popup form */
    .popup-form-modal {
        max-width: 100%;
        padding: 56px 20px 32px;
        border-radius: 0;
        max-height: 85vh;
    }

    .popup-header {
        text-align: center;
    }

    .popup-header h3 {
        font-size: 28px;
        font-weight: 700;
    }

    .popup-step .submit-btn {
        margin-top: 0;
    }

    .popup-step .consent-group {
        margin: 12px 0;
    }

    /* Nav CTA */
    .nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Floating CTA */
    .floating-text {
        display: none;
    }

    .floating-btn {
        width: 100%;
        text-align: center;
    }

    .floating-cta-inner {
        padding: 0 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-disclaimer p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 52px;
    }

    .trust-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 32px;
    }

    .trust-item {
        flex: 0 1 auto;
    }

    .trust-item:last-child {
        flex-basis: 100%;
        text-align: center;
    }

    .trust-divider {
        display: none;
    }

    .trust-number-wrap {
        height: auto;
    }

    .trust-number {
        font-size: 36px;
    }

    .trust-plus {
        font-size: 20px;
    }

    .trust-label {
        font-size: 13px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .logo {
        height: 42px;
    }
}
