/* Base Styles & Layout */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--leading-relaxed);
    color: var(--gray-800);
    background-color: var(--white);
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo::before {
    content: '◯';
    font-size: var(--text-3xl);
    color: var(--primary-blue);
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-base);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--gray-700);
    margin: 3px 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Scroll Progress Indicator */
.scroll-indicator {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gray-200);
    z-index: var(--z-sticky);
}

.scroll-progress {
    height: 100%;
    background: var(--primary-blue);
    width: 0%;
    transition: width 0.1s ease;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 100%);
    padding: calc(var(--header-height) + var(--space-16)) var(--space-8) var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(37,99,235,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(37,99,235,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(37,99,235,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-8);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    font-weight: var(--font-weight-light);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-12) var(--space-8) var(--space-8);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
}

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

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-quote {
    margin-top: var(--space-4);
    font-style: italic;
    line-height: var(--leading-relaxed);
}

.footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-700);
    text-align: center;
    color: var(--gray-400);
}

/* Grid Layouts */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    align-items: center;
    margin-top: var(--space-12);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    margin-top: var(--space-12);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

/* Highlight Text */
.highlight {
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
}