:root {
    --bg-dark: #0a1a2f;
    --bg-darker: #050b16;
    --bg-hero: #0f2747;
    --accent: #4cc2ff;
    --accent-soft: rgba(76, 194, 255, 0.15);
    --text-main: #222;
    --text-muted: #666;
    --radius: 6px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text-main);
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header */

header {
    background: linear-gradient(90deg, var(--bg-dark), var(--bg-darker));
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    background: var(--bg-dark);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.tagline {
    color: #cfd8e3;
    font-size: 0.85rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a,
.dropbtn {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Animated underline */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

nav a.hovering::after {
    transform: translateX(0);
}

nav a:hover,
.dropbtn:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1a2940;
    min-width: 180px;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    overflow: hidden;
    z-index: 200;
}

.dropdown-content a {
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero */

.hero {
    background: radial-gradient(circle at top left, #1b3b6b, var(--bg-hero));
    background-size: cover;
    background-position: center 50%;
    color: #fff;
    padding: 110px 0 90px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.05rem;
    color: #dbe6ff;
    max-width: 600px;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.cta.primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cta.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.cta.secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.cta.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-badges {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges span {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.panel-card {
    background: rgba(5, 11, 22, 0.9);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
}

.panel-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #d0d8e8;
}

.panel-card li {
    margin-bottom: 6px;
}

/* Sections */

.section {
    padding: 60px 0;
}

.section.gray {
    background: #f5f5f5;
}

h2 {
    margin-bottom: 18px;
    font-size: 1.6rem;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
}

/* Grids & cards */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e3e6ee;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card li {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* Pills */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #0b223a;
    font-size: 0.85rem;
}

/* Lists */

.features,
.list {
    list-style: none;
    padding: 0;
}

.features li,
.list li {
    margin-bottom: 10px;
}

/* Timeline */

.timeline {
    border-left: 2px solid #dde2ee;
    margin-left: 10px;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(76, 194, 255, 0.25);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 30px;
    align-items: flex-start;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e3e6ee;
}

.contact-card h3 {
    margin-top: 0;
}

.contact-card ol {
    padding-left: 18px;
    margin: 0;
    color: var(--text-muted);
}

/* Footer */

footer {
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
}

.footer-note {
    color: #a9b4c7;
}

/* Scroll fade-in animation */

.fade-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    nav {
        display: none;
    }
    header {
        padding: 10px 0;
    }
}

@media (max-width: 700px) {
    .grid-3,
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
