/* -----------------------------------------------------------
           1. VARIABLES & RESET
        ----------------------------------------------------------- */
:root {
    /* BRAND COLORS (Constant) */
    --primary-blue: #002B5B;
    --primary-light: #004E8F;
    --accent-cyan: #00A3E0;

    /* LIGHT MODE DEFAULTS */
    --bg-body: #ffffff;
    --bg-section: #f3f6fa;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --border-color: #e5e7eb62;
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --phone-bezel: #111827;
    --dark-border: #020617;
    --input-bg: #ffffff;

    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] {
    --bg-body: #0f172a;
    /* Deep Slate */
    --bg-section: #1e293b;
    /* Lighter Slate for contrast */
    --bg-card: #1e293b;
    /* Cards match section bg or slightly lighter */
    --text-main: #f8fafc;
    /* Off-white text */
    --text-muted: #94a3b8;
    /* Light gray text */
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --border-color: #33415566;
    --shadow-soft: rgba(0, 0, 0, 0.3);
    /* Darker shadows for depth */
    --shadow-strong: rgba(0, 0, 0, 0.5);
    --phone-bezel: #020617;
    /* Even darker black for phone */
    --input-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 80px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* -----------------------------------------------------------
           2. GLOBAL COMPONENTS
        ----------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 43, 91, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.accent-text {
    position: relative;
    color: var(--primary-light);
}

.accent-text::after {
    content: "+";
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transform: rotate(15deg);
}

/* -----------------------------------------------------------
           3. NAVIGATION & LOGO
        ----------------------------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 100px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Dark Mode Logo Text Adjustment */
[data-theme="dark"] .logo-text {
    color: #fff;
}

[data-theme="dark"] .logo {
    color: #fff;
}

/* LOGO SWITCHING LOGIC */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.nav-center {
    display: flex;
    gap: 30px;
}

.nav-center a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-center a:hover {
    color: var(--primary-blue);
}

[data-theme="dark"] .nav-center a:hover {
    color: var(--accent-cyan);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.moon-icon {
    display: none;
}

.sun-icon {
    display: block;
}

/* Swap Icons based on theme */
[data-theme="dark"] .moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-body);
    /* Adapt to theme */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.4s ease-in-out;
    z-index: 99;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.mobile-menu a:hover {
    color: var(--primary-blue);
}


/* -----------------------------------------------------------
           4. HERO SECTION
        ----------------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    gap: 50px;
    padding-bottom: 50px;
    padding-top: 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-form {
    margin-bottom: 60px;
}

.input-group {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: 50px;
    display: inline-flex;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 6px var(--shadow-soft);
}

.input-group input {
    border: none;
    outline: none;
    padding: 15px 20px;
    flex-grow: 1;
    border-radius: 50px;
    font-size: 1rem;
    background: transparent;
    color: var(--text-main);
}

/* CAROUSEL */
.social-proof {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.proof-label {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-slider {
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.logo-track {
    display: flex;
    gap: 50px;
    /* width: max-content; */
    animation: scroll 15s linear infinite;
    height: 100px;
    filter: grayscale(1);
    transition: .8s ease-in-out;
}

.logo-track:hover {
    filter: grayscale(0);
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    opacity: 0.5;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* HERO VISUALS */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-bg {
    position: absolute;
    width: 350px;
    height: 450px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-blue) 100%);
    border-radius: 40px;
    transform: translate(0px, 90px);
    z-index: -1;
}

.phone-mockup {
    position: relative;
    z-index: 1;
    transition: background 0.3s;
}

.hero-phone img {
    width: 400px;
    height: 600px;
}

.phone-screen {
    background: var(--bg-section);
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.avatar {
    width: 30px;
    height: 30px;
    background: #ccc;
    border-radius: 50%;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.menu-items .item {
    height: 50px;
    background: var(--bg-card);
    margin-bottom: 10px;
    border-radius: 12px;
}


/* -----------------------------------------------------------
           5. OVERVIEW FEATURES
        ----------------------------------------------------------- */
.features-section {
    position: relative;
    padding-bottom: 100px;
    background-color: var(--bg-section);
    transition: background 0.3s;
}

.features-header {
    background-color: #000;
    color: white;
    padding: 80px 20px 150px 20px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* In dark mode, pure black header might look odd on dark bg, let's keep it black for contrast or use accent */
[data-theme="dark"] .features-header {
    background-color: #020617;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.glow-text {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(0, 78, 143, 0.6);
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -100px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-text h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.card-visual img {
    border: 8px solid var(--phone-bezel);
    object-fit: contain;
    object-position: center;
    box-shadow: 0 5px 15px var(--shadow-soft);
    border-radius: 25px;
}

.phone-screen-mini {
    padding: 15px;
    background: var(--bg-section);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #10b981;
    border-radius: 20px;
    align-self: flex-start;
}


/* -----------------------------------------------------------
           6. DETAILED FEATURES
        ----------------------------------------------------------- */
.detailed-features {
    padding: 100px 20px;
    background: var(--bg-body);
    transition: background 0.3s;
}

.details-header {
    text-align: center;
    margin-bottom: 60px;
}

.details-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.details-header p {
    color: var(--text-muted);
}

.details-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.feature-col {
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.left-col .detail-item {
    flex-direction: row-reverse;
    text-align: right;
}

.right-col .detail-item {
    flex-direction: row;
    text-align: left;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: transform 0.3s, background 0.3s;
}

/* In dark mode, icon circle needs contrast */
[data-theme="dark"] .icon-circle {
    background-color: #334155;
    color: var(--accent-cyan);
}

.detail-item:hover .icon-circle {
    background-color: var(--primary-blue);
    color: white;
    transform: rotate(10deg);
}

.detail-item .text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.detail-item .text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.center-col {
    display: flex;
    justify-content: center;
}

.phone-mockup.slim {
    width: 320px;
}

.app-interface {
    background: var(--bg-card);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ui-nav {
    width: 100%;
    height: 20px;
    background: var(--bg-section);
    border-radius: 10px;
}

.ui-chart-circle {
    width: 120px;
    height: 120px;
    border: 15px solid var(--primary-blue);
    border-radius: 50%;
    border-right-color: var(--border-color);
}

.ui-row {
    width: 100%;
    height: 40px;
    background: var(--bg-section);
    border-radius: 12px;
}


/* -----------------------------------------------------------
           7. VIDEO ACADEMY (SLIDER)
        ----------------------------------------------------------- */
.video-section {
    padding: 80px 0;
    background-color: #111827;
    color: white;
    border-top: 1px solid var(--border-color);
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.video-header p {
    color: #9ca3af;
}

.video-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    /* Space for buttons */
}

.video-track-container {
    overflow: hidden;
    width: 100%;
}

.video-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.video-card {
    min-width: 320px;
    /* Force cards to have width */
    flex: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    height: 200px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border: 5px solid var(--dark-border);
}


.thumb-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card:hover .thumb-bg {
    transform: scale(1.05);
}

.thumb-phone {
    width: 90px;
    height: 160px;
    background: #020617;
    border-radius: 16px;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
}

.thumb-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.thumb-screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    height: 6px;
    background: #f3f4f6;
    border-radius: 4px;
}

.thumb-screen::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 10px;
    right: 30px;
    height: 6px;
    background: #f3f4f6;
    border-radius: 4px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    transition: background 0.3s;
}

.video-card:hover .play-button {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.video-info span {
    color: #9ca3af;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--primary-blue);
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    position: relative;
    background-color: black;
    border-radius: 20px;
    overflow: hidden;
    height: 80vh;
    aspect-ratio: 9 / 16;
    max-width: 90vw;
    box-shadow: 0 0 50px rgba(0, 43, 91, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-player-container iframe,
.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* -----------------------------------------------------------
           8. DOWNLOAD SECTION (App Showcase)
        ----------------------------------------------------------- */
.app-showcase {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 0;
    overflow: hidden;
    /* Gradient adapts to theme */
    background: linear-gradient(180deg, var(--bg-body) 30%, var(--bg-section) 100%);
    position: relative;
}

.app-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.app-showcase p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.store-btn {
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* In dark mode, white button border helps visibility */
[data-theme="dark"] .store-btn {
    background-color: #1e293b;
    border-color: #334155;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-strong);
}

.store-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text small {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 500;
}

.btn-text span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* 3D SHEARED PHONE CONTAINER */
.phone-3d-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: -150px;
    perspective: 2000px;
    z-index: 10;
}

/* Updated Circle Colors */
.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    overflow: hidden;
}

.c2 {
    width: 700px;
    height: 700px;
    opacity: 0.1;
}

.phone-3d {
    width: 300px;
    height: 500px;
    background: var(--phone-bezel);
    border-radius: 40px;
    border: 8px solid #334155;
    position: relative;
    transform: rotateX(15deg) rotateY(-10deg) rotateZ(5deg) translateY(-20px);
    box-shadow: -20px 20px 50px var(--shadow-strong), -2px 0 0 2px #515d71 inset;
    transition: transform 0.5s ease, background 0.3s;
}

.phone-3d:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-20px);
}

.side-btn {
    position: absolute;
    left: -12px;
    background: #334155;
    width: 6px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.5);
}

.side-btn.mute {
    top: 80px;
    height: 20px;
}

.side-btn.vol-up {
    top: 130px;
    height: 40px;
}

.side-btn.vol-down {
    top: 180px;
    height: 40px;
}

.side-btn.power {
    left: auto;
    right: -12px;
    top: 150px;
    height: 60px;
    border-radius: 0 4px 4px 0;
}

.screen-content {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Screen content is always light mode (it's the app UI), so we keep hardcoded white background */

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

.store-header {
    padding: 50px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    color: #3b82f6;
    font-weight: 500;
    font-size: 1.1rem;
}

.app-hero {
    padding: 0 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.app-icon-store {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 43, 91, 0.3);
}

.app-meta h3 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #111827;
}

.app-meta small {
    color: #6b7280;
    display: block;
    margin-bottom: 10px;
}

.get-btn {
    background: #eff6ff;
    color: #3b82f6;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    font-size: 0.9rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    padding: 15px 0;
    margin: 0 20px;
}

.stat-col {
    text-align: center;
}

.stat-col .label {
    color: #9ca3af;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-col .val {
    font-weight: 700;
    font-size: 1.2rem;
    color: #374151;
}

.stat-col .sub {
    color: #9ca3af;
    font-size: 0.8rem;
}


.main-footer {
    background-color: var(--bg-section);
    padding: 80px 0 60px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 20;
    transition: background 0.3s;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--text-main);
}

.motto {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 20px 0;
}

.footer-form {
    display: flex;
    gap: 10px;
}

.footer-form input {
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    outline: none;
    background: var(--bg-card);
    color: var(--text-main);
}


/* -----------------------------------------------------------
           9. RESPONSIVENESS (MOBILE)
        ----------------------------------------------------------- */
@media (max-width: 968px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-center {
        display: none;
    }

    /* Keep toggle visible but hide the "Early Access" button on small phones if needed, 
               or keep both if space allows. Here I hide the big button but keep hamburger & toggle. */
    .nav-right .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu .btn-primary {
        display: inline-block;
        margin-top: 20px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtext {
        margin: 0 auto 30px;
    }

    .logos {
        justify-content: center;
    }

    .blob-bg {
        width: 350px;
        height: 450px;
    }

    .features-header {
        padding-bottom: 50px;
    }

    .features-cards {
        margin-top: 0;
    }

    .details-grid {
        flex-direction: column;
    }

    .left-col .detail-item {
        flex-direction: row;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-form {
        justify-content: center;
    }

    .phone-3d {
        transform: rotateX(10deg) rotateY(-10deg) rotateZ(5deg);
    }

    .video-card {
        min-width: 300px;
    }

    .app-showcase {
        overflow: visible;
    }

    .phone-3d-container {
        margin-bottom: -100px;
    }

    .circle-bg {
        width: 250px;
        height: 350px;
    }

    .c2 {
        width: 350px;
        height: 500px;
    }
}