:root {
    /* Color Palette */
    --clr-bg-dark: #040e0c;        /* Very Deep Teal/Pine */
    --clr-bg-surface: #0a1f1b;     /* Deep Pine */
    --clr-primary: #1bb295;        /* Soft Turquoise/Emerald */
    --clr-primary-glow: rgba(27, 178, 149, 0.4);
    --clr-gold: #D4AF37;           /* Premium Antique Gold */
    --clr-gold-glow: rgba(212, 175, 55, 0.3);
    --clr-text-main: #f0f4f3;      /* Off-white slightly tinted */
    --clr-text-muted: #9eb5b1;     /* Muted teal grey */
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(10, 31, 27, 0.5);
    --glass-border: rgba(212, 175, 55, 0.15); /* Subtle gold border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-linear: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/images/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -2;
    pointer-events: none;
    filter: blur(5px);
}

.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--clr-primary-glow);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--clr-gold-glow);
}

.glow-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30vw;
    height: 30vw;
    background: rgba(18, 25, 51, 0.8);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-emerald { color: var(--clr-primary); }
.text-gold { color: var(--clr-gold); }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-linear);
}

.header.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 14, 33, 0.85);
}

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

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

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--clr-primary-glow);
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-text-main);
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav a:not(.btn-primary-sm) {
    color: var(--clr-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-linear);
    position: relative;
}

.nav a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition-smooth);
}

.nav a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

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

.btn-primary-sm {
    background: linear-gradient(135deg, var(--clr-primary), #009624);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: var(--clr-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
}

.glass-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glass-btn:hover::before {
    left: 150%;
}

.glass-btn:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.glass-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text .small {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    line-height: 1;
}

.btn-text .big {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
    perspective: 1000px;
    width: 100%;
    max-width: 420px;
}

.glass-showcase {
    background: linear-gradient(135deg, rgba(27, 178, 149, 0.1) 0%, rgba(10, 31, 27, 0.6) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(27, 178, 149, 0.1);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.glass-showcase:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(27, 178, 149, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.glass-showcase-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.showcase-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(27, 178, 149, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(27, 178, 149, 0); }
    100% { box-shadow: 0 0 0 0 rgba(27, 178, 149, 0); }
}

.glass-showcase-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    overflow-y: auto;
}

.chat-bubble {
    padding: 1rem 1.2rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 85%;
    animation: fadeUpIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.delay-1 { animation-delay: 0.8s; }
.chat-bubble.delay-2 { animation-delay: 1.6s; }

.bot-msg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.user-msg {
    background: linear-gradient(135deg, rgba(27, 178, 149, 0.2), rgba(27, 178, 149, 0.05));
    border: 1px solid rgba(27, 178, 149, 0.3);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    color: white;
}

.chat-source {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-showcase-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.chat-input-fake {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.chat-input-fake i {
    color: var(--clr-primary);
    background: rgba(27, 178, 149, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
}

.floating-element {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.el-1 { top: 10%; left: -20px; animation: float 5s ease-in-out infinite alternate; }
.el-2 { top: 50%; right: -30px; animation: float 7s ease-in-out infinite alternate-reverse; color: var(--clr-gold); }
.el-3 { bottom: 15%; left: 0px; animation: float 6s ease-in-out infinite alternate; }

/* Features Section */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 15px var(--clr-primary-glow);
    border-color: rgba(0, 200, 83, 0.3);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.2), rgba(0, 0, 0, 0));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 200, 83, 0.3);
    box-shadow: inset 0 0 15px rgba(0, 200, 83, 0.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* AI Showcase Section */
.ai-showcase {
    padding: 6rem 0;
    position: relative;
}

.ai-container {
    background: url('../assets/images/bg.png') center/cover;
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ai-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 33, 0.85);
    backdrop-filter: blur(10px);
}

.ai-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.ai-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ai-content p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.ai-features-list {
    list-style: none;
}

.ai-features-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer */
.footer {
    padding: 4rem 0 0 0;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    text-decoration: none;
    transition: var(--transition-linear);
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero h1 { font-size: 3rem; }
    .hero p { margin: 0 auto 2rem auto; }
    .store-buttons { justify-content: center; }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav { display: none; /* Can add a hamburger menu later */ }
    .hero h1 { font-size: 2.5rem; }
    .store-buttons { flex-direction: column; align-items: center; }
    .glass-btn { width: 100%; justify-content: center; max-width: 250px; }
    .ai-container { padding: 2rem; }
}
