:root {
    --bg-color: #ffffff;
    --bg-alt: #F8F9FA;
    --text-main: #111111;
    --text-muted: #666666;
    --accent: #E6E6FA;
    /* Lavender */
    --accent-dark: #D1C4E9;
    --primary-btn: #111111;
    --border-radius: 30px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-color: #121212;
    --bg-alt: #1E1E1E;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --accent: #2A2A2A;
    --accent-dark: #444444;
    --primary-btn: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .navbar {
    background: rgba(18, 18, 18, 0.9);
}

[data-theme="dark"] .btn-black,
[data-theme="dark"] .store-btn,
[data-theme="dark"] .scroll-down-icon,
[data-theme="dark"] .arrow-btn:hover {
    background: #ffffff;
    color: #111111;
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .cta-card {
    background: #1E1E1E;
}

[data-theme="dark"] .card-1 {
    background: #1E1E1E;
}

[data-theme="dark"] .card-2 {
    background: #1E1E1E;
}

[data-theme="dark"] .card-3 {
    background: #1E1E1E;
}

[data-theme="dark"] .card-icon {
    background: #2A2A2A;
    color: #fff;
}

[data-theme="dark"] .step-number {
    background: #2A2A2A;
    color: #fff;
}

[data-theme="dark"] .float-card {
    background: #2A2A2A;
    color: #fff;
}

[data-theme="dark"] .arrow-btn {
    background: #1E1E1E;
    border-color: #333;
    color: #fff;
}

[data-theme="dark"] .phone-frame {
    border-color: #fff;
    /* White frame in dark mode for contrast, or keep dark? Let's try dark grey */
    border-color: #333;
}

[data-theme="dark"] .cta-card {
    background: #1E1E1E;
}

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

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn-black {
    background: var(--primary-btn);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-black:hover {
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 2rem;
}

.logo img {
    height: 40px;
}

/* Hero */
.hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-text .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.store-btn {
    background: #111;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    text-align: left;
}

.store-btn strong {
    font-size: 0.9rem;
    display: block;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    z-index: 10;
    /* border: 3px solid #111; */
    border-radius: 45px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.phone-mockup .screen {
    width: 100%;
    height: 105%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 42px;
    z-index: 1;
    border: 3px solid #111;
}

[data-theme="dark"] .phone-mockup {
    border-color: #333;
    background: #1E1E1E;
}

.carousel-container {
    position: relative;
    width: 320px;
    height: 640px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-frame {
    position: absolute;
    width: 310px;
    height: 630px;
    z-index: 50;
    pointer-events: none;
    border: 3px solid #111;
    border-radius: 55px;
    box-shadow: 0 0 0 2px #333, 0 20px 50px rgba(0, 0, 0, 0.3);
    background: transparent;
}

.phone-frame img {
    display: none;
    /* Hide the image frame */
}



.app-slide {
    position: absolute;
    width: 280px;
    height: 600px;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: scale(0.5);
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
}

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

/* Active Slide - Inside Phone */
/* Active Slide - Inside Phone */
/* Active Slide - Inside Phone */
.app-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 10;
    width: 304px;
    /* 310px - 6px border */
    height: 624px;
    /* 630px - 6px border */
    border-radius: 52px;
    /* 55px - 3px border */
    box-shadow: none;
}

/* Prev Slide - Left */
.app-slide.prev {
    opacity: 0.8;
    transform: translateX(-220px) scale(0.8) rotateY(15deg);
    z-index: 5;
    filter: brightness(0.8);
}

/* Next Slide - Right */
.app-slide.next {
    opacity: 0.8;
    transform: translateX(220px) scale(0.8) rotateY(-15deg);
    z-index: 5;
    filter: brightness(0.8);
}

/* Network Background */
.network-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.avatar {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.av-1 {
    top: 10%;
    left: 20%;
}

.av-2 {
    top: 20%;
    right: 20%;
}

.av-3 {
    bottom: 30%;
    left: 15%;
}

.av-4 {
    bottom: 20%;
    right: 15%;
}

.av-5 {
    top: 50%;
    left: 10%;
}

.av-6 {
    top: 40%;
    right: 10%;
}

/* Features */
.features {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 300px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-header h2 {
    font-size: 2.5rem;
    text-align: right;
    line-height: 1.2;
}

.scroll-down-icon {
    width: 40px;
    height: 40px;
    background: #111;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-alt);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.card-1 {
    background: #F3F0FF;
}

.card-2 {
    background: #E8F5E9;
}

.card-3 {
    background: #FFF3E0;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.card-image {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.card-image img {
    width: 80%;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

/* Steps */
.steps {
    padding: 6rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    background: var(--accent);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.steps-visual {
    position: relative;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.float-card {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.fc-1 {
    top: 20%;
    left: -15px;
}

.fc-2 {
    bottom: 20%;
    right: -3px;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.section-header-left {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header-left h2 {
    font-size: 2rem;
}

.nav-arrows {
    display: flex;
    gap: 1rem;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.arrow-btn:hover {
    background: #111;
    color: white;
    border-color: #111;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.stars {
    color: #FFD700;
    font-size: 0.8rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
}

/* CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-card {
    background: #F5F5F5;
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-content .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.cta-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta-content .store-buttons {
    justify-content: flex-start;
}

.cta-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
}

.cta-image .frame,
.cta-image .screen {
    position: absolute;
    height: 100%;
    width: auto;
}

.cta-image .screen {
    height: 95.5%;
    top: 2.2%;
    border-radius: 25px;
}

/* Footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-top: 1px solid #eee;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 2rem;

    .section-header h2 {
        text-align: center;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-btn);
    color: var(--bg-color);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s, background 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

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

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

.footer-social a {
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--text-main);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-copy {
    font-size: 0.8rem;
    color: #999;
}


@media (max-width: 768px) {

    .features-grid,
    .steps-container,
    .testimonials-grid,
    .cta-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .section-header h2 {
        text-align: center;
    }

    .carousel-container {
        transform: scale(0.85);
    }

    .float-card{
        display: none;
    }
}
