:root {
    --bg-color: #050505;
    --text-color: #f8fafc;
    --accent-color: #60a5fa;
    --card-bg: #111111;
    --border-color: #262626;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Nav & Branded Logo (A-VOX-lab) */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #60a5fa;
    border-radius: 6px;
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    margin-right: 10px;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
    flex-shrink: 0;
}

.logo {
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.6rem;
    color: #fff;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.logo .vox {
    font-weight: 900;
    color: var(--accent-color);
    margin: 0 1px;
}

.logo .lab {
    font-weight: 200;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: lowercase;
    margin-left: 2px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
}

.btn-login {
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--accent-color);
    color: white;
}

/* Hero Section with Header Wrap Fix */
.hero {
    padding: 140px 0;
    text-align: center;
    background: radial-gradient(circle at top right, #1e293b 0%, #050505 60%);
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    hyphens: auto;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: -0.5px;
    margin: 0 auto 16px;
    max-width: 700px;
}

/* Teaser Box */
.platform-teaser {
    padding: 80px 0;
    background: #0d1117;
}

.teaser-box {
    border: 1px dashed var(--accent-color);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.tag {
    background: var(--accent-color);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

/* The 4-Card Intelligent Grid */
.grid {
    display: grid;
    /* Forces 4 columns on wide screens, drops to 2 or 1 as needed */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 60px 0;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.card h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

/* Tablet Layout Fix (Forces 2x2 symmetry) */
@media (min-width: 768px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Forms & Footer */
.content-section {
    padding: 100px 0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 4px;
    font-family: inherit;
}

.cta {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.cta:hover {
    opacity: 0.9;
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: #64748b;
    font-size: 0.8rem;
}

/* Success Page Layout */
.centered-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
/* Logo color fix (needed when logo appears outside <nav>) */
.logo .vox {
    color: var(--accent-color);
}
.logo .lab {
    color: #64748b;
}

/* Centered page layout for 404 / login / thanks */
.centered-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    padding: 2rem;
    box-sizing: border-box;
}
