/* CSS Design System Tokens based on Figma Spec */
:root {
    /* Color Palette */
    --color-bg-primary: #1F548D;       /* Figma Body Blue */
    --color-bg-secondary: #0A3260;     /* Figma Dark Blue */
    --color-bg-tinted: #153F70;        /* Figma Medium Blue */
    --color-bg-light: #EEF6F2;         /* Figma Light Greenish-Gray */
    --color-white: #FFFFFF;
    
    --color-teal: #20B89F;             /* Figma Accent Teal */
    --color-teal-dark: #2BB8A5;        /* Figma Darker Teal */
    --color-yellow: #F6C63D;           /* Figma Accent Yellow */
    --color-yellow-alt: #FBB935;       /* Figma Yellow Accent 2 */
    --color-yellow-dark: #F4CF00;      /* Figma Darker Yellow */
    --color-green: #07963B;            /* Figma Green */
    --color-green-alt: #35AA59;        /* Figma Green 2 */
    
    /* Fonts */
    --font-family: 'Inter', sans-serif;
    
    /* Layout */
    --container-max-width: 1346px;
    --border-radius-lg: 32px;
    --border-radius-md: 24px;
    --border-radius-sm: 16px;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(10 50 96 / 0.15);
    --transition-standard: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-white);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 47px;
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo Design (Cropped Pixel-Perfect Image) */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo-img {
    height: 36px; /* Render at exact cropped size to prevent blurry upscaling */
    width: auto;
    display: block;
    transition: var(--transition-standard);
}

.logo:hover .navbar-logo-img {
    transform: scale(1.05);
}

/* Button UI System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: underline;
    border-radius: 999px;
    font-size: 15px;
    line-height: 18px;
    transition: var(--transition-standard);
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background-color: var(--color-yellow);
    color: #0A3260;
    padding: 15px 32px;
}

.btn-primary:hover {
    background-color: var(--color-yellow-alt);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px 0 rgba(246, 198, 61, 0.35);
}

.btn-secondary {
    background-color: var(--color-yellow);
    color: #0A3260;
    padding: 15px 36px;
}

.btn-secondary:hover {
    background-color: var(--color-yellow-alt);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px 0 rgba(246, 198, 61, 0.3);
}

.btn-nav {
    padding: 12px 28px;
    text-decoration: underline;
    font-weight: 800;
}

.btn-nav:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: rgba(0, 0, 0, 0.62);
    padding: 60px 0 100px 0;
    min-height: 665px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 630px;
}

.hero-title {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 82px;
    line-height: 99px;
    letter-spacing: -2px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.highlight-teal { color: var(--color-teal); }
.highlight-yellow { color: var(--color-yellow-alt); }
.highlight-white { color: var(--color-white); }

.hero-subtitle {
    font-size: 20px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 620px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 36px;
    text-decoration: underline;
}

.btn-arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* Hero Graphic - Precise Figma Overlay Coordinates */
.hero-graphic {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.figma-graphic-card {
    position: relative;
    width: 420px;
    height: 520px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.figma-circle {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    object-fit: contain;
}

/* Parallax floating animations for circles */
@keyframes floatYellow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -15px) scale(1.03); }
}

@keyframes floatGreen {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-14px, 12px) scale(0.97); }
}

@keyframes floatBlue {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, 14px); }
}

.yellow-circle-layer {
    width: 331px;
    height: 292px;
    left: 170px;
    top: -14px;
    z-index: 2;
    animation: floatYellow 12s ease-in-out infinite;
}

.green-circle-layer {
    width: 260px;
    height: 260px;
    left: -18px;
    top: 236px;
    z-index: 2;
    animation: floatGreen 14s ease-in-out infinite;
}

.blue-circle-layer {
    width: 250px;
    height: 250px;
    left: 92px;
    top: 166px;
    z-index: 1;
    animation: floatBlue 16s ease-in-out infinite;
}

.figma-circle-overlay {
    position: absolute;
    width: 162px;
    height: 162px;
    left: 136px;
    top: 210px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    z-index: 3;
    pointer-events: none;
}

.figma-circle-small-blue {
    position: absolute;
    width: 96px;
    height: 96px;
    left: 82px;
    top: 308px;
    background: var(--color-bg-primary);
    border-radius: 999px;
    z-index: 3;
    pointer-events: none;
}

.figma-central-card {
    position: absolute;
    width: 190px;
    height: 190px;
    left: 182px;
    top: 220px;
    border-radius: 0px 0px 28px 28px;
    z-index: 4;
    animation: figmaFloat 6s ease-in-out infinite;
}

.figma-caption-box {
    position: absolute;
    width: 189px;
    height: 34px;
    left: 200px;
    top: 462px;
    text-align: right;
    z-index: 5;
}

.figma-caption-line {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 21px;
    color: var(--color-white);
    margin: 0;
}

/* Animations */
@keyframes figmaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Scroll Reveal Motion System */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Early Access / July 2026 Banner */
.banner-section {
    background-color: var(--color-bg-secondary);
    padding: 72px 0;
}

.banner-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 38px;
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 44px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-standard);
}

.banner-card:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

.banner-tag {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-teal-dark);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.banner-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 42px;
    line-height: 51px;
    color: var(--color-white);
}

.banner-divider {
    width: 1px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.08);
}

.banner-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.banner-desc {
    font-size: 18px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    flex-basis: 100%;
}

.banner-desc-highlight {
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    flex-basis: 100%;
}

.banner-badge-wrapper {
    margin-top: 10px;
}

.badge-yellow {
    background-color: var(--color-yellow);
    color: var(--color-bg-secondary);
    font-size: 14px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 999px;
    display: inline-block;
}

/* Sections Global Headers */
.section-header {
    margin-bottom: 40px;
}

.section-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-teal-dark);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.section-title-large {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 52px;
    line-height: 63px;
    color: var(--color-white);
}

/* Problem & Solution Grid */
.split-section {
    background-color: var(--color-bg-tinted);
    padding: 84px 0;
}

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

.split-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px;
    position: relative;
    transition: var(--transition-standard);
}

.split-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.solution-card {
    background-color: rgba(7, 150, 59, 0.24);
}

.solution-card:hover {
    background-color: rgba(7, 150, 59, 0.28);
    box-shadow: 0 15px 30px rgba(7, 150, 59, 0.15);
}

.card-indicator {
    width: 58px;
    height: 10px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.line-yellow { background-color: var(--color-yellow); width: 58px; }
.line-teal { background-color: var(--color-teal-dark); width: 92px; }

.split-card-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-white);
}

.split-card-desc {
    font-size: 18px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.solution-card .split-card-desc {
    color: rgba(255, 255, 255, 0.82);
}

/* Pillars Section */
.pillars-section {
    background-color: var(--color-bg-primary);
    padding: 100px 0;
}

.pillars-section .section-tag {
    color: var(--color-yellow);
}

.pillars-section .section-title-large {
    font-size: 54px;
    line-height: 65px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pillar-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 40px;
    transition: var(--transition-standard);
}

.pillar-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(10, 50, 96, 0.35);
}

.pillar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    color: var(--color-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.pillar-icon-box svg {
    width: 32px;
    height: 32px;
}

.pillar-icon-box.icon-verify {
    color: var(--color-yellow);
}

.pillar-icon-box.icon-verify svg {
    color: var(--color-yellow);
}

.pillar-icon-box.icon-finance {
    color: var(--color-green-alt);
}

.pillar-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 23px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.pillar-desc {
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 400;
}

/* Key Value Grid Section */
.value-section {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.value-section .section-tag {
    color: #0055A8;
    font-size: 20px;
    font-weight: 800;
}

.value-section .section-title-large {
    color: var(--color-bg-secondary);
    font-size: 45px;
    line-height: 54px;
    font-weight: 700;
}

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

.value-card {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-standard);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(10, 50, 96, 0.12);
}

.value-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
    transform: scale(1.15);
}

.value-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.value-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 18px;
    color: var(--color-bg-secondary);
    line-height: 22px;
}

/* Waitlist Form Integration */
.waitlist-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.waitlist-form-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 24px;
    color: var(--color-bg-secondary);
    margin-bottom: 8px;
}

.waitlist-form-subtitle {
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    gap: 12px;
}

.input-group input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 9999px;
    border: 2px solid #E2E8F0;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-bg-secondary);
    outline: none;
    transition: var(--transition-standard);
}

.input-group input:focus {
    border-color: var(--color-bg-primary);
}

/* Footer / Commitment Section */
.footer-section {
    padding: 60px 0;
    background-color: var(--color-bg-secondary);
}

.commitment-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    padding: 60px 40px 40px 40px;
    text-align: center;
    position: relative;
    transition: var(--transition-standard);
}

.commitment-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dot-indicator {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.green { background-color: var(--color-green-alt); }
.dot.yellow { background-color: var(--color-yellow); }
.dot.teal { background-color: var(--color-teal-dark); }

.footer-tag {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-yellow);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 30px;
}

.commitment-text {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 58px;
    line-height: 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 60px;
}

.commitment-text span {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    color: var(--color-white);
    opacity: 0.86;
}

.copyright {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.86);
}

.contact-email {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition-standard);
}

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

/* Modal / Success Interaction */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 22, 44, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-standard);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-standard);
    border: 1px solid #E2E8F0;
}

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

.modal-check-icon {
    width: 60px;
    height: 60px;
    background-color: #ecfdf5;
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.modal-check-icon svg {
    width: 28px;
    height: 28px;
}

.modal-title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 22px;
    color: var(--color-bg-secondary);
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-graphic {
        justify-content: center;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .banner-divider {
        width: 100%;
        height: 1px;
    }
    
    .banner-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .navbar-container {
        height: 64px; /* More compact header height on mobile */
    }

    .navbar-logo-img {
        height: 26px; /* Scaled down logo to prevent vertical layout stress */
    }

    .btn-nav {
        padding: 8px 18px; /* Tighter button layout on mobile */
        font-size: 13px;
        line-height: 16px;
    }

    .hero-title {
        font-size: 46px;
        line-height: 56px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        line-height: 23px;
        margin-bottom: 30px;
    }
    
    .hero-graphic {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 320px;
        height: 380px;
        position: relative;
        margin: 0 auto;
    }
    
    .figma-graphic-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.72);
        transform-origin: center center;
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }
    
    .section-title-large {
        font-size: 34px;
        line-height: 42px;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-text {
        font-size: 32px;
        line-height: 40px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: 12px;
    }
    
    .input-group button {
        border-radius: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
        line-height: 46px;
    }

    .hero-graphic {
        max-width: 280px;
        height: 340px;
    }

    .figma-graphic-card {
        transform: translate(-50%, -50%) scale(0.64);
    }
}
