/* Global Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --color-bg: #F9FAFB;
    /* Soft off-white */
    --color-surface: #FFFFFF;
    --color-primary: #0F4C5C;
    /* Deep Teal - Trust & Security */
    --color-primary-dark: #09343F;
    --color-secondary: #E0FBFC;
    /* Light Blue/Mint - Calm */
    --color-accent: #FB8B24;
    /* Warm Orange - Highlight/Action */
    --color-text-main: #1F2937;
    /* Dark Gray - Readable */
    --color-text-muted: #4B5563;
    /* Medium Gray */
    --color-border: #E5E7EB;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Merriweather', serif;
    /* For emotional headers */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--color-primary);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #d1f7f9;
}

/* Navigation */
.navbar {
    padding: var(--spacing-sm) 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 1.5em;
    width: auto;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, #FFFFFF 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

/* Features / Story Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--color-surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

/* Security Section */
.security-section {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.security-section h2,
.security-section p {
    color: white;
}

.security-section p {
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--color-text-main);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer p {
    color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}