/* ===========================
   Tsunami Watch — Design System
   Ocean-themed color palette
   =========================== */
:root {
    --navy-deep: #0a1628;
    --navy-mid: #0f2041;
    --ocean-blue: #1a6fa8;
    --ocean-blue-dark: #125a8c;
    --teal: #00b4d8;
    --teal-dark: #0096b7;
    --teal-light: #90e0ef;
    --alert-red: #e63946;
    --alert-red-dark: #c1121f;
    --warn-orange: #f4a261;
    --watch-yellow: #f9c74f;
    --neutral-light: #f0f8ff;
    --neutral-medium: #dce8f0;
    --text-dark: #0d1b2a;
    --text-medium: #3d5a73;
    --text-light: #6d8fa8;
    --white: #ffffff;
    --shadow-sm: 0 2px 6px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 10px 40px rgba(10, 22, 40, 0.18);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Header & Navigation
   =========================== */
header {
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    border-bottom: 1px solid var(--neutral-medium);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    position: relative;
    gap: 1rem;
}

/* Logo: icon + wordmark */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-logo img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.nav-logo:hover .nav-logo-text {
    color: var(--teal-dark);
}

/* Nav links */
header nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

header nav ul li a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

header nav ul li a:hover {
    color: var(--ocean-blue);
    background: var(--neutral-light);
}

header nav ul li a.active {
    color: var(--ocean-blue);
    font-weight: 600;
}

/* Trevlo byline link */
.nav-byline {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--neutral-medium);
    border-radius: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-byline:hover {
    color: var(--ocean-blue);
    border-color: var(--ocean-blue);
    background: var(--neutral-light);
}

/* Hamburger */
#hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--navy-deep);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    line-height: 1;
}

#hamburger-menu:hover {
    color: var(--teal-dark);
    transform: scale(1.1);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 50%, #0d2d5e 100%);
    color: var(--white);
    padding: 7rem 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated particle dots overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 111, 168, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.4);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.7s ease-out;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--teal-light), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
    line-height: 1.65;
    animation: fadeInUp 0.8s ease-out 0.25s backwards;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.badge-coming-soon .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Wave SVG divider at bottom of hero */
.hero-wave {
    position: relative;
    z-index: 1;
    line-height: 0;
    margin-bottom: -2px;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ===========================
   Keyframe Animations
   =========================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Section Base Styles
   =========================== */
.section-padding {
    padding: 5rem 0;
}

.section-alt {
    background: var(--neutral-light);
}

.section-dark {
    background: var(--navy-deep);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.75px;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title h2 {
    color: var(--white);
}

.section-dark .section-title p {
    color: var(--teal-light);
    opacity: 0.85;
}

/* Section label pill */
.section-label {
    display: inline-block;
    background: rgba(0, 180, 216, 0.12);
    color: var(--teal-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 180, 216, 0.25);
}

.section-dark .section-label {
    background: rgba(0, 180, 216, 0.18);
    color: var(--teal-light);
    border-color: rgba(0, 180, 216, 0.4);
}

/* ===========================
   Features Grid
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--ocean-blue));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.2px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.65;
}

/* ===========================
   Screenshot Carousel
   =========================== */
.carousel-section {
    background: linear-gradient(160deg, var(--navy-mid) 0%, #0e2957 100%);
    padding: 5rem 0;
}

.carousel-section .section-title h2 {
    color: var(--white);
}

.carousel-section .section-title p {
    color: rgba(144, 224, 239, 0.85);
}

.screenshot-carousel {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: 720px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 680px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-caption {
    margin-top: 1.25rem;
    color: rgba(144, 224, 239, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: -60px; }
.carousel-next { right: -60px; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(144, 224, 239, 0.3);
    border: 1px solid rgba(144, 224, 239, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(144, 224, 239, 0.6);
}

.carousel-dot.active {
    background: var(--teal-light);
    width: 28px;
    border-radius: 5px;
    border-color: var(--teal-light);
}

/* Fullscreen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.fullscreen-close {
    position: absolute;
    top: -2rem;
    right: -1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.fullscreen-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    line-height: 1;
}

.fullscreen-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-prev { left: 2rem; }
.fullscreen-next { right: 2rem; }

.fullscreen-caption {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===========================
   Story Section
   =========================== */
.story-section {
    background: var(--white);
}

.story-inner {
    max-width: 760px;
    margin: 0 auto;
}

.story-inner p {
    font-size: 1.075rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.85;
}

.story-inner p:last-child {
    margin-bottom: 0;
}

.story-inner a {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(26, 111, 168, 0.3);
    transition: var(--transition);
}

.story-inner a:hover {
    color: var(--teal-dark);
    border-bottom-color: var(--teal-dark);
}

.story-blockquote {
    border-left: 4px solid var(--teal);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--neutral-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================
   Regions Section
   =========================== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.region-card {
    background: var(--white);
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    transition: var(--transition);
}

.region-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}

.region-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-card h3 .region-icon {
    font-size: 1.2rem;
}

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

.region-card ul li {
    font-size: 0.9rem;
    color: var(--text-medium);
    padding: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.region-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

/* ===========================
   CTA Banner
   =========================== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--ocean-blue-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.75px;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.975rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy-deep);
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   Footer
   =========================== */
footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.5rem 0 2.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-logo img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
}

.footer-brand .footer-logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===========================
   Page Hero (inner pages)
   =========================== */
.page-hero {
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 60%, #0d2d5e 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero-wave {
    position: relative;
    z-index: 1;
    line-height: 0;
    margin-bottom: -2px;
}

.page-hero-wave svg {
    display: block;
    width: 100%;
}

/* ===========================
   Privacy / Long-form Content
   =========================== */
.content-section {
    background: var(--white);
    padding: 4rem 0;
}

.content-body {
    max-width: 780px;
    margin: 0 auto;
}

.content-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--neutral-medium);
}

.content-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.content-body p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.85;
}

.content-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.content-body a {
    color: var(--ocean-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 111, 168, 0.3);
    transition: var(--transition);
}

.content-body a:hover {
    color: var(--teal-dark);
    border-bottom-color: var(--teal-dark);
}

.content-body .effective-date {
    display: inline-block;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-medium);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.content-body ul {
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
    color: var(--text-medium);
}

.content-body ul li {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 0.4rem;
    color: var(--text-medium);
}

.content-body .policy-footer-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-medium);
    font-style: italic;
    color: var(--text-light);
}

/* ===========================
   FAQ Page
   =========================== */
.faq-section {
    background: var(--neutral-light);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--ocean-blue);
}

.faq-question.open {
    color: var(--ocean-blue);
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--teal-dark);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-icon.open {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.975rem;
    color: var(--text-medium);
    line-height: 1.8;
    border-top: 1px solid var(--neutral-medium);
    padding-top: 1.25rem;
}

.faq-answer-inner p {
    margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin: 0.5rem 0 0.75rem 0;
    padding-left: 1.25rem;
}

.faq-answer-inner ul li {
    margin-bottom: 0.4rem;
}

.faq-answer-inner strong {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-answer-inner a {
    color: var(--ocean-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 111, 168, 0.3);
}

.faq-answer-inner a:hover {
    color: var(--teal-dark);
}

/* Alert type badges */
.alert-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert-badge.warning {
    background: rgba(230, 57, 70, 0.12);
    color: var(--alert-red-dark);
    border: 1px solid rgba(230, 57, 70, 0.25);
}

.alert-badge.advisory {
    background: rgba(249, 199, 79, 0.2);
    color: #7a5c00;
    border: 1px solid rgba(249, 199, 79, 0.4);
}

.alert-badge.watch {
    background: rgba(244, 162, 97, 0.15);
    color: #7a3c00;
    border: 1px solid rgba(244, 162, 97, 0.3);
}

/* Support contact box */
.contact-box {
    background: var(--white);
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.contact-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.contact-box p {
    font-size: 0.975rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-box a.btn {
    display: inline-flex;
}

/* ===========================
   User Guide
   =========================== */
.guide-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

.guide-sidebar {
    position: sticky;
    top: 100px;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-medium);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.guide-sidebar h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.guide-sidebar nav a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-medium);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.guide-sidebar nav a:hover,
.guide-sidebar nav a.active {
    background: rgba(0, 180, 216, 0.1);
    color: var(--ocean-blue);
}

.guide-content {
    min-width: 0;
}

.guide-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 100px;
}

.guide-section h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--neutral-medium);
    letter-spacing: -0.3px;
}

.guide-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.guide-section p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.guide-section ul,
.guide-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.guide-section li {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.guide-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.guide-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.guide-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--teal);
    color: var(--navy-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 0.15rem;
}

.guide-step-text {
    flex: 1;
}

.guide-step-text p {
    margin-bottom: 0;
}

.guide-tip {
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.guide-tip strong {
    color: var(--teal-dark);
}

.guide-warning {
    background: rgba(230, 57, 70, 0.07);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-left: 4px solid var(--alert-red);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.guide-warning strong {
    color: var(--alert-red-dark);
}

/* Alert level indicator strips */
.alert-level-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--neutral-medium);
}

.alert-level-table th {
    background: var(--neutral-light);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--neutral-medium);
}

.alert-level-table td {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--neutral-medium);
    vertical-align: top;
    line-height: 1.6;
}

.alert-level-table tr:last-child td {
    border-bottom: none;
}

/* ===========================
   Scroll Fade Animation (JS)
   =========================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

    .guide-sidebar {
        position: static;
    }

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

    .footer-links {
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem 1.5rem;
    }

    .carousel-prev { left: -48px; }
    .carousel-next { right: -48px; }
}

/* ===========================
   Responsive — Mobile
   =========================== */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--neutral-medium);
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        display: block;
        padding: 0.9rem 1.5rem;
        border-radius: 0;
    }

    .nav-byline {
        display: none;
    }

    #hamburger-menu {
        display: block;
    }

    .hero {
        padding: 5rem 0 0;
    }

    .hero h1 {
        letter-spacing: -0.75px;
    }

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

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

    .screenshot-carousel {
        max-width: 280px;
    }

    .carousel-container {
        min-height: 540px;
    }

    .carousel-prev { left: -42px; }
    .carousel-next { right: -42px; }

    .carousel-slide img {
        max-height: 500px;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

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

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 12px;
    }

    .carousel-prev { left: -36px; }
    .carousel-next { right: -36px; }

    .fullscreen-prev { left: 0.5rem; }
    .fullscreen-next { right: 0.5rem; }

    .guide-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
