:root {
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --teal: #64ffda;
    --gold: #D4AF37;

    --font-sans: 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;

    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--navy);
    color: var(--slate);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 10px 0;
    font-family: var(--font-serif);
    color: var(--lightest-slate);
    font-weight: 600;
}

h1 {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1.1;
    color: var(--white);
}

h2 {
    font-size: clamp(26px, 5vw, 32px);
    color: var(--white);
    margin-top: 40px;
}

h3 {
    font-size: 22px;
    color: var(--teal);
}

p {
    margin: 0 0 15px 0;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--gold);
}

/* Header */
header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-family: var(--font-sans);
    color: var(--lightest-slate);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--teal);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('/assets/hero-ocean.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 1px solid var(--lightest-navy);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--slate);
}

.cta-button {
    display: inline-block;
    padding: 18px 26px;
    border: 1px solid var(--teal);
    color: var(--teal);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    background: transparent;
}

.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--teal); /* Keep teal on hover */
    text-decoration: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

section {
    margin-bottom: 80px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    /* In case SVG needs styling, usually fill or stroke controlled in SVG or here if inline */
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 16px;
    color: var(--light-slate);
}

/* AdSense */
.ad-container-leaderboard {
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    background-color: var(--light-navy);
    border: 1px dashed var(--lightest-navy);
    color: var(--slate);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
@media (max-width: 768px) {
  .ad-container-leaderboard {
    min-height: 250px;
  }
}

/* Footer */
footer {
    background-color: var(--light-navy);
    padding: 40px;
    text-align: center;
    color: var(--slate);
    font-size: 14px;
    border-top: 1px solid var(--lightest-navy);
}

footer nav {
    justify-content: center;
    margin-top: 20px;
}

/* Utility */
.highlight {
    color: var(--teal);
}
