/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Color Variables */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Theme colors - Light */
    --background: #f8faf9;
    --foreground: #1c2e24;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(220, 235, 225, 0.6);
    --text-primary: #1c2e24;
    --text-secondary: #4a5d52;
    --text-muted: #738a7c;
    
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);

    --border: rgba(16, 185, 129, 0.15);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;

    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-border: rgba(16, 185, 129, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0b1511;
        --foreground: #f0f7f3;
        --card-bg: rgba(15, 29, 23, 0.6);
        --card-border: rgba(30, 58, 46, 0.4);
        --text-primary: #f0f7f3;
        --text-secondary: #a3b8ad;
        --text-muted: #71887c;
        
        --primary: #34d399;
        --primary-hover: #10b981;
        --primary-glow: rgba(52, 211, 153, 0.15);

        --border: rgba(52, 211, 153, 0.1);
        --nav-bg: rgba(11, 21, 17, 0.7);
        --nav-border: rgba(52, 211, 153, 0.1);
    }
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--background);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Ambient Orbs */
.fixed-orbs {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

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

.orb-violet {
    top: 10%;
    left: 15%;
    width: 24rem;
    height: 24rem;
    background-color: #8b5cf6;
}

.orb-cyan {
    bottom: 20%;
    right: 15%;
    width: 20rem;
    height: 20rem;
    background-color: #06b6d4;
    animation-delay: 2s;
}

.orb-emerald {
    top: 40%;
    left: 60%;
    width: 18rem;
    height: 18rem;
    background-color: #10b981;
    animation-delay: 4s;
}

@keyframes pulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    50% {
        transform: translate(30px, -20px) scale(1.15);
        opacity: 0.18;
    }
    100% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.12;
    }
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.05);
}

/* Header / Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--nav-border);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text-accent {
    background: linear-gradient(135deg, #10b981, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-btn {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-btn:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hero-container {
    max-width: 960px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
    display: inline-flex;
    justify-content: center;
}

.hero-logo {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: contain;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #059669 10%, #10b981 40%, #06b6d4 70%, #3b82f6 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.tagline-gradient {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Video Section */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(10, 25, 20, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.video-element {
    width: 100%;
    display: block;
    height: auto;
}

/* Section Common */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-size: 1.1rem;
}

/* Vibing With Foresight Section */
.vibe-section {
    background: linear-gradient(
        150deg,
        rgba(139, 92, 246, 0.07) 0%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(16, 185, 129, 0.06) 100%
    );
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    border-bottom: 1px solid rgba(6, 182, 212, 0.12);
}

@media (prefers-color-scheme: dark) {
    .vibe-section {
        background: linear-gradient(
            150deg,
            rgba(139, 92, 246, 0.10) 0%,
            rgba(6, 182, 212, 0.07) 50%,
            rgba(16, 185, 129, 0.08) 100%
        );
        border-top-color: rgba(139, 92, 246, 0.18);
        border-bottom-color: rgba(6, 182, 212, 0.18);
    }
}

/* Capabilities Grid */
.grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cap-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
    border-color: var(--primary);
}

.cap-icon-wrapper {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

/* Icon Gradient Backgrounds */
.bg-violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.bg-rose { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.bg-sky { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.bg-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.bg-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.cap-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.cap-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cap-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Six Pillars Section */
.dark-section {
    background: linear-gradient(135deg, #1e293b 0%, #2d3f5c 50%, #1e293b 100%);
    color: #ffffff;
}

.dark-section .section-subtitle {
    color: #cbd5e1;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: scale(1.03);
}

/* Pillar Card Custom Colors */
.border-violet { background: rgba(139, 92, 246, 0.14); border-color: rgba(139, 92, 246, 0.35); }
.border-blue { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.35); }
.border-amber { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.35); }
.border-red { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.35); }
.border-sky { background: rgba(14, 165, 233, 0.14); border-color: rgba(14, 165, 233, 0.35); }
.border-emerald { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.35); }

.text-violet { color: #c084fc; }
.text-blue { color: #60a5fa; }
.text-amber { color: #fcd34d; }
.text-red { color: #fca5a5; }
.text-sky { color: #7dd3fc; }
.text-emerald { color: #6ee7b7; }

.pillar-emoji {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.pillar-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.pillar-quote {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.pillar-desc {
    font-size: 0.8rem;
    color: #bfccd6;
    line-height: 1.5;
}

/* Fusion Flow Visual */
.fusion-flow {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dot-connector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22d3ee;
}

.line-connect {
    height: 2px;
    width: 1.5rem;
    background: linear-gradient(90deg, #22d3ee, #34d399);
}

.chevron-down {
    color: #22d3ee;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.fusion-badge {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    color: #ffffff;
}

/* Contrast Section */
.contrast-section {
    background-color: #EDE8D0;
    color: #2d2a24;
}

.contrast-section .section-title {
    color: #1e1b15;
}

.contrast-section .section-subtitle {
    color: #575249;
}

.contrast-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contrast-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 195, 175, 0.5);
}

@media (min-width: 768px) {
    .contrast-row {
        grid-template-columns: 1fr 2rem 1fr;
    }
}

.them-col {
    color: #8c8270;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.arrow-col {
    display: none;
    justify-content: center;
    color: #059669;
}

@media (min-width: 768px) {
    .arrow-col {
        display: flex;
    }
}

.us-col {
    color: #1e1b15;
    font-weight: 600;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 6rem 2rem;
}

.cta-container {
    max-width: 640px;
    margin: 0 auto;
}

.cta-icon-wrapper {
    margin-bottom: 1.5rem;
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    color: #059669;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-title-gradient {
    font-size: 1.75rem;
    display: block;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .cta-title { font-size: 2.25rem; }
    .cta-title-gradient { font-size: 2.5rem; }
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Navigation Dropdown Menu styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-chevron {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 12rem;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    animation: dropdownFadeIn 0.25s ease-out;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -0.6rem;
    left: 0;
    right: 0;
    height: 0.6rem;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--primary);
    background-color: rgba(16, 185, 129, 0.08);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
