/* ===========================
   CSS RESET & BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* ===========================
   OPTIMIZED DESIGN TOKENS
   =========================== */
:root {
    /* Primary Brand Colors - Deep Navy & Teal */
    --primary: #0A2540;           /* Deep Navy - Main brand color */
    --primary-dark: #061829;      /* Darker Navy - Headers, emphasis */
    --primary-light: #1A3A52;     /* Lighter Navy - Hover states */
    
    /* Secondary Colors - Vibrant Teal & Cyan */
    --secondary: #00B4D8;         /* Bright Teal - CTAs, accents */
    --secondary-dark: #0096C7;    /* Dark Teal - Hover states */
    --secondary-light: #90E0EF;   /* Light Teal - Backgrounds */
    --secondary-hover: #00A8CC;   /* Hover Teal */
    
    /* Accent Colors - Warm Orange (for important highlights) */
    --accent: #FF6B35;            /* Vibrant Orange - Special CTAs */
    --accent-dark: #E85D2E;       /* Dark Orange - Hover */
    --accent-light: #FFB8A3;      /* Light Orange - Backgrounds */
    
    /* Success/Health Green */
    --health-primary: #00CC88;    /* Healthcare Green */
    --health-light: #7FFFD4;      /* Light Aqua */
    
    /* Text Colors */
    --text-main: #0A2540;         /* Primary text - same as primary for consistency */
    --text-muted: #5C6F82;        /* Muted text - softer gray-blue */
    --text-light: #8B9FB2;        /* Light text - even softer */
    
    /* Background Colors */
    --bg-light: #F0F9FF;          /* Very light blue - subtle backgrounds */
    --bg-lighter: #E0F2FE;        /* Lighter blue - card backgrounds */
    --bg-dark: #FAFBFC;           /* Near white - alternate sections */
    --white: #FFFFFF;
    
    /* Status Colors */
    --success: #00CC88;           /* Success green */
    --warning: #FFB020;           /* Warning amber */
    --error: #FF4757;             /* Error red */
    --info: #00B4D8;              /* Info teal */
    
    /* Shadows - Enhanced depth */
    --shadow: 0 10px 30px rgba(10, 37, 64, 0.12);
    --shadow-hover: 0 20px 40px rgba(0, 180, 216, 0.25);
    --shadow-subtle: 0 2px 10px rgba(10, 37, 64, 0.06);
    --shadow-lg: 0 25px 50px rgba(0, 180, 216, 0.3);
    
    /* Border Radius */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

p {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, #00B4D8 0%, #00CC88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

/* ===========================
   SECTION HEADERS
   =========================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--health-primary));
    border-radius: 2px;
}

.text-left.section-title:after {
    left: 0;
    transform: none;
}

/* Inverted Section Headers (for dark backgrounds) */
.inverted .section-title {
    color: var(--white);
}

.inverted p {
    color: rgba(255, 255, 255, 0.85);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.4);
    color: var(--white);
}

.btn-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===========================
   BADGE
   =========================== */

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-full);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===========================
   FORMS
   =========================== */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #D1E3F0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===========================
   LISTS
   =========================== */

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.feature-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}