:root {
    --bg-color: #050505;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --accent: #d4af37; /* Subtle gold for a premium feel */
    --accent-glow: rgba(212, 175, 55, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

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

/* Typography */
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Custom Cursor Dot */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-radius 0.2s, border 0.2s;
}

.cursor-dot.hover-interact {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px; /* Adapts shape to a soft square */
}

/* Section specific shapes for the dot */
.cursor-dot.shape-hero { border-radius: 50%; }
.cursor-dot.shape-vision { border-radius: 0; transform: translate(-50%, -50%) rotate(45deg); width: 8px; height: 8px; }
.cursor-dot.shape-eudaimonia { border-radius: 35%; width: 10px; height: 10px; }
.cursor-dot.shape-essence { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); border-radius: 0; width: 10px; height: 9px; background-color: var(--accent); }
.cursor-dot.shape-manifest { width: 12px; height: 4px; border-radius: 4px; }
.cursor-dot.shape-awaken { clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); border-radius: 0; width: 12px; height: 12px; }

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 40vmax;
    height: 40vmax;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 2;
}

.logo .dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary.large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 10% 2rem 10%;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
    max-width: 600px;
}

.subtitle {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    flex: 0.8;
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05) 0%, transparent 70%);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatVisual 8s ease-in-out infinite;
}

.hero-visual .orb {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-glow) 0%, transparent 70%);
    box-shadow: 0 0 60px var(--accent-glow);
    animation: pulse 4s ease-in-out infinite alternate;
}

/* Sections */
.section {
    padding: 8rem 10%;
    position: relative;
    z-index: 1;
}

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

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

/* Glassmorphism Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: none;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

/* Footer */
.footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Utility Classes for JS Reveal */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

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

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

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

/* Sections Alignment */
.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 4rem auto;
    font-size: 1.15rem;
    font-weight: 300;
}

.dark-section {
    background: #020202;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Eudaimonia (Joy) Section */
.joy-section {
    background: radial-gradient(circle at center, rgba(30, 25, 20, 0.4) 0%, transparent 70%);
}

.joy-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.joy-aura {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 178, 102, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    margin-bottom: 2rem;
    animation: breatheAura 6s ease-in-out infinite alternate;
}

@keyframes breatheAura {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

.joy-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.joy-text strong {
    color: #ffb266;
    font-weight: 400;
}

/* Essence: Split Layout & Concentric Rings */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.split-text {
    flex: 1.2;
}

.split-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.essence-item {
    margin-bottom: 2.5rem;
}

.essence-item:last-child {
    margin-bottom: 0;
}

.essence-item h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.geometry-container {
    position: relative;
    width: 300px;
    height: 300px;
    max-width: 100%;
    aspect-ratio: 1;
}

.ring {
    position: absolute;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 95%;
    height: 95%;
    border-color: rgba(212, 175, 55, 0.1);
    animation: rotateRing 25s linear infinite;
}

.ring-2 {
    width: 68%;
    height: 68%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    animation: rotateRing 18s linear infinite reverse;
}

.ring-3 {
    width: 40%;
    height: 40%;
    border-color: rgba(212, 175, 55, 0.3);
    animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatVisual {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Manifest: Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    padding-left: 3rem;
    border-left: 1px solid var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -4.85rem;
    top: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-color);
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
}

/* Awaken: Interactive Console */
.console-wrapper {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

.console-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.console-dots {
    display: flex;
    gap: 0.5rem;
}

.console-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.console-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-family: monospace;
}

.console-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

.console-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--accent-glow);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.value-display {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent);
    align-self: flex-end;
}

.console-output {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 1px solid var(--glass-border);
    padding-left: 2.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: monospace;
}

.console-log {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.25rem;
    flex-grow: 1;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.log-title {
    font-size: 0.75rem;
    color: var(--accent);
    font-family: monospace;
    letter-spacing: 0.05em;
}

.log-content {
    font-family: monospace;
    font-size: 0.85rem;
    color: #88ff88;
    overflow-y: auto;
    max-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.log-content p {
    color: #88ff88 !important;
    font-size: 0.85rem !important;
    margin: 0;
}

/* Nav Active Styling */
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    width: 100%;
}

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

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 105;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle span:first-child {
    top: 5px;
}

.nav-toggle span:last-child {
    top: 13px;
}

.nav-toggle.open span:first-child {
    top: 9px;
    transform: rotate(45deg);
}

.nav-toggle.open span:last-child {
    top: 9px;
    transform: rotate(-45deg);
}

/* Responsive Grid Default adjustments */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar {
        padding: 1.5rem 3rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 2, 2, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 8rem;
        gap: 2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-visual {
        flex: none;
        width: 280px;
        height: 280px;
    }
    
    .split-layout {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    
    .console-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .console-output {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--glass-border);
        padding-top: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1.5rem 2rem;
    }
    
    .section {
        padding: 6rem 6%;
    }

    .grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-number {
        left: -3.85rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

