@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --border-color: #222222;
    --border-hover: #444444;
    --text-main: #ededed;
    --text-muted: #888888;
    --accent: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

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

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-main { color: var(--text-main); }
.text-center { text-align: center; }

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    border-bottom-color: var(--border-color);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--text-main);
    color: var(--bg-base);
}
.btn-primary:hover {
    background: #ffffff;
    opacity: 0.9;
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}
.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--border-hover);
}

/* Cards / Minimal Surfaces */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: border-color 0.3s ease;
}
.card:hover {
    border-color: var(--border-hover);
}

/* Layouts */
.section { padding: 120px 0; }
.section-header { margin-bottom: 60px; text-align: left; }
.section-header.center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }
.section-header.center .section-subtitle { margin: 0 auto; }

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

/* Hero */
.hero { min-height: 80vh; display: flex; align-items: center; padding-top: 60px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag { display: inline-block; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; border: 1px solid var(--border-color); padding: 4px 12px; border-radius: 20px; }
.hero-text h1 { font-size: 4rem; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; }

/* Minimal Mockup */
.mockup-container { position: relative; width: 100%; aspect-ratio: 9/19; max-width: 340px; margin: 0 auto; border-radius: 32px; border: 8px solid var(--border-color); overflow: hidden; background: var(--bg-base); }
.mockup-container img { width: 100%; height: 100%; object-fit: cover; }

/* Forms */
.form-group { margin-bottom: 24px; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.form-control { width: 100%; padding: 14px 16px; background: var(--bg-base); border: 1px solid var(--border-color); border-radius: 6px; color: var(--text-main); font-family: var(--font-sans); font-size: 0.95rem; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--border-hover); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 80px 0 40px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer h4 { color: var(--text-main); font-size: 0.9rem; font-weight: 500; margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { color: #555555; font-size: 0.85rem; display: flex; justify-content: space-between; align-items: center; }

/* Scroll Reveal (Very Subtle) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .section-header { text-align: center; }
    .section-subtitle { margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-base); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--border-color); text-align: left; }
    .nav-links.show { display: flex; }
    .menu-toggle { display: block; }
    .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .card { padding: 24px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--text-main);
}
