/* ============================================================
   NEPTUNE ELEVATORS v2.0 — HOMEPAGE STYLES
   Hero, Stats, About, Features, Products, Testimonial, FAQ, CTA
   Clean corporate design — no glow effects, no AI-looking quirks
   ============================================================ */

/* ============================================================
   SECTION 1: HERO
   Full viewport, clean typography, solid overlays
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 147, 204, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(74, 122, 184, 0.1) 0%, transparent 40%);
    z-index: 3;
    pointer-events: none;
    animation: heroMesh 12s ease-in-out infinite alternate;
}

@keyframes heroMesh {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease-smooth);
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.is-active .hero-bg-img {
    animation: heroZoom 8s var(--ease-smooth) forwards;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform, opacity;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    /* Keep the text zone dark across changing slide imagery. */
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.94) 0%, rgba(5, 10, 20, 0.76) 42%, rgba(5, 10, 20, 0.34) 78%, rgba(5, 10, 20, 0.58) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.62) 0%, rgba(5, 10, 20, 0.18) 45%, rgba(5, 10, 20, 0.78) 100%);
    z-index: 2;
}

/* Noise texture on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    /* Was space-24 (96px) top/bottom, which — stacked with the label, title,
       subtitle, quicklinks, CTAs and trust strip below — pushed the whole
       hero well past one screen's height on desktop, and far past it on
       mobile where the same spacing was never reduced. */
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.hero-inner {
    max-width: 900px;
    padding: var(--space-8) var(--space-10);
    border-left: 3px solid var(--accent-primary);
    background: rgba(5, 10, 20, 0.24);
    text-shadow: 0 2px 14px rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(2px);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero-label .section-label {
    /* Base .section-label is 11-12px with 0.2em letter-spacing — too small
       and, on this dark hero background, too low-contrast to read comfortably.
       Bumped size/weight and switched to the brighter blue for legibility. */
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--gold-400);
    text-shadow: 0 1px 6px rgba(5, 10, 20, 0.6);
}

.hero-label .gold-line {
    background: linear-gradient(90deg, var(--gold-500), transparent);
    width: 80px;
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: var(--font-black);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: #FFFFFF;
    margin-bottom: var(--space-6);
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(5, 10, 20, 0.5), 0 1px 3px rgba(5, 10, 20, 0.4);
}

.hero-title br {
    display: none;
}

@media (min-width: 768px) {
    .hero-title br {
        display: block;
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: #F5F3EF;
    max-width: 640px;
    margin-bottom: var(--space-10);
    text-shadow: 0 1px 8px rgba(5, 10, 20, 0.5);
}

.hero-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-quicklink {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    border: 1px solid rgba(232, 228, 220, 0.35);
    border-radius: var(--radius-full, 999px);
    background: rgba(5, 10, 20, 0.3);
    color: #F5F3EF;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background var(--duration-base) var(--ease-smooth),
                border-color var(--duration-base) var(--ease-smooth),
                transform var(--duration-base) var(--ease-smooth);
}

.hero-quicklink:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-cta .btn-lg {
    padding: var(--space-4) var(--space-8);
}

/* The outline "Call" button's default blue border/text (--border-gold is a
   low-opacity blue, --accent-primary a mid-tone blue) reads fine on the
   light cta-section backgrounds it's used on elsewhere, but doesn't have
   enough contrast against a photo. Lighten it here specifically. */
.hero-cta .btn-gold-outline {
    background: rgba(5, 10, 20, 0.35);
    border-color: rgba(245, 243, 239, 0.75);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
}

.hero-cta .btn-gold-outline:hover {
    background: rgba(245, 243, 239, 0.15);
    border-color: #FFFFFF;
    box-shadow: none;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    font-size: var(--text-sm);
    color: #D8D3C8;
    text-shadow: 0 1px 6px rgba(5, 10, 20, 0.6);
}

.hero-trust strong {
    color: var(--accent-primary);
    font-weight: var(--font-bold);
}

.hero-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(232, 228, 220, 0.4);
    flex-shrink: 0;
}

/* Scroll Indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    opacity: 0.6;
}

.hero-scroll-text {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: var(--border-default);
    position: relative;
    overflow: hidden;
}

.hero-scroll-dot {
    width: 1px;
    height: 16px;
    background: var(--accent-primary);
    position: absolute;
    top: 0;
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

.hero-slider-dots {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 5;
}

.hero-slider-dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background var(--duration-normal) var(--ease-out);
}

.hero-slider-dot.is-active {
    background: var(--accent-primary);
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767px) {
    .hero-slider-dots {
        bottom: var(--space-6);
    }

    .hero-slider-dot {
        width: 28px;
    }

    /* The desktop spacing below (same on every screen size until now) made
       the hero run far taller than the viewport on phones, pushing the
       trust strip / call button area down past the fold. Compact it. */
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: var(--space-10);
        padding-bottom: var(--space-10);
    }

    .hero-inner {
        padding: var(--space-6) var(--space-5);
    }

    .hero-label {
        margin-bottom: var(--space-4);
    }

    .hero-title {
        margin-bottom: var(--space-4);
    }

    .hero-subtitle {
        margin-bottom: var(--space-6);
    }

    .hero-quicklinks {
        gap: var(--space-2);
        margin-bottom: var(--space-5);
    }

    .hero-cta {
        margin-bottom: var(--space-5);
    }

    .hero-trust {
        margin-bottom: var(--space-4);
    }

    /* Decorative only — the first thing to go when space is tight. */
    .hero-scroll {
        display: none;
    }
}

@keyframes scrollPulse {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-dot {
        animation: none;
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================================
   SECTION 2: STATS / TRUST SIGNALS
   Clean counter numbers with gold accent lines
   ============================================================ */

.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-12);
    }
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-black);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-3);
    overflow-wrap: break-word;
}

.stat-suffix {
    color: var(--accent-primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.stat-line {
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    margin: 0 auto;
    opacity: 0.5;
}

/* ============================================================
   SECTION 3: ABOUT
   Asymmetric 2-column layout
   ============================================================ */

.about-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-16);
    }
}

.about-content {
    max-width: 600px;
}

.about-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.about-body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.about-body p {
    margin-bottom: var(--space-4);
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.about-cta {
    margin-top: var(--space-4);
}

/* ============================================================
   SECTION 3A: KERALA HOME LIFTS
   ============================================================ */
.kerala-home-lifts {
    background: var(--navy-900);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.kerala-home-lifts .content-body ul {
    margin: var(--space-6) 0;
    padding-left: var(--space-6);
}

.kerala-home-lifts .content-body li {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.kerala-visual-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-default);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
}

.kerala-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kerala-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    padding: var(--space-8);
}

.kerala-visual-badge {
    text-align: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.kerala-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.kerala-visual-item {
    text-align: center;
    padding: var(--space-5);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
}

.kerala-visual-number {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.kerala-visual-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
}

[data-theme="light"] .kerala-home-lifts {
    background: var(--warm-100);
}

[data-theme="light"] .kerala-visual {
    background: var(--warm-50);
}

[data-theme="light"] .kerala-visual-item {
    background: #FFFFFF;
}

@media (max-width: 767px) {
    .kerala-visual-grid {
        grid-template-columns: 1fr;
    }

    .kerala-visual {
        margin-top: var(--space-8);
    }
}

/* About Image Grid */
.about-images {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    height: 500px;
}

.about-image-wrap {
    border-radius: var(--radius-default);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color var(--duration-normal) var(--ease-out);
    pointer-events: none;
}

.about-image-wrap:hover::after {
    border-color: var(--border-gold);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.about-image-wrap:hover .about-img {
    transform: scale(1.03);
}

.about-img-main {
    grid-row: span 2;
}

.about-img-secondary {
    grid-row: span 1;
}

@media (max-width: 767px) {
    .about-images {
        height: 350px;
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   SECTION 3B: SERVICES — icon strip (no card boxes)
   ============================================================ */

.service-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 768px) {
    .service-strip {
        flex-direction: row;
        align-items: flex-start;
    }
}

.service-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

.service-strip-item:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .service-strip-item {
        border-bottom: none;
        border-left: 1px solid var(--border-subtle);
    }

    .service-strip-item:first-child {
        border-left: none;
    }
}

.service-strip-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    color: var(--accent-primary);
}

.service-strip-item h3 {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.service-strip-item p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
    max-width: 240px;
}

/* ============================================================
   SECTION 3C: PROCESS — numbered timeline
   ============================================================ */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

@media (min-width: 768px) {
    .process-timeline {
        flex-direction: row;
        gap: 0;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    padding: 0 var(--space-5);
}

.process-step-circle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    flex-shrink: 0;
    z-index: 1;
}

@media (min-width: 768px) {
    .process-step:not(.process-step-last) .process-step-circle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: calc(100% + var(--space-10));
        height: 2px;
        background: var(--border-gold);
        transform: translateY(-50%);
    }
}

.process-step h3 {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.process-step p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
    max-width: 240px;
}

/* ============================================================
   SECTION 4B: WHY NEPTUNE — compact advantage pills
   ============================================================ */

.advantage-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.advantage-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full, 999px);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    background: var(--bg-primary);
    cursor: default;
    transition: border-color var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.advantage-pill:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.advantage-pill svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ============================================================
   SECTION 4: FEATURES / BENEFITS
   Two-column layout: list + image
   ============================================================ */

.features-section {
    background: var(--bg-secondary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.features-content {
    max-width: 600px;
}

.features-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.features-intro {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.feature-item:hover {
    border-color: var(--border-subtle);
    box-shadow: none;
    transform: none;
}

.features-list .feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-top: 3px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--accent-primary);
}

.feature-text h3 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
}

.features-image {
    position: relative;
    border-radius: var(--radius-default);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 4 / 3;
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   SECTION 5: PRODUCTS PREVIEW
   Clean card grid with sharp borders
   ============================================================ */

.products-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.section-subheading {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.section-header .gold-line-lg {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
}

.product-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    transform: translateY(-4px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: var(--space-6);
}

.product-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-wrap: balance;
}

.product-card-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.product-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card-arrow {
    gap: var(--space-3);
}

.section-footer {
    text-align: center;
}

/* ============================================================
   SECTION 6: TESTIMONIAL
   Clean quote styling, no decorative borders
   ============================================================ */

.testimonial-section {
    background: var(--bg-secondary);
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
    position: relative;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--border-gold);
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote-mark {
    color: var(--accent-primary);
    opacity: 0.3;
    margin-bottom: var(--space-6);
}

.testimonial-quote {
    font-size: var(--text-xl);
    font-style: italic;
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.testimonial-quote p {
    margin: 0;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-subtle);
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-name {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    font-style: normal;
    color: var(--text-primary);
}

.testimonial-role {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   SECTION 7: FAQ
   Minimal accordion
   ============================================================ */

.faq-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    background: var(--bg-secondary);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--text-muted);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

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

/* ============================================================
   SECTION 8: CTA BANNER
   Full-width call-to-action with solid background
   ============================================================ */

.cta-section {
    background: var(--navy-900);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-content {
    max-width: 600px;
}

.cta-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.cta-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 767px) {
    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-quicklink {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .hero-trust {
        font-size: var(--text-xs);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .about-heading,
    .section-heading,
    .features-heading,
    .cta-heading {
        font-size: var(--text-2xl);
    }

    .testimonial-quote {
        font-size: var(--text-lg);
    }

    .feature-item {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */

[data-theme="light"] .hero-bg-overlay {
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.7) 42%, rgba(5, 10, 20, 0.3) 78%, rgba(5, 10, 20, 0.52) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.58) 0%, rgba(5, 10, 20, 0.16) 45%, rgba(5, 10, 20, 0.72) 100%);
}

[data-theme="light"] .hero {
    background: var(--warm-50);
}

[data-theme="light"] .cta-section {
    background: var(--warm-100);
}

[data-theme="light"] .product-card,
[data-theme="light"] .faq-item {
    background: var(--warm-50);
}

/* inner-pages.css gives .feature-item a card background in light mode
   (shared with blog-card/gallery-item/faq-item on other pages); the
   homepage's "Why choose Neptune" list is a plain checklist, not a card,
   so it needs a higher-specificity override to win regardless of load order. */
[data-theme="light"] .features-list .feature-item {
    background: none;
}
