:root {
    /* Primary Colors */
    --primary: #1a5f7a;
    /* Medical Teal */
    --primary-dark: #0d3d4d;
    /* Deep Teal */
    --primary-light: #57c5b6;
    /* Light Teal */

    /* Secondary Colors */
    --accent: #159895;
    /* Medical Green */
    --accent-light: #69d2c6;
    /* Soft Green */

    /* Background Colors */
    --bg-primary: #f8fafc;
    /* Light Gray-White */
    --bg-secondary: #e2e8f0;
    /* Soft Gray */
    --bg-dark: #0f172a;
    /* Dark Navy */

    /* Glassmorphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Neumorphism Shadows */
    --neu-light: #ffffff;
    --neu-dark: #d1d9e6;

    /* Text Colors */
    --text-primary: #1e293b;
    /* Dark Slate */
    --text-secondary: #64748b;
    /* Muted Gray */
    --text-light: #ffffff;
    /* White */

    /* Success/Warning/Error */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Spacing */
    --container-padding: 1rem;
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary-dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Tablet */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --container-padding: 4rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    :root {
        --container-padding: 6rem;
    }
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

button {
    cursor: pointer;
    touch-action: manipulation;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    touch-action: manipulation;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Button Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    /* transform: translateY(-2px); REMOVED */
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Trust Signals */
.trust-item {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
}

/* Testimonials */
.testimonials .glass-card {
    transition: transform 0.3s ease;
    height: 100%;
}



/* FAQ Details */
details summary {
    list-style: none;
    /* Hide default arrow */
    position: relative;
    padding-right: 30px;
    /* Space for custom arrow */
}

/* Chrome/Safari/Edge markers */
details summary::-webkit-details-marker {
    display: none;
}

/* Custom Arrow */
details summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    line-height: 1;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details[open] summary {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

/* --- Input iOS Zoom Fix --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    font-size: 16px;
}

/* --- FAQ Tap Target --- */
details summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
}

/* --- Range Slider --- */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
}