@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #0D223F;
    --secondary: #EE403D;
    --accent: #F9FCFF;
    --text: #FFFFFF;
    --text-dark: #000000;
    --bg-light: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body { font-size: 16px; }
}

/* Custom Cursor */
#cursor {
    width: 20px;
    height: 20px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Typography - Ribbit Style */
.massive-text {
    font-size: clamp(3rem, 12vw, 10rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.sub-massive-text {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Navigation */
.nav-pill {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 34, 63, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 2.5rem;
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

/* Sections */
section {
    position: relative;
    padding: 8rem 2rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(4rem, 18vw, 14rem);
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

/* Process Grid */
.process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-card:hover {
    background: var(--secondary);
    transform: translateY(-15px);
    border-color: transparent;
}

.process-number {
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.15;
    margin-bottom: 1.5rem;
    line-height: 1;
}

/* Buttons */
.btn-primary {
    background-color: #EE403D !important;
    color: white !important;
    padding: 1.25rem 3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: inline-block !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 30px rgba(238, 64, 61, 0.3) !important;
}

.btn-primary:hover {
    background-color: white !important;
    color: #0D223F !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important;
}

/* Mobile Menu Links */
.mobile-nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    color: #EE403D;
    transform: scale(1.1);
}

/* WebGL Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    #cursor { display: none; }
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(13, 34, 63, 0.1);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), padding 0.3s ease;
}

.faq-item.faq-open .faq-content {
    max-height: 500px;
    padding-bottom: 2rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--secondary);
}

.faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-pill {
        padding: 0.75rem 2rem;
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.25rem;
        min-height: auto;
    }
    .nav-pill {
        display: none !important;
    }
    .hero-title {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }
    .massive-text {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }
    .sub-massive-text {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    .quote-text {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
    }
    p {
        font-size: 1rem;
    }
}
