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

:root {
    --ocean: #0ea5e9;
    --ocean-light: #38bdf8;
    --ocean-dark: #0284c7;
    --turquoise: #06b6d4;
    --mint: #10b981;
    --coral: #f97316;
    --sand: #fef3c7;
    
    --navy: #0f172a;
    --slate: #334155;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.1);
    --shadow-md: 0 4px 16px rgba(14, 165, 233, 0.15);
    --shadow-lg: 0 8px 32px rgba(14, 165, 233, 0.2);
    --shadow-xl: 0 16px 48px rgba(14, 165, 233, 0.25);
    
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--slate);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--ocean);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 3rem 0 1.5rem;
    color: var(--ocean-dark);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--ocean);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
    color: var(--ocean-dark);
}

p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--gray);
    font-weight: 400;
}

a {
    color: var(--ocean);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--ocean-dark);
}

/* Header */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.navbar {
    padding: 0.875rem 0;
}

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

.logo a {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--ocean);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9375rem;
    color: var(--slate);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--ocean);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--ocean);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main */
main {
    margin-top: 64px;
}

/* Hero */
.hero {
    background: var(--ocean);
    padding: 3rem 0;
    position: relative;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.6;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(14, 165, 233, 0.12);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ocean);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.card:hover::before {
    transform: scaleX(1);
}

.intro-section .card {
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 2.5rem;
}

.intro-section h2 {
    color: var(--ocean-dark);
    margin-top: 0;
}

.intro-section p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

/* Sections */
section {
    margin: 4rem 0;
}

/* Footer */
.main-footer {
    background: var(--navy);
    color: var(--light);
    padding: 3rem 0 1.5rem;
    margin-top: 6rem;
    border-top: 3px solid var(--ocean);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 700;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 0.625rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* Responsive */
@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero .lead {
        font-size: 1.25rem;
    }
    
    section {
        margin: 6rem 0;
    }
    
    .card {
        padding: 2.5rem;
    }
    
    .intro-section .card {
        padding: 3rem;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        border-top: 1px solid rgba(14, 165, 233, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Selection */
::selection {
    background: var(--ocean);
    color: var(--white);
}