:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --bg: #030712;
    --card-bg: rgba(17, 24, 39, 0.7);
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-header);
    letter-spacing: -0.02em;
}

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

/* NAVBAR */
.navbar {
    height: 72px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

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

/* BUTTONS */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* HERO */
.hero {
    padding: 160px 0 120px;
    position: relative;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

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

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.hero-pulse {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    z-index: 0;
    opacity: 0.5;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* SECTIONS */
section {
    padding: 100px 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 600px;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(17, 24, 39, 0.9);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* CONTACT FORM */
.contact-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-control { min-height: 120px; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-layout, .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
    .hero { text-align: center; padding: 120px 0 80px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .contact-wrap { padding: 2rem; }
    nav { display: none; }
}

/* MICRO-INTERACTIONS */
.animate-ready { opacity: 0; transform: translateY(20px); }
.animate-in { opacity: 1; transform: translateY(0); transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
