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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: #9d4edd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
    height: 4rem;
    display: flex;
    align-items: center;
}

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

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
}

.logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(15, 15, 15, 0.5) 50%, rgba(58, 134, 255, 0.1) 100%);
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 5rem;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
}

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 2rem;
    width: fit-content;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #c4a4ff;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #9d4edd, #3a86ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #d0d0d0;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.store-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-icon-apple {
    color: #ffffff;
}

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

.store-copy small {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

.store-copy strong {
    font-size: 1rem;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, #9d4edd, #3a86ff);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.5);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #9d4edd;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.3);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.25rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #9d4edd, #3a86ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-top: 0.25rem;
}

.hero-right {
    display: none;
}

@media (min-width: 1024px) {
    .hero-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.phone-frame {
    position: relative;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    border-radius: 2rem;
    padding: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 20rem;
    width: 100%;
    aspect-ratio: 9 / 16;
}

.phone-frame.large {
    max-width: 100%;
}

.phone-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.5) 0%, rgba(58, 134, 255, 0.5) 100%);
    border-radius: 2rem;
    opacity: 0;
    z-index: -1;
    filter: blur(30px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #9d4edd;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.features {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0f0f0f 0%, rgba(157, 78, 221, 0.05) 50%, #0f0f0f 100%);
}

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #d0d0d0;
    max-width: 42rem;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 1.5rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(58, 134, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: #9d4edd;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.screenshots {
    padding: 5rem 0;
}

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

@media (min-width: 1024px) {
    .carousel-container {
        grid-template-columns: 1fr 1fr;
    }
}

.carousel-left {
    display: flex;
    justify-content: center;
}

.carousel-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.carousel-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.carousel-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.carousel-description {
    font-size: 1.125rem;
    color: #d0d0d0;
}

.carousel-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thumbnail {
    padding: 1rem;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: inherit;
}

.thumbnail span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
}

.thumbnail small {
    font-size: 0.875rem;
    color: #a0a0a0;
}

.thumbnail:hover {
    border-color: #9d4edd;
    background: rgba(157, 78, 221, 0.05);
}

.thumbnail.active {
    border-color: #9d4edd;
    background: rgba(157, 78, 221, 0.1);
}

.download-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(15, 15, 15, 0.5) 50%, rgba(58, 134, 255, 0.1) 100%);
}

.download-content {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.app-info {
    font-size: 0.875rem;
    color: #808080;
    margin-top: 1.5rem;
}

.footer {
    border-top: 1px solid #2a2a2a;
    padding: 3rem 0;
    background: #0f0f0f;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.footer-description {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #808080;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.hero-right {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

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

    .section-title {
        font-size: 1.75rem;
    }

    .carousel-container {
        gap: 1.5rem;
    }
}
