/* ============================================================
   HOME.CSS — Maritime Features Page
   ============================================================ */

:root {
    --accent: #1a6ef5;
    --accent-dark: #1254c0;
    --accent-light: #e8f0fe;
    --text-primary: #0d1117;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8f9fb;
    --bg-alt: #f3f5f8;
    --border: #e5e7eb;
    --border-light: #f0f2f5;
    --green: #16a34a;
    --green-light: #dcfce7;
    --orange: #ea580c;
    --orange-light: #fff7ed;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 32px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: background .18s, box-shadow .18s, transform .14s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,110,245,.28);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 4px 16px rgba(26,110,245,.36); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-light); }
.btn-white {
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
}
.btn-white:hover { background: #f1f5f9; }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ---- Badges ---- */
.badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 100px;
}
.badge-outline {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.badge-pill {
    padding: 5px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(26,110,245,.15);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding: 80px 0 72px;
    background: var(--bg-white);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-heading {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -.02em;
}
.hero-heading .accent {
    color: var(--accent);
}
.hero-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 440px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-tags span { display: flex; align-items: center; gap: 6px; }

/* Hero Visual Card */
.hero-visual { display: flex; justify-content: center; }
.hero-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-card-badges {
    display: flex;
    gap: 8px;
}
.hbadge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .03em;
}
.hbadge-blue { background: var(--accent-light); color: var(--accent); }
.hbadge-green { background: var(--green-light); color: var(--green); }

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.hero-stat {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hero-stat .stat-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.hero-stat .stat-label {
    font-size: 11px;
    color: var(--text-muted);
}
.accent-stat { background: var(--accent-light); }
.accent-stat .stat-num { color: var(--accent); }

.hero-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.hero-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-card-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hcf-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.hcf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}
.hcf-dot.green { background: var(--green); }
.hcf-dot.orange { background: var(--orange); }
.hcf-highlight {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================================
   SECTION INTRO
   ============================================================ */
.section-intro {
    padding: 72px 0 48px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}
.text-center { text-align: center; }
.section-heading {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 16px auto;
    max-width: 680px;
    letter-spacing: -.02em;
}
.section-subheading {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feature-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}
.feature-section--alt {
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.feature-grid--right .feature-visual { order: -1; }

/* Feature Text */
.feature-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--accent);
}
.feature-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -.015em;
}
.feature-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-secondary);
}
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.feature-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* Feature Image Card */
.feature-img-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fic-title {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}
.fic-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: opacity .15s;
}
.fic-link:hover { opacity: .7; }

.fic-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.fic-badge--green { background: var(--green-light); color: var(--green); }
.fic-badge--blue { background: var(--accent-light); color: var(--accent); }
.fic-badge--purple { background: var(--purple-light); color: var(--purple); }

.fic-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    display: block;
}

.fic-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}
.fic-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fic-stat .fic-num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.fic-stat span:last-child {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: #0d1117;
    padding: 72px 0;
    margin-top: 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.015em;
    margin-bottom: 12px;
}
.cta-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    max-width: 520px;
}
.cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-heading { font-size: 40px; }
    .feature-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .hero-section { padding: 56px 0 48px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-heading { font-size: 34px; }

    .section-heading { font-size: 28px; }

    .feature-section { padding: 56px 0; }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .feature-grid--right .feature-visual { order: 0; }
    .feature-heading { font-size: 24px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; }
    .cta-heading { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 28px; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats-row { grid-template-columns: repeat(3, 1fr); }
    .fic-stats { grid-template-columns: repeat(3, 1fr); }
}