@charset "UTF-8";

/* ============================================================
   PHAITH Co. LLC — Vibrant Google-Inspired Palette
   ============================================================ */

:root {
    /* Base Dark Theme (Maintained for contrast) */
    --bg-base: #030303;
    --bg-panel: rgba(10, 10, 10, 0.45);
    --text-main: #ffffff;
    --text-muted: #888888;
    
    /* Vibrant Spectrum */
    --c-red: #ea4335;
    --c-orange: #f9ab00; /* Google uses Yellow-Orange, adjusting for distinction */
    --c-yellow: #fbbc04;
    --c-green: #34a853;
    --c-blue: #4285f4;
    --c-indigo: #3f51b5;
    --c-purple: #9c27b0;
    --c-turquoise: #00bcd4;

    /* Fonts & Constants */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* ===================== PREMIUM OVERLAYS ===================== */
.noise-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-dot {
    position: fixed; width: 6px; height: 6px; background: #fff;
    border-radius: 50%; pointer-events: none; z-index: 10001;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-outline {
    position: fixed; width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%; pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, border-color 0.2s;
}

body:hover .cursor-dot, body:hover .cursor-outline { opacity: 1; }

.cursor-hover .cursor-dot { width: 12px; height: 12px; }
.cursor-hover .cursor-outline { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.05); border-color: #fff; }

/* Scroll Progress */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 10000;
    background: linear-gradient(90deg, var(--c-purple), var(--c-blue), var(--c-turquoise), var(--c-green), var(--c-yellow), var(--c-orange), var(--c-red));
    transition: width 0.1s;
}

/* ===================== MULTI-COLOR AURORA BACKGROUND ===================== */
.aurora-container { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; animation: floatBlob 25s infinite ease-in-out alternate; }
.aurora-1 { width: 60vw; height: 60vh; background: var(--c-purple); top: -10%; left: -10%; }
.aurora-2 { width: 50vw; height: 50vh; background: var(--c-blue); top: 20%; right: -10%; animation-delay: -5s; }
.aurora-3 { width: 70vw; height: 60vh; background: var(--c-red); bottom: -20%; left: 10%; animation-delay: -10s; }
.aurora-4 { width: 40vw; height: 40vh; background: var(--c-green); bottom: 10%; right: 20%; animation-delay: -15s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 150px) scale(1.2) rotate(45deg); }
}

/* ===================== TYPOGRAPHY & GRADIENTS ===================== */
.multi-gradient-text {
    background: linear-gradient(135deg, var(--c-blue), var(--c-purple), var(--c-red), var(--c-orange));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--c-blue), var(--c-purple), var(--c-red), var(--c-orange));
}

.border-gradient {
    position: relative; border-radius: 100px;
    background: rgba(10,10,10,0.6); backdrop-filter: blur(10px);
    display: inline-flex; padding: 8px 24px; overflow: hidden;
}
.border-gradient::before {
    content: ''; position: absolute; inset: -2px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-purple), var(--c-red), var(--c-yellow), var(--c-green), var(--c-blue));
    background-size: 200% auto; animation: rotateGradient 4s linear infinite; z-index: -1;
}
.border-gradient::after { content: ''; position: absolute; inset: 1px; background: #0a0a0a; border-radius: 99px; z-index: -1; }

@keyframes rotateGradient { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.border-y-gradient {
    border-top: 1px solid transparent; border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--c-purple), var(--c-blue), var(--c-green), transparent) 1;
}

/* ===================== INFINITE MARQUEE ===================== */
.marquee-container {
    overflow: hidden; white-space: nowrap; padding: 20px 0; background: rgba(5,5,5,0.8);
    position: relative; z-index: 2;
}
.marquee-content {
    display: inline-block; animation: marquee 30s linear infinite;
}
.marquee-item {
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em;
    margin: 0 40px; color: var(--text-main); display: inline-flex; align-items: center; gap: 40px;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===================== UTILITIES & GLASSMORPHISM ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section { padding: 140px 0; position: relative; }

.glass-panel {
    background: var(--bg-panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4); position: relative; overflow: hidden;
}

.glow-hover { transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s; }
.glow-hover:hover {
    transform: translateY(-5px);
    border-color: var(--hover-color, rgba(255,255,255,0.2));
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px var(--hover-color, transparent);
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex; padding: 16px 36px; border-radius: 100px; font-weight: 600;
    font-family: var(--font-body); text-decoration: none; position: relative;
}
.btn-primary { color: #fff; border: none; }
.btn-primary.hover-lift { transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s; }
.btn-primary.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4); }
.btn-secondary { background: transparent; color: #fff; transition: background 0.3s; }
.btn-secondary:hover { background: rgba(255,255,255,0.05); }

/* ===================== NAVIGATION ===================== */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 24px 0; transition: padding 0.3s, background 0.3s; }
nav.scrolled { padding: 12px 0; background: rgba(5,5,5,0.8); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { color: #fff; font-family: var(--font-heading); font-weight: 900; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.logo-text { font-family: var(--font-heading); font-weight: 800; color: #fff; font-size: 1.2rem; letter-spacing: 0.1em; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.9rem; opacity: 0.7; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { color: #fff !important; opacity: 1 !important; border-radius: 100px; padding: 10px 24px !important; }
.nav-toggle { display: none; }

/* ===================== HERO ===================== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-top: 140px; padding-bottom: 140px; position: relative; }
#hero-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.6; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.badge-text { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 12px; background: #fff; }
.pulse-multi { animation: pulseMulti 4s infinite alternate; }
@keyframes pulseMulti { 0% { background: var(--c-purple); box-shadow: 0 0 10px var(--c-purple); } 33% { background: var(--c-blue); box-shadow: 0 0 10px var(--c-blue); } 66% { background: var(--c-turquoise); box-shadow: 0 0 10px var(--c-turquoise); } 100% { background: var(--c-green); box-shadow: 0 0 10px var(--c-green); } }

.hero-title { font-family: var(--font-heading); font-size: clamp(4rem, 15vw, 12rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.04em; margin: 24px 0; }
.hero-title .letter { display: inline-block; opacity: 0; transform: translateY(100px); animation: slideUp 1s var(--ease-out-expo) forwards; animation-delay: calc(var(--i) * 0.1s); color: var(--c); text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.hero-pillars { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 40px; font-weight: 600; opacity: 0; animation: fadeIn 1s 1s forwards; }
.pillar-dot { color: rgba(255,255,255,0.2); margin: 0 12px; }
.hero-tagline { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; opacity: 0; animation: fadeIn 1s 1.2s forwards; }
.hero-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 48px; opacity: 0; animation: fadeIn 1s 1.4s forwards; }
.hero-cta-group { display: flex; gap: 20px; margin-bottom: 60px; opacity: 0; animation: fadeIn 1s 1.6s forwards; }
.hero-scripture { font-style: italic; color: #555; opacity: 0; animation: fadeIn 1s 2s forwards; font-size: 0.9rem; }
.scripture-ref { font-style: normal; font-weight: 600; }

.scroll-indicator { position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; animation: fadeIn 1s 2.5s forwards; }
.scroll-text { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.scroll-line-inner { position: absolute; top: 0; left: 0; width: 100%; height: 50%; animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ===================== SHARED SECTION STYLES ===================== */
.section-heading { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 60px; letter-spacing: -0.02em; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-lead { font-size: 1.4rem; font-weight: 500; color: #fff; margin-bottom: 24px; line-height: 1.5; }
.about-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.about-quote { padding: 40px; margin-top: 40px; position: relative; }
.quote-icon { font-family: var(--font-heading); font-size: 6rem; opacity: 0.3; position: absolute; top: -20px; left: 20px; line-height: 1; }
.about-quote p { font-size: 1.1rem; font-style: italic; color: #fff; position: relative; z-index: 1; margin-bottom: 16px; }
.about-quote cite { font-weight: 600; font-style: normal; font-size: 0.9rem; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card { padding: 32px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.stat-card-wide { grid-column: span 2; }
.stat-number { font-family: var(--font-heading); font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.stat-icon { margin-bottom: 16px; }
.about-values { grid-column: span 2; padding: 32px; }
.about-values h3 { font-family: var(--font-heading); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 20px; }
.values-list { display: flex; flex-wrap: wrap; gap: 12px; }
.value-tag { padding: 6px 16px; border-radius: 100px; border: 1px solid var(--tag-color); color: var(--tag-color); font-size: 0.85rem; font-weight: 600; background: rgba(0,0,0,0.3); }

/* ===================== PILLARS ===================== */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar-card { padding: 48px 40px; position: relative; border-radius: 20px; transition-delay: calc(var(--delay) * 0.1s); }
.pillar-letter { font-family: var(--font-heading); font-size: 5rem; font-weight: 900; line-height: 1; margin-bottom: 24px; }
.pillar-word { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ===================== BRANDS ===================== */
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.brand-card { padding: 60px 48px; border-radius: 24px; position: relative; transition-delay: calc(var(--delay) * 0.1s); }
.brand-card-glow { position: absolute; width: 300px; height: 300px; background: var(--hover-color); filter: blur(100px); opacity: 0; top: -100px; right: -100px; border-radius: 50%; transition: opacity 0.5s; z-index: 0; pointer-events: none; }
.brand-card:hover .brand-card-glow { opacity: 0.15; }
.brand-name { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1; }
.brand-tagline { color: var(--text-muted); font-weight: 600; font-style: italic; margin-bottom: 24px; font-size: 1.1rem; position: relative; z-index: 1;}
.brand-description { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; max-width: 90%; position: relative; z-index: 1;}
.brand-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: gap 0.3s; position: relative; z-index: 1;}
.brand-card:hover .brand-link { gap: 16px; }

/* ===================== VISION ===================== */
.vision { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.vision-bg { position: absolute; inset: -10%; background: url('assets/vision-bg.jpg') center/cover; opacity: 0.1; filter: grayscale(1); z-index: 0; }
.vision-container { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; width: 100%; }
.vision-huge-text { font-family: var(--font-heading); font-size: clamp(4rem, 15vw, 15rem); font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.08; line-height: 1; letter-spacing: -0.05em; pointer-events: none; white-space: nowrap;}
.vision-content { padding: 60px; max-width: 700px; margin: 0 auto; text-align: center; border-color: rgba(255,255,255,0.1); }
.vision-lead { font-size: 1.5rem; font-weight: 600; line-height: 1.5; margin-bottom: 40px; }
.vision-scripture p { font-style: italic; font-size: 1.2rem; margin-bottom: 12px; }
.vision-scripture span { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }

/* ===================== FOOTER ===================== */
.footer { padding-top: 120px; text-align: center; position: relative; z-index: 2; }
.footer-cta-text { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1; margin-bottom: 40px; letter-spacing: -0.03em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; max-width: 1200px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .brands-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
    .nav-toggle span { width: 30px; height: 2px; background: #fff; display: block; }
    .hero-pillars { display: none; }
    .pillars-grid { grid-template-columns: 1fr; }
    .stat-card-wide { grid-column: span 1; }
    .about-stats { grid-template-columns: 1fr; }
    .vision-content { padding: 40px 24px; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
}
