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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #0a0e1a;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Header & Navigation */
header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #3B82F6;
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 100%);
    width: 100%;
    overflow-x: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

.hero-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #a78bfa;
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: #8B5CF6;
}

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-app-store,
.btn-app-store-large {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
}

.btn-play-store,
.btn-play-store-large {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border: 1px solid #64748b;
}

.store-icon {
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-label {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.phone-frame {
    width: 280px;
    height: 570px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 2px #334155,
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0f172a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #050818;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.95);
}

.feature-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    gap: 1.5rem;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    color: #60a5fa;
}

.placeholder-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.placeholder-description {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
}

.screenshot-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.placeholder-content {
    text-align: center;
}

.placeholder-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 16px;
}

.placeholder-content p {
    color: #3B82F6;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.placeholder-content small {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem 0 2rem;
    background: linear-gradient(180deg, #0f172a 0%, #0f1635 50%, #130f2a 100%);
    width: 100%;
    overflow-x: hidden;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #f1f5f9;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: 0.1em;
}

.features-container {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 2rem;
    align-items: center;
}

.features-row {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    flex: 1;
}

.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    color: white;
}

.carousel-arrow:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow ion-icon {
    width: 22px;
    height: 22px;
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
    margin-top: auto;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.6s ease-in-out;
    height: 100%;
    align-items: center;
}

.carousel-track .feature-card {
    min-width: 100%;
    max-width: 100%;
    height: 80%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    box-sizing: border-box;
}

.features-phone {
    position: sticky;
    top: 120px;
    display: flex;
    justify-content: center;
}

.features-phone .phone-frame {
    width: 240px;
    height: 490px;
}

.features-phone .phone-notch {
    width: 100px;
    height: 24px;
}

.feature-card {
    background: linear-gradient(145deg, #1a2d4d, #12213d);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.3);
}

.feature-card.active {
    border-color: rgba(96, 165, 250, 1);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.4);
}

.feature-icon-large {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: #60a5fa;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #f1f5f9;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Algorithm Section */
.algorithm {
    padding: 6rem 2rem 0 2rem;
    background: linear-gradient(180deg, #130f2a 0%, #1a0f30 50%, #1f0e35 100%);
    width: 100%;
    overflow-x: hidden;
}

.algorithm-container {
    max-width: 1200px;
    margin: 0 auto;
}

.algorithm-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f1f5f9;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: 0.1em;
}

.algorithm-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.algorithm-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.algo-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.algo-row-reverse {
    grid-template-columns: 1fr 1.5fr;
}

.algo-row-reverse .algo-card {
    order: 2;
}

.algo-row-reverse .algo-phone {
    order: 1;
}

.algo-card {
    background: transparent;
    padding: 4rem;
    border-radius: 20px;
    border: none;
    transition: transform 0.3s;
}

.algo-card:hover {
    transform: translateY(-4px);
}

.algo-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.algo-card-icon {
    width: 50px;
    height: 50px;
    color: #60a5fa;
    flex-shrink: 0;
}

.algo-card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #93c5fd;
}

.algo-card p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
}

.algo-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.algo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    min-height: 100px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: block;
    object-fit: contain;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Analytics Section */
.analytics {
    padding: 6rem 2rem 0 2rem;
    background: linear-gradient(180deg, #1f0e35 0%, #150a25 50%, #030617 100%);
    width: 100%;
    overflow-x: hidden;
}

.analytics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #f1f5f9;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: 0.1em;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.analytics-card {
    background: #020717;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.analytics-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.8);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.analytics-card-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.analytics-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.analytics-card-image-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #1a1235, #2a1a4d);
}

.analytics-placeholder-icon {
    width: 64px;
    height: 64px;
    color: #a78bfa;
}

.analytics-card-image-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom,
        rgba(2, 7, 23, 0) 0%,
        rgba(2, 7, 23, 0.2) 40%,
        rgba(2, 7, 23, 0.6) 70%,
        rgba(2, 7, 23, 1) 100%
    );
    pointer-events: none;
}

.analytics-card-content {
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

.analytics-icon-large {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: #a78bfa;
}

.analytics-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.analytics-card p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1rem;
}

.analytics-arrow {
    display: none;
}

/* Download Section */
.download {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #030617 0%, #020510 100%);
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.download-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.download-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.download-subtitle {
    color: #cbd5e1;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0 0 3rem 0;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.download-copyright {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.btn-app-store-large,
.btn-play-store-large {
    padding: 1.25rem 2rem;
}

.btn-app-store-large .store-icon,
.btn-play-store-large .store-icon {
    width: 36px;
    height: 36px;
}

.btn-app-store-large .store-name,
.btn-play-store-large .store-name {
    font-size: 1.3rem;
}


/* Icon Styles */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }

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

    .hero-features {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 490px;
    }

    .algorithm-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        display: block;
        padding: 0.75rem 1rem;
        background-color: #030617;
        min-height: 80px;
        height: 80px;
    }

    .logo-img {
        width: 57px;
        height: 57px;
    }

    .logo {
        font-size: 2rem;
    }

    main {
        margin-top: 80px;
    }

    nav ul {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-branding {
        display: none;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        order: 1;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        order: 2;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        order: 3;
    }

    .hero-features {
        order: 4;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features h2,
    .algorithm-content h2,
    .analytics h2,
    .download h2 {
        font-size: 1.75rem;
    }

    .features h2 {
        font-size: 1.3rem;
    }

    .algorithm-content h2 {
        font-size: 1.1rem;
    }

    .analytics h2 {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .analytics {
        padding: 3rem 0;
        position: relative;
        overflow: hidden;
    }

    .analytics-container {
        position: relative;
        overflow: hidden;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .analytics-row {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        gap: 5vw;
        padding: 0 5vw;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        margin: 0;
    }

    .analytics-row::-webkit-scrollbar {
        display: none;
    }

    .analytics-card {
        flex: 0 0 90vw;
        width: 90vw;
        min-width: 90vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .analytics-card-content {
        padding: 1.5rem 2rem 2rem 2rem;
    }

    .analytics-arrow {
        display: flex;
        position: absolute;
        top: 80%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: opacity 0.3s;
        color: rgba(167, 139, 250, 0.9);
    }

    .analytics-arrow:active {
        opacity: 0.6;
    }

    .analytics-arrow ion-icon {
        width: 24px;
        height: 24px;
    }

    .analytics-arrow-left {
        left: 1.5rem;
    }

    .analytics-arrow-right {
        right: 1.5rem;
    }

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

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

    .features-row {
        height: auto;
        order: 2;
    }

    .features-phone {
        display: flex;
        order: 1;
        position: relative;
        top: 0;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .carousel-container {
        padding: 0;
    }

    .carousel-track .feature-card {
        padding: 0 40px;
        box-sizing: border-box;
    }

    .carousel-arrow {
        width: 28px;
        height: 28px;
        background: rgba(59, 130, 246, 0.6);
        top: 20%;
    }

    .carousel-arrow ion-icon {
        width: 18px;
        height: 18px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 1rem 0;
    }

    .carousel-dot {
        background: rgba(255, 255, 255, 0.4);
    }

    .carousel-dot.active {
        background: rgba(255, 255, 255, 1);
    }

    .feature-card {
        padding: 0 40px !important;
        height: auto !important;
        background: transparent;
        border: none;
        box-shadow: none;
        transition: none;
    }

    .feature-card:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .feature-card.active {
        border-color: transparent;
        box-shadow: none;
    }

    .features-phone .phone-frame {
        width: 200px;
        height: 408px;
    }

    .features-phone .phone-screen {
        background: #030617;
    }

    .phone-mockup {
        transform: none;
    }

    .phone-mockup:hover {
        transform: none;
    }

    .phone-frame {
        width: 200px;
        height: 408px;
    }

    .algorithm {
        padding: 3rem 1rem;
    }

    .algorithm-features {
        max-width: 100%;
    }

    .algo-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        justify-items: center;
    }

    .algo-row-reverse .algo-card {
        order: 0;
    }

    .algo-row-reverse .algo-phone {
        order: 0;
    }

    .algo-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
        text-align: center;
    }

    .algo-card-header {
        justify-content: center;
    }

    .algo-card-icon {
        width: 44px;
        height: 44px;
    }

    .algo-card h3 {
        font-size: 1.3rem;
    }

    .algo-card p {
        font-size: 0.95rem;
    }

    .algo-phone {
        width: 85vw;
        max-width: 400px;
    }

    .algo-image {
        width: 100%;
        max-width: 100%;
    }


    .algorithm-stats {
        gap: 1.25rem;
    }

    .download {
        padding: 3rem 1rem;
    }

    .download-branding {
        display: none;
    }

    .download-buttons {
        gap: 1.95rem;
    }

    .btn-app-store-large,
    .btn-play-store-large {
        padding: 1.5rem 2.5rem;
    }

    .btn-app-store-large .store-icon,
    .btn-play-store-large .store-icon {
        width: 40px;
        height: 40px;
    }

    .btn-app-store-large .store-name,
    .btn-play-store-large .store-name {
        font-size: 1.4rem;
    }

    .btn-app-store-large .store-label,
    .btn-play-store-large .store-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 0.75rem;
    }

    .nav-container {
        justify-content: center;
    }

    .logo-container {
        gap: 0.4rem;
    }

    .logo {
        font-size: 2rem;
    }

    .logo-img {
        width: 57px;
        height: 57px;
    }

    nav ul {
        display: none;
    }

    .hero {
        padding: 1.5rem 0.5rem;
    }

    .hero-container {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-features {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .hero-feature:nth-child(1),
    .hero-feature:nth-child(3) {
        justify-content: flex-start;
        flex: 0 0 48%;
        padding-left: 1rem;
    }

    .hero-feature:nth-child(2),
    .hero-feature:nth-child(4) {
        justify-content: flex-end;
        flex: 0 0 48%;
        padding-right: 1rem;
    }

    .hero-feature {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 220px;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }

    .store-icon {
        width: 22px;
        height: 22px;
    }

    .store-label {
        font-size: 0.6rem;
    }

    .store-name {
        font-size: 0.95rem;
    }

    .phone-frame {
        width: 180px;
        height: 368px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
    }

    .features {
        padding: 2.5rem 0.5rem;
    }

    .features h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .features-row {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .feature-icon-large {
        width: 36px;
        height: 36px;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .algorithm {
        padding: 2.5rem 0.5rem;
    }

    .algorithm-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .algorithm-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .algorithm-features {
        gap: 2rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .algo-row {
        gap: 1.5rem;
        width: 100%;
        justify-items: center;
    }

    .algo-card {
        padding: 1.5rem 1rem;
        max-width: 100%;
        text-align: center;
    }

    .algo-card-header {
        justify-content: center;
    }

    .algo-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .algo-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .algo-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .algo-phone {
        width: 85vw;
        max-width: 400px;
    }

    .algo-image {
        width: 100%;
        max-width: 100%;
    }


    .algorithm-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .analytics {
        padding: 2.5rem 0.5rem;
    }

    .analytics h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .analytics-row {
        justify-items: center;
    }

    .analytics-card {
        padding: 1.5rem 1rem;
        width: 85vw;
        max-width: 85vw;
    }

    .analytics-icon-large {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .analytics-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .analytics-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .download {
        padding: 1rem 0.5rem 2.5rem 0.5rem;
    }

    .download-branding {
        display: none;
    }

    .download-subtitle {
        margin: 0 0 1.2rem 0;
    }

    .download-buttons {
        gap: 1.95rem;
        padding: 0 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .btn-app-store-large,
    .btn-play-store-large {
        padding: 1.5rem 2.5rem;
        width: 280px;
    }

    .btn-app-store-large .store-icon,
    .btn-play-store-large .store-icon {
        width: 40px;
        height: 40px;
    }

    .btn-app-store-large .store-name,
    .btn-play-store-large .store-name {
        font-size: 1.4rem;
    }

    .btn-app-store-large .store-label,
    .btn-play-store-large .store-label {
        font-size: 0.8rem;
    }

    footer {
        padding: 1.5rem 0.5rem;
        font-size: 0.85rem;
    }
}
