@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Han+Sans+SC:wght@400;500;600&display=swap');

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    color: var(--color-text-main);
    background: var(--color-gradient-sky);
    min-height: 100vh;
    line-height: 1.65;
}

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

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

ul { list-style: none; }

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

.page-hero {
    padding: calc(var(--space-xl) + 60px) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
    color: var(--color-surface);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 47, 73, 0.88), rgba(14, 165, 233, 0.75));
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-image, url('../images/skyscraper_night_17.png')) center/cover;
    opacity: 0.4;
    z-index: -1;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: var(--font-size-h1);
    font-family: var(--font-family-heading);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

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

.section+.section {
    border-top: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.section-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-secondary);
    font-weight: 600;
}

.section-title {
    font-size: var(--font-size-h2);
    font-family: var(--font-family-heading);
    color: var(--color-primary-dark);
}

.section-description {
    max-width: 560px;
    color: var(--color-text-muted);
}

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

.highlight {
    color: var(--color-accent);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
    color: var(--color-surface);
    background: var(--color-gradient-ocean);
    box-shadow: var(--shadow-card);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

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

.btn-link {
    background: none;
    border: none;
    color: var(--color-primary-dark);
    padding: 0;
    box-shadow: none;
}

.btn-link i { transition: transform 0.3s ease; }

.btn-link:hover i { transform: translateX(4px); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary-dark);
    font-size: 0.85rem;
}

.glass-panel {
    background: var(--color-surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
}

.content-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 720px;
}

.stacked {
    display: grid;
    gap: var(--space-sm);
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0;
}
