/* Base Styles */
:root {
    --primary-color: #38bdf8; /* cyan/blue accent */
    --secondary-color: #a855f7; /* purple accent */
    --text-color: #e5e7eb; /* light text */
    --muted-text: #9ca3af;
    --light-text: #9ca3af;
    --background: #020617; /* dark overall bg */
    --background-elevated: #020617;
    --section-dark: #020617;
    --section-light: #020617;
    --card-bg: #020617;
    --border-radius: 12px;
    --box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 41, 55, 0.85);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.carousel-btn i {
    font-size: 1.1rem;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: #111827;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.carousel-dot {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: radial-gradient(circle at top left, #1f2937 0%, #020617 55%, #000000 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
    z-index: 1000;
    padding: 15px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0;
}

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

.nav-links a {
    color: #e5e7eb;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #e5e7eb;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    text-align: center;
    margin-top: 70px;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #f9fafb;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--muted-text);
}

/* Hero background inspired by attached design */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%),
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.25), transparent 55%),
        radial-gradient(circle at bottom, rgba(56, 189, 248, 0.15), transparent 60%),
        linear-gradient(145deg, #020617 0%, #020617 50%, #000000 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.6) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Apps Section */
.apps {
    background-color: #020617;
}

.apps h2, .about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
}

.apps h2::after, .about h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

/* Carousel */
.apps-carousel {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
}

.apps-track {
    display: flex;
    transition: transform 0.5s ease;
}

.app-card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
                radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 55%),
                #020617;
    border-radius: 28px;
    padding: 32px 40px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: stretch;
    gap: 32px;
    text-align: left;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 90px rgba(15, 23, 42, 1);
}

.app-icon {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle at top, #38bdf8, #0ea5e9);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.app-card h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: #f9fafb;
}

.app-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.store-btn i {
    font-size: 1.2rem;
}

/* Mindscape-style layout inside app card */
.app-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.app-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.app-meta .rating i {
    color: #22c55e;
}

.app-meta .pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-screens {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
}

.app-screen {
    flex: 0 0 26%;
    max-width: 160px;
    border-radius: 22px;
    background: radial-gradient(circle at top, #020617, #020617 45%, #020617 100%);
    border: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    color: var(--muted-text);
    font-size: 0.75rem;
}

.app-screen-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: radial-gradient(circle at top, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

/* About Section */
.about {
    background-color: #020617;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: #020617;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    padding: 30px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
/* Stats Footer Band */
.stats-footer {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 55%), #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 28px;
    text-align: center;
}

.stat-item {
    color: #e5e7eb;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-text);
}

/* Footer */
footer {
    background-color: #020617;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 8px;
}

.footer-logo p {
    color: #9ca3af;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    color: white;
    font-size: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: radial-gradient(circle at top left, #1f2937 0%, #020617 55%, #000000 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

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

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

    .apps-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

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

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

    .btn {
        padding: 10px 20px;
    }
}
