/* Silaro Website - Shared Design System */
/* Based on App Design Tokens */

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

:root {
    /* App Design System Colors */
    --accent: #B68A3A;
    --accent-light: #E7D7B0;
    --accent-dark: #8B6914;
    --accent-muted: #F5EDD8;
    --background: #FCFAF7;
    --surface: #FFFFFF;
    --surface-variant: #F5F5F7;
    --text-primary: #0E0E10;
    --text-secondary: #3A3A3F;
    --text-tertiary: #4A4A4A;
    --border: rgba(14, 14, 16, 0.08);
    --success: #1E8E3E;
    --warning: #C37E00;
    --error: #B00020;

    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: var(--surface);
    padding: 16px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* Hero Headers */
.header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(182, 138, 58, 0.3);
}

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

.btn-secondary:hover {
    background: var(--accent-muted);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: var(--accent-light);
}

.card-accent {
    border-left: 4px solid var(--accent);
}

/* Highlight Box */
.highlight-box {
    background: var(--accent-muted);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border-left: 4px solid var(--accent);
}

.highlight-box p {
    margin: 0;
}

.warning-box {
    background: #FEF7E8;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border-left: 4px solid var(--warning);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: var(--surface-variant);
    font-weight: 600;
    color: var(--text-primary);
}

.table tr:hover {
    background: var(--surface-variant);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0 24px;
    text-align: center;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-light);
}

.footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Content Styles */
.content {
    padding: 60px 0;
}

.content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px 0;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-light);
}

.content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 12px 0;
    color: var(--accent);
}

.content p {
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.8;
}

.content ul,
.content ol {
    margin: 16px 0 20px 24px;
    color: var(--text-primary);
}

.content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content a {
    color: var(--accent);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* Updated Date */
.updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
    padding: 16px;
    background: var(--surface-variant);
    border-radius: var(--radius-md);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* Feature Icons */
.icon-box {
    width: 56px;
    height: 56px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header {
        padding: 48px 0;
    }

    .header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
        max-width: 320px;
    }
}
