/* ============================================
   does4u — Premium Stylesheet
   Brand: Navy + Amber (D-010)
   No build step — pure CSS
   ============================================ */

/* ============================================
   1. VARIABLES (Brand)
   ============================================ */
:root {
    /* Colors — D-010 */
    --navy: #0F172A;
    --navy-light: #1E293B;
    --sky: #3B82F6;
    --sky-light: #60A5FA;
    --amber: #FBBF24;
    --amber-dark: #F59E0B;
    --surface: #F8FAFC;
    --slate: #475569;
    --slate-light: #94A3B8;
    --border: #E2E8F0;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout */
    --container: 1200px;
    --radius: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy);
    background: var(--surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--slate);
}

.amber-text { color: var(--amber); }

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

.section {
    padding: var(--space-xl) 0;
}

.section-lg {
    padding: var(--space-2xl) 0;
}

.text-center { text-align: center; }

/* ============================================
   5. HEADER & NAV
   ============================================ */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.03em;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--slate);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

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

.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
    background: var(--navy);
    color: var(--surface) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--navy-light);
    color: var(--surface) !important;
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--surface);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--surface);
}

.btn-amber {
    background: var(--amber);
    color: var(--navy);
}

.btn-amber:hover {
    background: var(--amber-dark);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* ============================================
   7. HERO
   ============================================ */
.hero {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.hero .badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-dark);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

/* ============================================
   8. CARDS (Services, Features)
   ============================================ */
.grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   9. FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--surface);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-xl);
}

.footer-brand .logo { color: var(--surface); margin-bottom: var(--space-sm); }

.footer-brand p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--surface);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

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

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
    border-top: 1px solid rgba(248, 250, 252, 0.15);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.6);
}

.footer-bottom a {
    color: rgba(248, 250, 252, 0.6);
}

.footer-bottom a:hover { color: var(--amber); }

/* ============================================
   10. RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
    h1, .hero h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .nav-links { display: none; }
    .hero p { font-size: 1.1rem; }
    .section { padding: var(--space-lg) 0; }
    .section-lg { padding: var(--space-xl) 0; }
}