/* CSS Variables */
:root {
    --bg-main: #060913;
    --bg-secondary: #121826;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-primary: #4F46E5;
    --accent-secondary: #8B5CF6;
    --accent-tertiary: #6366f1;

    --glass-bg: rgba(24, 24, 27, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --badge-height-mobile: 44px;
    --badge-height-desktop: 56px;
}

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

html {
    scroll-behavior: smooth;
}

body.dark-theme {
    background-color: #0b081a;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px, 64px 64px;
    background-position: 0 0, 0 0;
    background-repeat: repeat, repeat;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(180deg, #93C5FD 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
}

/* App Store Badge */

.appstore-badge {
    display: inline-block;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    line-height: 0;
    cursor: pointer;
    pointer-events: auto !important;
}

.appstore-badge:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1);
}

.appstore-badge img {
    display: block;
    height: var(--badge-height-mobile);
    width: auto;
}

@media (min-width: 1024px) {
    .appstore-badge img {
        height: var(--badge-height-desktop);
    }
}

/* Specific size adjustments for different contexts */
.nav-badge img {
    height: 36px !important;
}

@media (max-width: 768px) {
    .hero-actions .appstore-badge img,
    .cta-actions .appstore-badge img {
        height: 50px;
    }
}

.banner-actions .appstore-badge img {
    height: 44px;
}

@media (min-width: 1024px) {
    .banner-actions .appstore-badge img {
        height: 52px;
    }
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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



.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.tracker-text {
    color: #4facfe;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.desktop-nav {
    display: none;
}

.mobile-menu-btn {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-overlay {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
    font-weight: 500;
}

.mobile-menu-footer {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
}

.mobile-badge img {
    height: 48px;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(79, 70, 229, 0.2) 40%, transparent 70%);
    opacity: 0.7;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.hero-content {
    order: 1;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: clamp(11px, 3.5vw, 14px);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 32px;
    white-space: nowrap;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    padding: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 2;
    position: relative;
    z-index: 25;
    /* Ensure it's above everything */
    margin-top: 20px;
    margin-bottom: 20px;
}



.hero-visuals {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 380px;
    margin-top: -20px;
    order: 3;
}

.hero-ellipses {
    position: absolute;
    width: 100%;
    max-width: 650px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-phone {
    position: relative;
    z-index: 2;
}

.phone-1 {
    width: 75%;
    max-width: 320px;
    transform: rotate(-15deg) translateY(20px) translateX(25px);
    z-index: 3;
    margin-left: -25px;
}

.phone-2 {
    width: 68%;
    max-width: 300px;
    transform: rotate(-15deg) translateY(-40px) translateX(-25px);
    z-index: 2;
    margin-right: -25px;
}

.floating-el {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.el-1 {
    top: 10%;
    left: 15%;
    width: 24px;
}

.el-2 {
    top: 65%;
    left: 5%;
    width: 14px;
}

.el-3 {
    top: 35%;
    right: 15%;
    width: 16px;
}

.el-4 {
    bottom: 10%;
    right: 25%;
    width: 24px;
    opacity: 0.5;
}

.floating-notification {
    position: absolute;
    top: calc(5% + 20px);
    left: 2%;
    width: 220px;
    z-index: 4;
}

.floating-badge {
    position: absolute;
    bottom: 5%;
    right: -2%;
    z-index: 4;
    background: white;
    color: #0f172a;
    padding: 8px 12px;
    border-radius: 10px;
    font-family: var(--font-sans);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-size: 12px;
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.badge-date {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.badge-status {
    font-size: 9px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 0.5px;
}

.btn-glow {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.6;
    z-index: -1;
    border-radius: inherit;
}

/* Sections */
section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 32px;
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

/* How It Works */
.how-it-works .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works .section-title {
    text-transform: uppercase;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.step-card {
    background: #0B0A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.step-content {
    position: relative;
    z-index: 3;
}

.step-number {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.step-image-container {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: auto;
}

.step-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

.step-rings {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
            transparent 0,
            transparent 39px,
            rgba(255, 255, 255, 0.03) 40px,
            rgba(255, 255, 255, 0.03) 41px);
    z-index: 1;
    pointer-events: none;
}

.step-img-phone {
    max-width: 220px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 24px 24px 0 0;
}

/* Features */
.features {
    position: relative;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: 4px;
    background: #0B0A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 16px 16px 16px 20px;
}

.feature-icon {
    grid-column: 1;
    grid-row: 1;
    width: 120px;
    height: 120px;
    margin-left: -35px;
    margin-right: -65px;
    margin-top: -25px;
    margin-bottom: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text {
    display: contents;
}

.feature-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-left: -15px;
}

.feature-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Dashboard Banner */
.banner-glass {
    position: relative;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
}

.banner-content.slide {
    display: none;
    flex-direction: column;
    gap: 40px;
    animation: fadeIn 0.4s ease-out forwards;
}

.banner-content.slide.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.slider-category,
.slider-count {
    color: #A78BFA;
    font-size: 16px;
    font-weight: 500;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.banner-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: auto;
}



.slider-nav-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    pointer-events: none;
    z-index: 10;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:hover {
    background: rgba(124, 58, 237, 0.8);
    border-color: rgba(124, 58, 237, 1);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.slider-nav-btn .material-symbols-outlined {
    font-size: 22px;
}

.banner-image {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ */
.faq-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--text-primary);
    text-align: left;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    padding-right: 24px;
}

.faq-icon {
    color: var(--text-secondary);
    transition: transform var(--transition-base);
}

.faq-btn[aria-expanded="true"] .faq-icon {
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 16px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Bottom CTA */
.bottom-cta {
    padding: 60px 0 40px;
}

.cta-content {
    background: #0B0B1E;
    background: radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, #0B0B1E 70%);
    border-radius: 48px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 60px 40px;
        gap: 40px;
    }
}

.cta-text {
    flex: 1;
    max-width: 580px;
    text-align: center;
    z-index: 2;
}

@media (min-width: 768px) {
    .cta-text {
        text-align: left;
        margin-left: 0;
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 44px;
    }
}

@media (min-width: 992px) {
    .cta-title {
        font-size: 40px;
    }
}

.cta-title .highlight {
    background: linear-gradient(180deg, #93C5FD 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 4px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-desc {
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 40px;
    }
}

.cta-actions {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-actions {
        justify-content: flex-start;
    }
}

.cta-actions .btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.cta-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6);
}

.cta-image-wrapper {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    transform: scale(1.1);
    transform-origin: center;
}

@media (min-width: 768px) {
    .cta-image {
        transform: scale(1.1) translateX(10px);
    }
}

@media (min-width: 1024px) {
    .cta-image {
        transform: scale(1.3) translateX(20px);
    }
}

/* Footer */
.footer {
    padding: 80px 0 60px;
    background: #020412;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-text {
    font-size: 18px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}



.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-badge {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .footer-badge {
        width: auto;
        justify-content: flex-end;
    }
}



@media (min-width: 992px) {
    .footer-nav {
        gap: 64px;
    }
}

/* Media Queries */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero {
        padding-top: 160px;
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 1000px;
    }

    .section-title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 32px;
    }

    .banner-glass {
        padding: 48px;
    }

    .banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .banner-text {
        flex: 1;
        max-width: 400px;
    }

    .banner-image {
        flex: 1;
        margin: 0;
        max-width: 320px;
    }


    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        margin: 0 auto;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-links a {
        color: var(--text-secondary);
        font-size: 14px;
        font-weight: 500;
        transition: color var(--transition-fast);
    }

    .nav-links a:hover {
        color: var(--text-primary);
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-content {
        max-width: 1000px;
        order: 1;
    }

    .hero-actions {
        order: 2;
        margin-top: 20px;
        z-index: 10;
    }

    .btn-glow {
        padding: 16px 48px;
        font-size: 18px;
    }

    .hero-visuals {
        order: 3;
        margin-top: -40px;
        align-items: flex-end;
        min-height: 500px;
    }

    .hero-glow {
        width: 800px;
        height: 800px;
        filter: blur(120px);
        background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(79, 70, 229, 0.2) 40%, transparent 70%);
    }

    .hero-ellipses {
        max-width: 950px;
    }

    .phone-1 {
        max-width: 460px;
    }

    .phone-2 {
        max-width: 420px;
    }

    .floating-notification {
        width: 320px;
        top: 8%;
        left: -2%;
    }

    .notification-header {
        font-size: 12px;
    }

    .notification-title {
        font-size: 16px;
    }

    .notification-desc {
        font-size: 13px;
    }

    .floating-badge {
        bottom: 18%;
        right: -2%;
        padding: 18px 24px;
    }

    .badge-header {
        font-size: 13px;
    }

    .badge-date {
        font-size: 22px;
    }

    .badge-status {
        font-size: 12px;
    }

    .section-header {
        max-width: 800px;
    }

    .features-header {
        max-width: none;
    }

    section {
        padding: 80px 0;
    }

    /* Dashboard Banner */
    .banner-glass {
        padding: 64px 0;
        position: relative;
    }

    .slider-nav-wrapper {
        padding: 0 15px;
    }

    .slider-nav-btn {
        width: 56px;
        height: 56px;
    }

    .slider-nav-btn .material-symbols-outlined {
        font-size: 28px;
    }

    .banner-actions {
        justify-content: flex-start;
    }

    .banner-content.slide {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
        max-width: 1100px;
        margin: 0 auto;
    }

    .banner-content.slide.active {
        display: flex;
    }

    .banner-text {
        flex: 1;
        max-width: 540px;
        text-align: left;
    }

    .banner-image {
        flex: 1;
        max-width: 500px;
        order: -1;
        display: flex;
        justify-content: flex-end;
    }

    .banner-title {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .banner-desc {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .step-card {
        flex-direction: row;
        padding: 40px 40px 0 40px;
        gap: 24px;
    }

    .step-content {
        flex: 1;
        max-width: 50%;
        padding-bottom: 40px;
    }

    .step-title {
        font-size: 28px;
    }

    .step-image-container {
        flex: 1;
        justify-content: center;
        align-items: flex-end;
    }

    .step-img-phone {
        max-width: 240px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .feature-item {
        padding: 32px;
        align-content: center;
        row-gap: 8px;
    }

    .feature-icon {
        grid-row: 1 / 3;
        align-self: center;
    }

    .feature-title {
        align-self: end;
        margin-left: 0;
    }

    .feature-desc {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }
}

/* ============================================
   HERO ENTRANCE ANIMATION
   ============================================ */

/* --- Initial hidden states (before animation triggers) --- */
.hero-visuals .hero-phone,
.hero-visuals .floating-notification,
.hero-visuals .floating-badge,
.hero-visuals .floating-el,
.hero-visuals .hero-ellipses,
.hero-visuals .hero-glow {
    opacity: 0;
    will-change: transform, opacity;
}

.hero-visuals .phone-1 {
    transform: rotate(-25deg) translateY(80px) translateX(-20px) scale(0.88);
}

.hero-visuals .phone-2 {
    transform: rotate(-5deg) translateY(60px) translateX(40px) scale(0.88);
}

.hero-visuals .floating-notification {
    transform: translateX(-30px) translateY(15px) scale(0.85);
}

.hero-visuals .floating-badge {
    transform: translateX(30px) translateY(15px) scale(0.85);
}

.hero-visuals .floating-el {
    transform: scale(0.3);
}

.hero-visuals .hero-ellipses {
    transform: translate(-50%, -50%) scale(0.8);
}

.hero-visuals .hero-glow {
    transform: translate(-50%, -50%) scale(0.6);
}

/* --- Animated states (when .hero-animated is added by JS) --- */
.hero-visuals.hero-animated .hero-glow {
    animation: heroGlowIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

.hero-visuals.hero-animated .hero-ellipses {
    animation: heroEllipsesIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-visuals.hero-animated .phone-1 {
    animation: heroPhone1In 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-visuals.hero-animated .phone-2 {
    animation: heroPhone2In 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-visuals.hero-animated .floating-notification {
    animation: heroCardLeftIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-visuals.hero-animated .floating-badge {
    animation: heroCardRightIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-visuals.hero-animated .el-1 {
    animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-visuals.hero-animated .el-2 {
    animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.hero-visuals.hero-animated .el-3 {
    animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-visuals.hero-animated .el-4 {
    animation: heroElFadedIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* --- Keyframes --- */
@keyframes heroGlowIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }

    to {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes heroEllipsesIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes heroPhone1In {
    from {
        opacity: 0;
        transform: rotate(-25deg) translateY(80px) translateX(-20px) scale(0.88);
    }

    to {
        opacity: 1;
        transform: rotate(-15deg) translateY(20px) translateX(30px) scale(1);
    }
}

@keyframes heroPhone2In {
    from {
        opacity: 0;
        transform: rotate(-5deg) translateY(60px) translateX(40px) scale(0.88);
    }

    to {
        opacity: 1;
        transform: rotate(-15deg) translateY(-40px) translateX(-20px) scale(1);
    }
}

@keyframes heroCardLeftIn {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(15px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes heroCardRightIn {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(15px) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes heroElIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroElFadedIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* --- Idle floating (loops after entrance completes) --- */
@keyframes heroIdleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes heroIdleFloatAlt {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes heroIdleDot {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.08);
    }
}

/* Apply idle after entrance settles */
.hero-visuals.hero-idle .hero-phone {
    opacity: 1;
}

.hero-visuals.hero-idle .hero-glow {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
}

.hero-visuals.hero-idle .hero-ellipses {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
}

.hero-visuals.hero-idle .phone-1 {
    opacity: 1;
    transform: rotate(-15deg) translateY(20px) translateX(30px);
}

.hero-visuals.hero-idle .phone-2 {
    opacity: 1;
    transform: rotate(-15deg) translateY(-40px) translateX(-20px);
}

.hero-visuals.hero-idle .floating-notification {
    opacity: 1;
}

.hero-visuals.hero-idle .floating-badge {
    opacity: 1;
}

.hero-visuals.hero-idle .el-1 {
    opacity: 1;
    animation: heroIdleDot 5s ease-in-out 0s infinite;
}

.hero-visuals.hero-idle .el-2 {
    opacity: 1;
    animation: heroIdleDot 6s ease-in-out 1s infinite;
}

.hero-visuals.hero-idle .el-3 {
    opacity: 1;
    animation: heroIdleDot 5.5s ease-in-out 0.5s infinite;
}

.hero-visuals.hero-idle .el-4 {
    opacity: 0.5;
    animation: heroIdleDot 6.5s ease-in-out 1.5s infinite;
}

/* --- Reduced motion: skip all animations --- */
@media (prefers-reduced-motion: reduce) {

    .hero-visuals .hero-phone,
    .hero-visuals .floating-notification,
    .hero-visuals .floating-badge,
    .hero-visuals .floating-el,
    .hero-visuals .hero-ellipses,
    .hero-visuals .hero-glow {
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
    }

    .hero-visuals .phone-1 {
        transform: rotate(-15deg) translateY(20px) translateX(30px) !important;
    }

    .hero-visuals .phone-2 {
        transform: rotate(-15deg) translateY(-40px) translateX(-20px) !important;
    }

    .hero-visuals .floating-notification,
    .hero-visuals .floating-badge {
        transform: none !important;
    }

    .hero-visuals .floating-el {
        transform: none !important;
    }

    .hero-visuals .el-4 {
        opacity: 0.5 !important;
    }

    .hero-visuals .hero-ellipses {
        transform: translate(-50%, -50%) !important;
        opacity: 0.6 !important;
    }

    .hero-visuals .hero-glow {
        transform: translate(-50%, -50%) !important;
        opacity: 0.7 !important;
    }
}

/* --- Mobile: slightly simplified timing --- */
@media (max-width: 767px) {
    .hero-visuals.hero-animated .phone-1 {
        animation-duration: 0.9s;
    }

    .hero-visuals.hero-animated .phone-2 {
        animation-duration: 0.9s;
    }

    .hero-visuals.hero-animated .floating-notification {
        animation-duration: 0.7s;
    }

    .hero-visuals.hero-animated .floating-badge {
        animation-duration: 0.7s;
    }
}

/* Legal Pages */
.legal-page {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

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

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.legal-last-updated {
    color: var(--text-secondary);
    font-size: 14px;
}

.legal-panel {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
    .legal-panel {
        padding: 60px;
    }
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.legal-content ul {
    margin-bottom: 28px;
    padding-left: 20px;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 10px;
}

.legal-content li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #3B82F6;
}

.legal-content strong {
    color: #fff;
}

.legal-content a {
    color: #60A5FA;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #93C5FD;
}

/* Utility Classes */
.section-title-uppercase {
    text-transform: uppercase;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.contact-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    color: #fff;
    text-decoration: none;
}