/* ===== Global Styles ===== */
:root {
    --primary-green: #39A899;
    --hover-green: #318e81;
    --text-main: #333333;
    --text-white: #ffffff;
    --text-gray: #666666;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 500,
        'GRAD' 0,
        'opsz' 24;
}


body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 5%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-circle-nav {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.lang-switch {
    background: rgba(57, 168, 153, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-switch:hover {
    background: rgba(57, 168, 153, 0.15);
}

.menu-toggle {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section (nebulabuds style) ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #d6eef8 0%, #c4dff0 30%, #b8d8ea 60%, #aed0e6 100%);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 500px 300px at 80% 40%, rgba(200, 220, 240, 0.5), transparent);
    pointer-events: none;
}

.hero-brand {
    text-align: center;
    padding: 2rem 1rem 1rem;
    z-index: 2;
    position: relative;
}

.hero-brand h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    font-style: italic;
    margin-bottom: 0.6rem;
}

.hero-brand p {
    font-size: 0.85rem;
    color: #556;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Showcase Layout */
.hero-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 1rem 2rem 3rem;
    z-index: 2;
    position: relative;
    flex: 1;
}

.showcase-left,
.showcase-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    max-width: 280px;
}

.showcase-left {
    align-items: flex-end;
}

.showcase-right {
    align-items: flex-start;
}

/* Floating Feature Cards */
.float-card {
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    width: 220px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: floatCard 4s ease-in-out infinite, fadeSlideIn 0.8s ease-out both;
    transition: var(--transition);
    cursor: default;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.float-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.float-card .card-icon .material-symbols-outlined {
    font-size: 20px;
}

.float-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.float-card p {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.4;
}

/* Unified Brand Style for all floating cards */
.card-purple,
.card-green,
.card-pink,
.card-orange,
.card-blue,
.card-peach {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 1px solid rgba(57, 168, 153, 0.15);
    /* Subtle green border */
}

.card-purple .card-icon,
.card-green .card-icon,
.card-pink .card-icon,
.card-orange .card-icon,
.card-blue .card-icon,
.card-peach .card-icon {
    background: rgba(57, 168, 153, 0.1);
    color: var(--primary-green);
}

/* Hover effect */
.float-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(57, 168, 153, 0.15);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Phone Mockup */
.phone-mockup {
    flex-shrink: 0;
    z-index: 3;
}

.phone-frame {
    width: 300px;
    height: 620px;
    background: #fff;
    border-radius: 48px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(255, 255, 255, 0.75);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}



.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* Match scaffold background */
    position: relative;
    overflow: hidden;
    padding-top: 24px;
    /* Basic safe area */
}

/* === App Internal UI (Matches App Code) === */

/* Header */
.app-header-real {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0;
}

.app-brand-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-circle {
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    border-radius: 50%;
}

.app-brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.app-help-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-size: 13px;
    opacity: 0.8;
}

/* Connection Area */
.app-connection-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0;
    position: relative;
    margin-bottom: 0.5rem;
}

.battery-float-left {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.battery-ring {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #444;
    border-radius: 50%;
}

.battery-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.battery-inner-text {
    position: absolute;
    font-size: 9px;
    color: #fff;
    font-weight: bold;
    z-index: 2;
}

/* Halo */
.halo-container {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.halo-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 168, 153, 0.12), #fff);
    box-shadow: 0 0 16px rgba(57, 168, 153, 0.2);
}

.halo-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-green);
    box-shadow: 0 0 12px rgba(57, 168, 153, 0.2);
}

.halo-3 {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #E7F4F1, #FFFFFF);
    box-shadow: 0 0 6px rgba(57, 168, 153, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 20px;
}

/* Small bubble top right */
.halo-bubble {
    position: absolute;
    top: 14px;
    right: 26px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(57, 168, 153, 0.18);
    box-shadow: 0 0 6px rgba(57, 168, 153, 0.2);
}

/* Connect Pill */
.connect-btn-pill {
    background: var(--primary-green);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-icon-circle {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-circle i {
    font-size: 12px;
    color: var(--primary-green);
}

/* Feature Grid */
.app-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
    margin-top: 8px;
}

.feature-tile {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    aspect-ratio: 1.8;
    /* Flutter ChildAspectRatio: width/height = 1.8 so width is 1.8x height */
}

.tile-icon,
.tile-icon-group {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.tile-icon i,
.tile-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-green);
}

.feature-tile span {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    margin-top: 8px;
    opacity: 0.9;
}

/* Bottom Nav */
/* Bottom Nav */
.app-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 24px;
    background: #fff;
    border-top: 1px solid #f9f9f9;
    margin-top: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    color: #999;
    cursor: default;
}

.nav-item .material-symbols-outlined {
    font-size: 26px;
}

/* Custom AI Icon (Concentric Circles) */
.custom-ai-icon {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 2px;
}

.custom-ai-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
}

.nav-item span:not(.material-symbols-outlined) {
    font-size: 11px;
    font-weight: 500;
}

.nav-item.active {
    color: var(--primary-green);
}

/* ===== AI Product Carousel Section ===== */
.ai-product-carousel-section {
    padding: 3rem 5%;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.ai-product-carousel-section h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.product-carousel-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* max-width: 1200px; Optional: restrict width */
}

.product-carousel {
    display: block;
    overflow: hidden;
    padding: 0.5rem 0 1.5rem;
    position: relative;
    width: 100%;
}

.product-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.product-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move exactly half the width (containing the first set) */
        /* Each item = 220px (min-width) + padding? No, fixed size */
        /* Actually variable width. % based is safer if 50% matches duplication */
        transform: translateX(-50%);
    }
}

.carousel-item {
    min-width: 200px;
    height: 260px;
    border-radius: 20px;
    position: relative;
    padding: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.item-content {
    z-index: 2;
    position: relative;
    width: 100%;
}

.item-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #000;
    font-weight: 700;
}

.item-content p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.35;
    max-width: 100%;
}

.item-img-container {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 0.5rem 0;
}

.item-img-container img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.placeholder-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.2;
}

.placeholder-icon span {
    font-size: 90px;
}

.icon-blue {
    color: #1976D2;
}

.icon-green {
    color: #388E3C;
}

.icon-orange {
    color: #F57C00;
}

.icon-pink {
    color: #C2185B;
}

/* Gradients */
.card-gradient-1 {
    background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
}

.card-gradient-2 {
    background: linear-gradient(135deg, #E8F5E9 0%, #FFFFFF 100%);
}

.card-gradient-4 {
    background: linear-gradient(135deg, #F3E5F5 0%, #FFFFFF 100%);
}

.card-gradient-5 {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
}

.card-gradient-6 {
    background: linear-gradient(135deg, #FCE4EC 0%, #FFFFFF 100%);
}

/* ===== AI Ecosystem Section ===== */
.ai-ecosystem-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
    overflow: hidden;
}

.ai-ecosystem-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ai-ecosystem-section h2 {
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ecosystem-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left: Visual */
.ecosystem-visual {
    position: relative;
    width: 450px;
    height: 450px;
    flex-shrink: 0;
}

/* Subtle radial glow behind the visual */
.ecosystem-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 168, 153, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Dashed orbit ring */
.ecosystem-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1.5px dashed rgba(68, 129, 235, 0.15);
    pointer-events: none;
    animation: orbit-rotate 30s linear infinite;
}

@keyframes orbit-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #04BEFE 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 12px 40px rgba(57, 168, 153, 0.35), 0 0 60px rgba(57, 168, 153, 0.1);
    z-index: 10;
}

.center-circle h3 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.center-circle p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border-radius: 50%;
    border: 1.5px solid rgba(57, 168, 153, 0.15);
    animation: pulse-ring 3s infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }

    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

.orbit-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.orbit-item:hover {
    transform: scale(1.05);
}

.icon-bubble {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(68, 129, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    color: var(--primary-green);
    border: 1px solid rgba(68, 129, 235, 0.08);
    transition: all 0.3s ease;
}

.orbit-item:hover .icon-bubble {
    box-shadow: 0 8px 25px rgba(57, 168, 153, 0.2);
    border-color: rgba(57, 168, 153, 0.3);
}

.icon-bubble span {
    font-size: 26px;
}

.text-bubble {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    max-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.text-bubble h4 {
    margin: 0 0 3px;
    font-size: 1rem;
    color: #1a2a30;
    font-weight: 600;
}

.text-bubble p {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

/* Positioning items around circle */
.item-integrator {
    top: 10%;
    left: 0%;
    transform: translateX(-20%);
}

.item-solution {
    top: 10%;
    right: 0%;
    transform: translateX(20%);
}

.item-brand {
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile Adjustments for visual */
@media (max-width: 768px) {
    .ecosystem-visual {
        width: 320px;
        height: 320px;
    }

    .center-circle {
        width: 120px;
        height: 120px;
    }

    .item-integrator {
        top: 0;
        left: 0;
        transform: scale(0.9);
    }

    .item-solution {
        top: 0;
        right: 0;
        transform: scale(0.9);
    }

    .item-brand {
        bottom: -20px;
        transform: translateX(-50%) scale(0.9);
    }

    .ecosystem-container {
        gap: 2rem;
    }
}


/* Right: Advantages (Glass Style) */
.ecosystem-advantages {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.advantage-card.glass-style {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.advantage-card.glass-style:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(31, 38, 135, 0.12);
    border-color: rgba(57, 168, 153, 0.2);
}

.glass-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.advantage-card.glass-style:hover .glass-icon {
    transform: scale(1.08);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.glass-icon .large-text {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.glass-icon span.material-symbols-outlined {
    font-size: 40px;
}

.icon-blue-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-purple-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-green-gradient {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-orange-gradient {
    background: linear-gradient(135deg, #f83600 0%, #f9d423 100%);
}

.advantage-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1a2a30;
    font-weight: 700;
}

.advantage-card p {
    font-size: 0.9rem;
    color: #556;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .ecosystem-advantages {
        grid-template-columns: 1fr;
    }
}

/* ===== Features Section ===== */
.features-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section .section-title {
    text-align: center;
    font-size: 2.22rem;
    margin-bottom: 4rem;
    color: #333;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

.feature-image.feature-mockups {
    overflow: visible;
    box-shadow: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image.feature-single {
    overflow: visible;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.feature-image.feature-single .feature-single-card {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-image.feature-single .feature-single-card img {
    display: block;
    width: 100%;
    height: auto;
}

.feature-image.feature-single .mockup-label {
    font-size: 0.95rem;
    color: #666;
    padding: 10px 0 14px;
}

.feature-mockups .mockup-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: flex-end;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    animation: gentleFloat 6s ease-in-out infinite;
    transition: box-shadow 0.4s ease;
}

.feature-mockups .mockup-card:hover {
    box-shadow: 0 20px 50px rgba(57, 168, 153, 0.12);
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.feature-mockups .mockup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-mockups .mockup-screen {
    width: 220px;
    height: 472px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.feature-mockups iframe {
    width: 375px;
    height: 812px;
    border: 0;
    transform: scale(0.585);
    transform-origin: top left;
    pointer-events: none;
}

.feature-mockups .mockup-label {
    font-size: 0.95rem;
    color: #666;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 700;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== Download Section ===== */
.download-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary-green), #2d8a7e);
    color: #fff;
    text-align: center;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: var(--primary-green);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Download + Footer Merged ===== */
.footer-merged {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    /* Ultra-premium Deep Slate/Pine background, very Apple/Vercel dark mode feel */
    background: #0f1416;
    background-image: radial-gradient(circle at 100% 0%, #152226 0%, #0f1416 100%);
    text-align: left;
    color: #f1f5f9;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-merged .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-merged .footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-merged .footer-col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-merged .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(57, 168, 153, 0.4);
}

/* Contact Info Styling */
.footer-merged .contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-merged .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-merged .contact-icon {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-top: 3px;
    background: rgba(57, 168, 153, 0.15);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-merged .contact-body {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 3px;
    font-weight: 400;
}

.footer-merged .contact-qr {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    background: #ffffff;
    padding: 6px;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.footer-merged .contact-qr:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(57, 168, 153, 0.2);
    border-color: var(--primary-green);
}

.footer-merged .contact-qr-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-merged .contact-qr-item p {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    width: 100px;
    /* Align text exactly under the QR code */
}

/* Footer Links Styling */
.footer-merged .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-merged .footer-links li {
    margin-bottom: 1.2rem;
}

.footer-merged .footer-links a {
    color: #94a3b8;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.footer-merged .footer-links a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

/* QR Downloads Styling */
.footer-qr-downloads .qr-download-container {
    display: flex;
    gap: 2rem;
}

.footer-qr-downloads .qr-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-qr-downloads .download-qr {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    background: #ffffff;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.footer-qr-downloads .download-qr:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(57, 168, 153, 0.2);
    border-color: var(--primary-green);
}

.footer-qr-downloads .qr-item p {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    width: 100px;
    /* Align text exactly under the QR code */
}

/* Copyright Styling */
.footer-merged .copyright {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Responsive (Keep existing) ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        clip-path: circle(0% at 100% 0);
        transition: var(--transition);
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-showcase {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .showcase-left,
    .showcase-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        gap: 0.8rem;
    }

    .float-card {
        width: 160px;
        padding: 0.8rem;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .feature-block {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .feature-block.reverse {
        flex-direction: column;
    }

    .feature-image {
        transform: none;
    }

    .feature-block.reverse .feature-image {
        transform: none;
    }

    .feature-mockups .mockup-card {
        flex-direction: column;
        gap: 20px;
    }

    .feature-mockups .mockup-screen {
        width: 200px;
        height: 430px;
    }

    .download-buttons {
        flex-direction: column;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(57, 168, 153, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--hover-green);
    box-shadow: 0 6px 20px rgba(57, 168, 153, 0.45);
    transform: translateY(-3px);
}