/* ===== BlueGuard Brand Styles ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --teal: #4ECDC4;
    --teal-dark: #3DBDB4;
    --dark: #2D3A4A;
    --dark-deeper: #1E2A38;
    --coral: #F06C86;
    --white: #FFFFFF;
    --gray-50: #F8FAFB;
    --gray-100: #EEF2F5;
    --gray-200: #DCE2E8;
    --gray-400: #9BA8B6;
    --gray-600: #5A6A7A;
    --gray-800: #3A4A5A;
    --gray-900: #2D3A4A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
    transition: color 0.2s;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
}

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

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(160deg, var(--dark-deeper) 0%, var(--dark) 100%);
    color: var(--white);
}

.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    color: var(--teal);
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}

.hero .cta-btn {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
}

.hero .cta-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    color: var(--white);
}

/* ===== Features ===== */
.features {
    padding: 5rem 2rem;
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 58, 74, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12), rgba(78, 205, 196, 0.04));
}

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 5rem 2rem;
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 12px);
    right: calc(16.67% + 12px);
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.3);
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
    max-width: 260px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-deeper);
    color: var(--gray-400);
    padding: 2.5rem 2rem;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand img {
    height: 28px;
    width: auto;
    opacity: 0.85;
}

.footer-brand span {
    font-weight: 600;
    color: var(--gray-200);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    line-height: 1.7;
    color: var(--gray-800);
}

.legal-content h1 {
    color: var(--gray-900);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 0.75rem;
}

.legal-content h2 {
    color: var(--gray-900);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
}

.legal-content li {
    margin-bottom: 0.4rem;
    font-size: 0.9375rem;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-dark);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.legal-back:hover {
    text-decoration: underline;
    color: var(--teal);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.0625rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps::before {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .legal-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 540px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .navbar {
        padding: 0.75rem 1rem;
    }
}
