:root {
    --primary-bg: #0a0b14;
    --secondary-bg: #111322;
    --accent-clr: #fbc02d;
    --accent-gradient: linear-gradient(135deg, #fbc02d 0%, #ff8f00 100%);
    --text-main: #ffffff;
    --text-muted: #a0a6cc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.narrow {
    max-width: 800px;
}

/* Header & Nav */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.logo-lex {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 192, 45, 0.2);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass-bg);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.hero-image-card {
    padding: 1rem;
    overflow: hidden;
}

.card-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hero-main-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-card:hover .hero-main-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.shimmer-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    height: 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.shimmer-line.title { height: 20px; }
.w-60 { width: 60%; }
.w-80 { width: 80%; }
.w-100 { width: 100%; }

.mt-20 { margin-top: 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.shimmer-box {
    background: rgba(255,255,255,0.03);
    height: 80px;
    border-radius: 12px;
}

.badge {
    padding: 4px 12px;
    background: rgba(251, 192, 45, 0.1);
    color: var(--accent-clr);
    border: 1px solid rgba(251, 192, 45, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.flex-row { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; }

.hero-bg-accent {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 192, 45, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 3rem 2rem;
    background: var(--primary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 192, 45, 0.3);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
}

/* App Highlight */
.app-highlight {
    padding: 8rem 0;
}

.align-center { align-items: center; }

.highlight-visual {
    display: flex;
    justify-content: center;
}

.voice-ui {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    margin-bottom: 40px;
}

.voice-wave span {
    width: 4px;
    height: 20px;
    background: var(--accent-clr);
    border-radius: 4px;
    animation: wave 1.2s infinite ease-in-out;
}

.voice-wave span:nth-child(2) { animation-delay: 0.1s; height: 40px; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; height: 50px; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; height: 35px; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; height: 45px; }
.voice-wave span:nth-child(6) { animation-delay: 0.5s; height: 25px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.8); opacity: 1; }
}

.voice-circle {
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(251, 192, 45, 0.3);
}

.voice-circle .mic { font-size: 3rem; }

.ring {
    position: absolute;
    border: 2px solid var(--accent-clr);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: ripple 3s infinite;
    opacity: 0;
}

.ring:nth-child(2) { animation-delay: 1s; }
.ring:nth-child(3) { animation-delay: 2s; }

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

.voice-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 4rem;
}

.voice-labels span {
    padding: 6px 16px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
}

.highlight-content h2 {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
}

.label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-clr);
    font-weight: 700;
    font-size: 0.8rem;
}

.highlight-list {
    list-style: none;
    margin-top: 2rem;
}

.highlight-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-clr);
}

/* Contact */
.contact {
    padding: 8rem 0;
}

.contact-card {
    padding: 4rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255,255,255,0.05);
    transform: scale(1.02);
}

.contact-item .icon { font-size: 2rem; }

.contact-item .label { color: var(--text-muted); margin-bottom: 4px; display: block; }
.contact-item .value { font-weight: 600; font-size: 1.1rem; }

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo { font-weight: 700; letter-spacing: -1px; }

.footer-copy { color: var(--text-muted); font-size: 0.9rem; }

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .contact-methods { grid-template-columns: 1fr; }
}
