/* Offhours Labs - Premium Design System */
:root {
    --bg-color: #FAFAFA;
    /* Porcelain / Off-white */
    --surface-color: #FFFFFF;
    --text-primary: #111827;
    /* Near Black */
    --text-secondary: #6B7280;
    /* Cool Grey */
    --accent-color: #0d9488;
    /* Teal / Turquoise */
    --accent-hover: #0f766e;
    --border-color: #E5E7EB;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-lg: 24px;
    --radius-md: 12px;
}

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

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Floating Pill Style */
header {
    position: sticky;
    top: 20px;
    z-index: 100;
    padding: 0 24px;
    margin-bottom: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 16px 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Sections */
section {
    padding: 3rem 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.04em;
    /* Tight tracking */
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--text-primary);
    /* Primary button is Black */
    color: white;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

/* Card / Bento Grid System */
.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-bento {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
}

.card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-teal {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    color: white;
    border: none;
}

.card-teal h3,
.card-teal p {
    color: white;
}

.card-kanavu {
    grid-row: span 2;
    background: var(--surface-color);
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.card-kanavu img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 2rem;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0;
}

.kanavu-content {
    padding: 2rem;
    text-align: center;
}

.chip {
    display: inline-block;
    padding: 6px 16px;
    background: #F3F4F6;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Hero Specifics */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    max-width: 900px;
    background: linear-gradient(to right, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    background: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: white;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .nav-links {
        display: none;
    }

    .grid-bento,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card-kanavu {
        grid-row: auto;
    }

    header {
        margin-bottom: 20px;
    }
}