:root {
    --bg: #FAFAFA;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --accent: #0056D2;
    --accent-hover: #003F9A;
    --border: #EAEAEA;
    --card-bg: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

/* Header */
header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--accent);
}

.logo span {
    color: var(--text-main);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

/* Grids */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 60px 0 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

/* Typography contents */
.content-page {
    padding: 60px 0;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 40px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.content-page h2 {
    margin: 40px 0 20px;
    font-size: 28px;
}

.content-page h3 {
    margin: 30px 0 15px;
    font-size: 22px;
}

.content-page p {
    margin-bottom: 20px;
    font-size: 17px;
}

.content-page ul, .content-page ol {
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 17px;
}

.content-page li {
    margin-bottom: 10px;
}

.content-page blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 18px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: auto;
}

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

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 32px; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}