/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #0b1a2a;
    color: #e0edf5;
    line-height: 1.6;
}
h1, h2, h3, h4 { color: #ffffff; font-weight: 700; line-height: 1.2; }
a { color: #00e5a0; text-decoration: none; transition: color 0.3s; }
a:hover { color: #66ffcc; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; }
.section { padding: 5rem 0; }
.section-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-sub { font-size: 1.2rem; color: #b0c4d8; margin-bottom: 3rem; }
.accent { color: #00e5a0; }
.btn {
    display: inline-block; padding: 0.85rem 2.2rem; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
    text-align: center;
}
.btn-primary { background: #00e5a0; color: #0b1a2a; border-color: #00e5a0; }
.btn-primary:hover { background: #66ffcc; border-color: #66ffcc; color: #0b1a2a; }
.btn-outline { background: transparent; color: #00e5a0; border-color: #00e5a0; }
.btn-outline:hover { background: #00e5a0; color: #0b1a2a; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }

/* === HEADER === */
.header {
    background: #001a2b; border-bottom: 1px solid #002b44; padding: 1rem 0; position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo {
    display: flex; align-items: center; gap: 0.75rem; font-size: 1.6rem; font-weight: 700; color: #ffffff;
}
.logo svg { width: 36px; height: 36px; }
.logo span { color: #ffffff; }
.nav ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nav a {
    color: #c0d6e8; font-weight: 500; padding: 0.4rem 0.2rem; border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.nav a:hover, .nav a.active { color: #00e5a0; border-bottom-color: #00e5a0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle .bar { display: block; width: 28px; height: 3px; background: #e0edf5; margin: 5px auto; transition: all 0.3s; }

/* === HERO === */
.hero { min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-title { font-size: 3rem; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.2rem; color: #b0c4d8; margin-bottom: 2rem; max-width: 540px; }
.hero-content .btn + .btn { margin-left: 1rem; }

/* hex visual */
.hex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; max-width: 300px; margin: 0 auto; }
.hex {
    width: 80px; height: 80px; background: #002b44; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background 0.4s;
}
.hex-accent { background: #00e5a0; animation: pulseGlow 2s infinite alternate; }
@keyframes pulseGlow {
    0% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* === SERVICES === */
.services { background: #0f2033; }
.card {
    background: #12263a; padding: 2rem; border-radius: 16px; border: 1px solid #1e3a50;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.5); }
.card-icon { margin-bottom: 1rem; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.card p { color: #b0c4d8; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.stats-list { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stats-list li { text-align: center; }
.stats-list .counter { font-size: 2.5rem; font-weight: 800; color: #00e5a0; display: block; }
.stats-list .stat-label { color: #b0c4d8; font-size: 0.95rem; }

/* === TESTIMONIALS === */
.testimonials { background: #0b1a2a; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
blockquote { background: #12263a; padding: 2rem; border-left: 4px solid #00e5a0; border-radius: 8px; }
blockquote p { font-style: italic; font-size: 1.1rem; margin-bottom: 1rem; }
blockquote footer { color: #00e5a0; font-weight: 500; }

/* === CONTACT === */
.contact-form {
    max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem;
}
.contact-form label { font-weight: 600; color: #ffffff; }
.contact-form input, .contact-form textarea {
    background: #12263a; border: 1px solid #1e3a50; border-radius: 8px; padding: 0.9rem 1rem;
    color: #e0edf5; font-size: 1rem; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #00e5a0; }
.form-status { font-size: 0.95rem; min-height: 1.5rem; color: #66ffcc; }

/* === FOOTER === */
.footer { background: #001a2b; padding: 2rem 0; border-top: 1px solid #002b44; }
.footer-grid { display: flex; flex-direction: column; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer small { color: #7a94a8; }

/* === PAGE CONTENT (privacy, terms) === */
.page-content { background: #0f2033; padding: 3rem 0; }
.page-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-content .effective-date { color: #b0c4d8; margin-bottom: 2rem; }
.page-content h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; color: #ffffff; }
.page-content p { margin-bottom: 1rem; color: #d0e0ed; font-size: 1.05rem; }
.page-content a { color: #00e5a0; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .hero-grid, .about-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .about-grid { gap: 2rem; }
    .hero-visual { display: none; }
}

@media (max-width: 768px) {
    .nav ul { display: none; flex-direction: column; width: 100%; padding: 1rem 0; gap: 0.8rem; }
    .nav.open ul { display: flex; }
    .nav-toggle { display: block; }
    .header-inner { position: relative; }
    .logo span { display: block; }
    .hero-title { font-size: 2rem; }
    .btn { display: block; width: 100%; margin: 0.5rem 0; }
    .hero-content .btn + .btn { margin-left: 0; }
    .stats-list { justify-content: center; }
}

/* === SCROLL ANIMATION (reveal) === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* === UTILITY === */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }