/* === CSS Variables === */
:root {
    --primary: #4a6bff;
    --primary-dark: #3451d4;
    --secondary: #ff6b9c;
    --dark: #1a1a2e;
    --light: #f8f9ff;
    --gray: #6c757d;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}


body.dark-mode {
    background: #181a23;
    color: #f8f9ff;
}

body.dark-mode .fa-bars{
    color: #f8f9ff !important;
}

body.dark-mode nav {
    background: rgba(24, 26, 35, 0.85);
    backdrop-filter: blur(8px);
}

body.dark-mode nav.scrolled {
    background: rgba(24, 26, 35, 0.72);
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

body.dark-mode .feature-card {
    background: #23243a;
    border-color: #2d2e4a;
}

body.dark-mode .feature-card h3,
body.dark-mode .feature-card p {
    color: #f8f9ff;
}

body.dark-mode .section-header h2,
body.dark-mode .section-header p {
    color: #f8f9ff;
}

body.dark-mode .screenshot {
    /* background-color: #23243a; */
}

body.dark-mode .footer-content,
body.dark-mode footer {
    background: #181a23;
    color: #f8f9ff;
}

body.dark-mode .footer-links a {
    color: #b0b3c6;
}

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

body.dark-mode .copyright {
    color: #b0b3c6;
}

body.dark-mode .download-btn {
    background: var(--primary-dark);
    color: #fff !important;
}

body.dark-mode .download-btn:hover,
body.dark-mode .download-btn:focus {
    background: var(--primary);
}

body.dark-mode .store-badge,
body.dark-mode .store-badge-small {
    filter: brightness(0.9) contrast(1.1);
}

body.dark-mode .screenshot-bar {
    background: #b0b3c6;
}

body.dark-mode .screenshot-bar.active {
    background: #4a6bff;
}

body.dark-mode .orb {
    filter: blur(24px) brightness(0.7);
}

body.dark-mode .toast {
    background: #23243a;
    color: #fff;
}

.logo,
.nav-links a,
.download-btn,
.btn,
.stat-item h3,
.stat-item p,
.feature-card h3,
.feature-card p,
.section-header h2,
.section-header p,
.footer-logo,
.footer-links a,
.footer-links h3,
.copyright,
.hero h1,
.hero p,
.btn-primary,
.btn-secondary,
.screenshot,
.screenshot-controls,
.footer-about p,
.social-links a {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 56px;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
    min-height: 56px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #8a94a6;
    font-weight: 450;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.2rem 0;
}

body.dark-mode .nav-links a:hover,
.nav-links a:focus {
    color: #fff;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--dark);
}

.nav-download {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.download-btn {
    background: var(--primary);
    color: white !important;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 107, 255, 0.18);
    text-decoration: none !important;
}

.download-btn:hover,
.download-btn:focus {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 107, 255, 0.25);
    text-decoration: none !important;
}

/* Dark mode switcher */
/* Dark Mode Toggle - Enhanced */
.dark-mode-switch {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    margin-right: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    background: none;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e3e7f0;
    transition: background 0.4s cubic-bezier(.4, 1.3, .6, 1), box-shadow 0.3s;
    border-radius: 28px;
    box-shadow: 0 2px 8px rgba(74, 107, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    border: 2px solid #d0d6f6;
}

input:checked+.slider {
    background: linear-gradient(90deg, #4a6bff 60%);
    box-shadow: 0 0 8px 2px #4a6bff55;
    border: 2px solid #4a6bff;
}

.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 2px;
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(.4, 1.3, .6, 1), background 0.3s, box-shadow 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 8px #4a6bff33, 0 1px 4px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

input:checked+.slider:before {
    transform: translateX(26px) scale(1.08);
    background: #fff;
    box-shadow: 0 0 12px 2px #ffd60099, 0 2px 8px #4a6bff33;
}

.slider .icon {
    width: 14px;
    height: 14px;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(.4, 1.3, .6, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .icon.sun {
    opacity: 0;
    transform: scale(0.8);
}

.slider .icon.moon {
    opacity: 1;
    transform: scale(1);
}

input:checked+.slider .icon.sun {
    opacity: 1;
    transform: scale(1.1);
}

input:checked+.slider .icon.moon {
    opacity: 0;
    transform: scale(0.8);
}

/* Moon icon positioning */
.slider .icon.moon svg {
    transform: translateX(2px);
}

/* Sun icon positioning */
.slider .icon.sun svg {
    transform: translateX(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
}

.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.dark-mode-toggle:focus,
.dark-mode-toggle:hover {
    background: rgba(74, 107, 255, 0.08);
}

/* Hero Section */
.hero {
    padding: 3.2rem 0;
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* .hero .highlight::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        } */

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 107, 255, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Screenshot Section */
.screenshot-section {
    position: relative;
    padding: 1rem 0;
    margin-top: 2rem;
}

.screenshot-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    transform: none;
    transition: none;
}

.screenshot-container:hover {
    /* No hover effect */
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-in-out, transform 1s cubic-bezier(0.4, 1.3, 0.6, 1);
    border-radius: 24px;
}

.screenshot.active {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    background: none;
}

.screenshot-bar {
    width: 18px;
    height: 6px;
    border-radius: 4px;
    background: #8a94a6;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(.4, 1.3, .6, 1);
    display: inline-block;
    cursor: pointer;
}

.screenshot-bar.active {
    width: 28px;
    background: #4a6bff;
    opacity: 1;
    box-shadow: 0 1px 4px rgba(74, 107, 255, 0.10);
}

/* Floating elements */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
    animation-delay: 0s;
}

.orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
    animation-delay: 2s;
}

.orb:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 30%;
    background: radial-gradient(circle, rgba(255, 107, 156, 0.4), transparent 70%);
    animation-delay: 4s;
}

@keyframes float {

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

    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }

    50% {
        transform: translateY(20px) translateX(-20px) rotate(-5deg);
    }

    75% {
        transform: translateY(-20px) translateX(-10px) rotate(3deg);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    /* or 1200px, adjust as needed */
    margin: 0 auto;
    justify-content: center;
}

.feature-card {
    border: 1.5px solid #e3e7f0;
    background: #fff;
    box-shadow: none;
    border-radius: 8px;
    padding: 24px;
    min-height: 186px;
    max-width: 340px;
    line-height: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: auto;
}

.feature-icon-box {
    background: #f4f7fe;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-icon-box i {
    color: #FF0060;
    font-size: 1.7rem;
}

.feature-card h3 {
    color: #181a23;
    font-weight: 700;
    font-size: 1rem;
    /* smaller than before */
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.92rem;
    /* smaller than before */
    margin-bottom: 0;
}



/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    color: var(--primary);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.store-badge {
    height: 40px;
    width: auto;
    display: block;
}

.footer-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

#userData p{
    padding: 10px 0;
}

#userData h2{
    padding: 0 0 5px;
    border-bottom: 1px solid var(--dark);
}

body.dark-mode #userData h2{
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#userData ul{
    padding: 5px 45px 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .screenshot-container {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .screenshot-container {
        height: 450px;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero p {
        max-width: 100%;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        top: 100%;
        right: 0;
        width: 100%;
        position: fixed;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
        padding: 10px;
    }

    .nav-links.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screenshot-container {
        height: 400px;
        max-width: 90%;
    }

    body.dark-mode .nav-links {
        background: #fff;
    }

    body.dark-mode .nav-links a {
        text-decoration: none;
        color: #f8f9ff;
        font-weight: 450;
        font-size: 0.9rem;
        transition: color 0.3s ease;
        position: relative;
        padding: 0.2rem 0;
    }

    body.dark-mode .nav-links a:hover,
    .nav-links a:focus {
        color: #fff;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screenshot-container {
        height: 350px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none !important;
}

.logo:hover,
.logo:focus {
    text-decoration: none !important;
}

.logo-icon {
    color: var(--primary) !important;
    font-size: 1rem;
    width: 18px;
    height: 18px;
}

body.dark-mode .logo-icon {
    color: var(--primary) !important;
}

.social-links a {
    text-decoration: none !important;
}

.store-btn {
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: box-shadow 0.2s;
}

.store-btn:hover {
    box-shadow: none !important;
    outline: none;
    /* Removes default browser outline */
}

.store-badge {
    display: block;
    height: 56px;
    /* or whatever the official badge height is */
    width: auto;
}

.toast {
    visibility: hidden;
    min-width: 120px;
    background: #222;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 24px;
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) scale(0.95);
    z-index: 9999;
    opacity: 0;
    font-size: 1rem;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.footer-links.footer-legal {
    position: relative;
}

.footer-links.footer-download {
    position: relative;
}

.footer-download-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: #fff;
    margin-right: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-download-badges {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 0.5rem;
    /* Space between buttons (optional) */
}

.store-badge-small {
    height: 40px;
    width: auto;
    display: block;
}

body.dark-mode .hero {
    background: #181a23;
}

body.dark-mode .hero h1,
body.dark-mode .hero p {
    color: #f8f9ff;
}

body.dark-mode .hero .highlight {
    background: linear-gradient(135deg, #7a9cff, #ff6b9c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .logo,
body.dark-mode .logo span,
body.dark-mode .footer-logo,
body.dark-mode .footer-logo span {
    color: #f8f9ff !important;
}

body.dark-mode .section-header h2,
body.dark-mode .section-header p {
    color: #f8f9ff;
}

body.dark-mode .features {
    background: #23243a;
}

body.dark-mode .feature-card {
    background: #23243a;
    border-color: #2d2e4a;
}

body.dark-mode .feature-card h3,
body.dark-mode .feature-card p {
    color: #f8f9ff;
}