:root {
    --primary: #0284c7; /* Sky Blue */
    --primary-hover: #0369a1;
    --secondary: #0c4a6e; /* Deep Ocean */
    --accent: #38bdf8;
    --bg-light: #f0f9ff;
    --bg-white: #ffffff;
    --text-main: #0c4a6e;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Hero */
.hero {
    padding: 120px 0;
    background: linear-gradient(rgba(12, 74, 110, 0.5), rgba(12, 74, 110, 0.7)), url('/assets/pool_hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Trust Bar */
.trust-bar {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.trust-logos span {
    font-weight: 800;
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 99px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 99px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.4);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Urgency Bar */
.urgency-bar {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 700;
}

/* Quiz */
.quiz-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.quiz-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.quiz-btn:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

/* Friction Badges */
.friction-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.friction-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Social Proof */
.social-proof-toast {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .sticky-cta { display: flex; }
    h1 { font-size: 2.4rem; }
    .hero { padding: 80px 0; }
}
