:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-white: #ffffff;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --border: #e2e8f0;
    --header-height: 80px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.bg-light {
    background-color: var(--bg-secondary);
}

.white {
    color: var(--text-white) !important;
}

/* 1. HEADER */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    cursor: pointer;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* 2. HERO */
.hero {
    height: 100vh;
    min-height: 700px;
    background: var(--bg-dark) url('assets/hero.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.btn-primary-large {
    background: var(--accent);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-outline-large {
    border: 2px solid white;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-outline-large:hover {
    background: white;
    color: var(--bg-dark);
}

/* 3. VISION */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.vision-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.vision-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.1);
}

.grad-1 { background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); }
.grad-2 { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.grad-3 { background: linear-gradient(135deg, #64748b 0%, #334155 100%); }

/* 4. PRODUCTS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: #1e293b;
    border-radius: 32px;
    overflow: hidden;
    transition: transform 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card:hover {
    transform: translateY(-15px);
}

.product-img-wrapper {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.product-info {
    padding: 2.5rem;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

/* 5. SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 32px;
    transition: background 0.3s;
}

.service-item:hover {
    background: var(--bg-secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

/* 6. TECH STACK */
.mini-title {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.tech-marquee {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-tag {
    font-weight: 900;
    font-size: 1.5rem;
    color: #cbd5e1;
}

/* 7. STATS */
.advantage-wrapper {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* 8. CONTACT */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    padding: 1.5rem;
    border-radius: 16px;
    border: none;
    background: #1e293b;
    color: white;
    outline: none;
    font-family: inherit;
}

.contact-details {
    margin-top: 2rem;
}

/* FOOTER */
.footer {
    padding: 80px 0 40px;
    background: #080a10;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #475569;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

/* RESPONSIVENESS */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* ANIMATIONS */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

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

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