:root {
    --bg-color: #14110F; /* BackgroundDark */
    --surface-color: #1B1614; /* SurfaceDark */
    --primary-color: #E64A19; /* PrimaryWarm */
    --primary-variant: #FF7043; /* PrimaryWarmVariant */
    --accent-secondary: #FFA000; /* SecondaryWarm */
    --text-primary: #ECE2DE; /* OnSurfaceDark */
    --text-secondary: #CAC4D0; /* NudgeDarkOnSurfaceVariant */
    --glow-color: rgba(230, 74, 25, 0.4);
    --glow-color-soft: rgba(230, 74, 25, 0.15);
    --card-border: rgba(236, 226, 222, 0.1);
}

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

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.no-transition * {
    transition: none !important;
}

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

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

.reveal {
    opacity: 0;
}

.reveal.visible {
    animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Mascot Styling */
.mascot-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.mascot-wrapper {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glow-pulse 4s ease-in-out infinite;
}

.mascot-body {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-variant), var(--primary-color));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 -10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.mascot-body:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(230, 74, 25, 0.3), inset 0 -10px 20px rgba(0,0,0,0.2);
}

.mascot-eyes {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
}

.mascot-eye {
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.mascot-mouth {
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 20px 20px;
    transition: height 0.3s ease;
}

.mascot-body:hover .mascot-mouth {
    height: 25px;
}

/* Base Styles */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 17, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--primary-variant);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    width: 4px;
    height: 4px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 8px 0 #FFFFFF;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 8px;
    width: 8px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 4px 4px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-variant);
}

/* Hero */
.hero {
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--glow-color-soft) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.3;
    padding: 0 10px 0.1em;
    background: linear-gradient(180deg, #FFF, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero .subtitle {
    font-size: 1.75rem;
    color: var(--primary-variant);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 48px;
}

/* Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 30px var(--glow-color);
}

.btn-primary:hover {
    background: var(--primary-variant);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--glow-color);
}

.btn-coming-soon {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    cursor: default;
    backdrop-filter: blur(10px);
}

.btn-coming-soon:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Features */
.features {
    padding: 120px 0;
    background: linear-gradient(to bottom, transparent, rgba(230, 74, 25, 0.02), transparent);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.card {
    background: var(--surface-color);
    padding: 48px 40px;
    border-radius: 32px;
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--glow-color-soft), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 74, 25, 0.3);
    background: #231d1a;
}

.card:hover::before {
    opacity: 1;
}

/* Mini Mascot Icon for Cards */
.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon-eyes {
    display: flex;
    gap: 6px;
    margin-bottom: 3px;
}

.card-icon-eye {
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
}

.card-icon-mouth {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 6px 6px;
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Feature Importance Tiers */
@media (min-width: 1024px) {
    .grid .card:nth-child(1),
    .grid .card:nth-child(2) {
        grid-column: span 1.5;
    }
    .grid .card:nth-child(3),
    .grid .card:nth-child(4),
    .grid .card:nth-child(5) {
        grid-column: span 1;
    }
}

/* Content Pages */
.content-page {
    padding: 180px 0 120px;
}

.content-page h1 {
    font-size: 4rem;
    margin-bottom: 48px;
    font-weight: 800;
    letter-spacing: -2px;
}

.content-page h2 {
    margin: 48px 0 24px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-variant);
}

.content-page p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.content-page ul {
    margin-bottom: 32px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.content-page li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 10px;
}

.content-page li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -15px;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--bg-color);
    padding: 100px 0 60px;
    border-top: 1px solid var(--card-border);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-variant);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 1023px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .grid .card:nth-child(n) {
        grid-column: span 1;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero .subtitle {
        font-size: 1.4rem;
    }
}

/* Micro-interactions */
.btn:active {
    transform: scale(0.96);
}

input, button {
    outline: none;
}
