/* 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: 24px 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: 130px;
    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-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    order: 1;
}

.hero-content {
    order: 1;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: clamp(10px, 3vw, 14px);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
    max-width: 100%;
}

.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: clamp(24px, 7.5vw, 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;
    margin-top: 20px;
    margin-bottom: 20px;
}

.hero-actions .hero-btn {
    width: auto;
    max-width: 300px;
    padding: 12px 22px;
    min-height: 54px;
    font-size: 15px;
    line-height: 1.2;
    gap: 14px;
    text-align: left;
    justify-content: space-between;
}

.hero-actions .hero-btn .arrow {
    flex: 0 0 auto;
    font-size: 20px;
}

.hero-visuals {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 380px;
    margin-top: 40px;
    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-main {
    --phone-tx: -60px;
    --phone-ty: -20px;
    width: 70%;
    max-width: 290px;
    transform: rotate(10deg) translateX(var(--phone-tx)) translateY(var(--phone-ty));
    z-index: 3;
}

.floating-notification {
    position: absolute;
    top: 12%;
    right: 4%;
    width: 58%;
    max-width: 220px;
    z-index: 4;
}

.floating-popup {
    position: absolute;
    top: 42%;
    right: 2%;
    width: 36%;
    max-width: 130px;
    z-index: 4;
}

.btn-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 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(99, 102, 241, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease;
    cursor: pointer;
    z-index: 10;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
    filter: brightness(1.05);
}

.btn-gradient:active {
    transform: translateY(0) scale(0.98);
}

.btn-gradient .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-gradient:hover .arrow {
    transform: translateX(4px);
}

.btn-gradient.nav-btn {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-gradient.mobile-btn {
    width: auto;
    max-width: 260px;
    margin: 0 auto;
    padding: 12px 20px;
    min-height: 52px;
    font-size: 15px;
    line-height: 1.2;
    gap: 12px;
    text-align: left;
    justify-content: space-between;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.32);
}

.btn-gradient.mobile-btn .arrow {
    flex: 0 0 auto;
    font-size: 20px;
}

/* 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;
    }
}

/* Tablet Specific (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-visuals {
        max-width: 500px;
        margin: 0 auto;
    }

    .phone-main {
        --phone-tx: -60px;
        transform: rotate(10deg) translateX(var(--phone-tx)) translateY(10px);
    }

    .floating-notification {
        width: 270px;
        max-width: 270px;
        top: 12%;
        left: auto;
        right: 2%;
    }

    .floating-popup {
        width: 150px;
        max-width: 150px;
        top: 42%;
        bottom: auto;
        right: 0%;
    }
}

/* 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: row;
        align-items: center;
        text-align: left;
        justify-content: space-between;
        gap: 40px;
    }

    .hero-text-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        max-width: 580px;
    }

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

    .hero-subtitle {
        font-size: 18px;
        max-width: none;
        margin: 0;
    }

    .hero-actions {
        justify-content: flex-start;
        margin-top: 32px;
        margin-bottom: 0;
        z-index: 10;
    }

    .hero-actions .btn-gradient {
        padding: 16px 48px;
        font-size: 18px;
    }

    .hero-visuals {
        flex: 1;
        width: 100%;
        max-width: 600px;
        min-height: 580px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        order: 3;
    }

    .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 {
        width: 130%;
        max-width: 780px;
        top: 50%;
        left: 50%;
    }

    .phone-main {
        --phone-tx: -90px;
        width: 80%;
        max-width: 390px;
        transform: rotate(10deg) translateX(var(--phone-tx)) translateY(0);
    }

    .floating-notification {
        width: 320px;
        max-width: 320px;
        top: 12%;
        left: auto;
        right: 0%;
    }

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

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

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

    .floating-popup {
        width: 170px;
        max-width: 170px;
        top: 45%;
        bottom: auto;
        right: -1%;
    }

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

    .hero-visuals.hero-animated .floating-popup {
        animation: heroCardRightInDesktop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
    }

    .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-popup,
.hero-visuals .hero-ellipses,
.hero-visuals .hero-glow {
    opacity: 0;
    will-change: transform, opacity;
}

.hero-visuals .phone-main {
    transform: rotate(0deg) translateX(var(--phone-tx, -60px)) translateY(80px) scale(0.9);
}

.hero-visuals .floating-notification,
.hero-visuals .floating-popup {
    transform: scale(0.05);
}

.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-main {
    animation: heroPhoneMainIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

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

.hero-visuals.hero-animated .floating-popup {
    animation: heroCardRightInMobile 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

/* --- 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 heroPhoneMainIn {
    from {
        opacity: 0;
        transform: rotate(0deg) translateX(var(--phone-tx, -60px)) translateY(80px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(10deg) translateX(var(--phone-tx, -60px)) translateY(0) scale(1);
    }
}

@keyframes heroCardLeftInMobile {
    from {
        opacity: 0;
        transform: translate(-180px, 120px) scale(0.05);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes heroCardRightInMobile {
    from {
        opacity: 0;
        transform: translate(-235px, -35px) scale(0.05);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes heroCardLeftInDesktop {
    from {
        opacity: 0;
        transform: translate(-230px, 150px) scale(0.05);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes heroCardRightInDesktop {
    from {
        opacity: 0;
        transform: translate(-310px, -80px) scale(0.05);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* Apply static styles after entrance settles (no floating/idle animations) */
.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-main {
    opacity: 1;
    transform: rotate(10deg) translateX(var(--phone-tx, -60px)) translateY(0);
}

.hero-visuals.hero-idle .floating-notification {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.hero-visuals.hero-idle .floating-popup {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

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

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

    .hero-visuals .phone-main {
        transform: rotate(10deg) translateX(var(--phone-tx, -60px)) translateY(0) !important;
    }

    .hero-visuals .floating-notification,
    .hero-visuals .floating-popup {
        transform: none !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-main {
        animation-duration: 0.9s;
    }

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

    .hero-visuals.hero-animated .floating-popup {
        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;
}

/* Language Switcher Styling */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.lang-select {
    min-width: 118px;
    height: 34px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.lang-select:focus-visible {
    outline: 2px solid rgba(192, 132, 252, 0.75);
    outline-offset: 4px;
    border-radius: var(--radius-full);
}

.lang-select option {
    background: #121826;
    color: #fff;
}

.footer-lang-switcher {
    display: flex;
    justify-content: flex-start;
    width: fit-content;
    margin-top: -24px;
}

@media (min-width: 768px) {
    .footer-lang-switcher {
        margin-top: 0;
        align-self: flex-start;
    }
}

/* Adjust header elements to fit switcher */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile menu switcher styling */
.mobile-lang-switcher-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
