/* ==========================================================================
   CSS Variables & Tokens (Apple/Stripe Inspired)
   ========================================================================== */
:root {
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F5F7;
    --color-text-main: #0A0A0A;
    --color-text-muted: #86868B;
    --color-border: #E5E5EA;
    --color-card-bg: #FFFFFF;
    
    /* Subtle Premium Accent (Purple/Blue Gradient) */
    --color-accent-start: #6C63FF;
    --color-accent-end: #5A52D5;
    --color-accent-light: rgba(108, 99, 255, 0.1);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img, svg {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text-main);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.bg-light {
    background-color: var(--color-bg-light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-text-main);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: #F1F1F2;
    border-color: #D1D1D6;
}

.btn-nav {
    background-color: var(--color-text-main);
    color: #fff;
}
.btn-nav:hover {
    opacity: 0.9;
}

.btn-block {
    width: 100%;
    border-radius: var(--radius-sm);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
}

.badge-accent {
    background-color: var(--color-accent-light);
    color: var(--color-accent-end);
}

.badge-large {
    font-size: 14px;
    padding: 8px 16px;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--color-border);
    padding: 4px 0;
}

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

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-accent {
    font-weight: 400;
    color: var(--color-text-muted);
}

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

.nav-links a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--color-text-main);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

.mobile-nav {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-bg-light);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Animated Background Orbs */
.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-start);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #A39DFF;
    bottom: -50px;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(108, 99, 255, 0.4);
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1) translateX(0); }
    100% { transform: translateY(50px) scale(1.1) translateX(40px); }
}

.hero h1 {
    font-size: clamp(60px, 14vw, 120px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 2px;
}

.hero .subtitle {
    font-size: clamp(18px, 4vw, 22px);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
        min-height: 70vh;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* About Simple Layout */
.about-simple-wrapper {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 64px 80px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.about-simple-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--color-accent-start), #A39DFF);
}

.about-simple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-lg {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .about-simple-wrapper {
        padding: 40px;
    }
    .about-simple-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 576px) {
    .about-simple-wrapper {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   BEUBAY Section
   ========================================================================== */
.beubay-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.beubay-content .eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-end);
    margin-bottom: 16px;
}

.beubay-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent-end);
}

.status-dot.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.beubay-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-light);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
    border-color: var(--color-accent-start);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--color-accent-start), #A39DFF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    margin-bottom: 24px;
    transition: transform 0.4s ease, color 0.4s ease, background 0.4s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-accent-start);
    background: var(--color-accent-light);
}

.feature-card h4, .feature-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

@media (max-width: 992px) {
    .beubay-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}
@media (max-width: 576px) {
    .beubay-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Vision & Mission Section
   ========================================================================== */
.dual-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.card-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.card-headline {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.vision-card p {
    color: var(--color-text-muted);
    font-size: 16px;
}

@media (max-width: 768px) {
    .dual-col-grid {
        grid-template-columns: 1fr;
    }
    .vision-card {
        padding: 40px 32px;
    }
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    background: var(--color-text-main);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 80px;
    overflow: hidden;
    position: relative;
    align-items: center;
}

.trust-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.trust-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.trust-header p {
    color: #A1A1A6;
    margin-bottom: 32px;
}

.registration-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

.trust-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: auto;
    max-width: 480px;
    width: 100%;
}

.detail-item {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.detail-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A1A1A6;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .trust-wrapper {
        grid-template-columns: 1fr;
        padding: 48px;
        gap: 48px;
    }
    .trust-details {
        margin-left: 0;
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .trust-details {
        grid-template-columns: 1fr;
    }
    .trust-wrapper {
        padding: 32px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-methods {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    color: var(--color-text-main);
}

.method-text {
    font-size: 16px;
    font-weight: 500;
}

.contact-form-wrapper {
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background-color: var(--color-bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text-muted);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form-wrapper {
        padding: 32px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 300px;
}

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

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-column h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.link-column a {
    display: block;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.link-column a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Additional BEUBAY Layouts & Utilities
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.founders-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 14px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }

/* ==========================================================================
   BEUBAY Custom Heading Effect
   ========================================================================== */
.beubay-highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent-start), #A39DFF, var(--color-text-main));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.4s ease;
    animation: gradientShift 4s ease infinite;
    cursor: default;
    padding-bottom: 5px; /* Prevent text clipping on some browsers */
}

.beubay-highlight:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(108, 99, 255, 0.4));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.interactive-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    color: inherit;
    text-decoration: none;
    position: relative;
}

.interactive-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.hero-tagline {
    font-size: 2vw;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    letter-spacing: 0em;
}

/* ==========================================================================
   Hero Staggered Initial Load Animations
   ========================================================================== */
.hero-anim-2, .hero-anim-3, .hero-anim-4, .hero-anim-5 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-anim-1 {
    opacity: 0;
    transform: translateY(-30px); /* Start slightly below final position */
    animation: badgeEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
}
.hero-anim-2 { animation-delay: 0.25s; }
.hero-anim-3 { animation-delay: 0.4s; }
.hero-anim-4 { animation-delay: 0.55s; }
.hero-anim-5 { animation-delay: 0.7s; }

@keyframes heroEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes badgeEnter {
    to {
        opacity: 1;
        transform: translateY(-60px);
    }
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shineSweep 4s infinite ease-in-out;
}
@keyframes shineSweep {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}


