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

:root {
    --gradient-start: #7226FF;
    --gradient-end: #ED4A8F;
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a2a;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 300;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--text-primary);
}

.download-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    filter: saturate(1.2) brightness(1.05);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.download-btn:hover {
    filter: saturate(1.3) brightness(1.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 20px rgba(114, 38, 255, 0.4);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(237, 74, 143, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: saturate(1.3) brightness(1.1);
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 20px rgba(237, 74, 143, 0.3);
    filter: saturate(1.2) brightness(1.05);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transform: translateY(-1px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 999px 999px 0 0;
    pointer-events: none;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 30px rgba(237, 74, 143, 0.5);
    filter: saturate(1.3) brightness(1.1);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 20px;
}

.price-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.free-badge {
    background: rgba(114, 38, 255, 0.2);
    color: var(--gradient-end);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.device-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* Features Section */
.features {
    padding: 100px 0;
    overflow: hidden;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 60px;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px max(24px, calc((100vw - 1200px) / 2));
    scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: min(1000px, 70vw);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    height: 600px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover,
.feature-card.active {
    transform: scale(1.01);
    border-color: rgba(237, 74, 143, 0.5);
}

.feature-card.wide {
    height: 600px;
}

.feature-card.hero-feature {
    background: linear-gradient(135deg, rgba(114, 38, 255, 0.15), rgba(237, 74, 143, 0.15));
    border: 1px solid rgba(114, 38, 255, 0.3);
}

.feature-card.features-list {
    background: linear-gradient(135deg, rgba(237, 74, 143, 0.1), rgba(114, 38, 255, 0.1));
}

.feature-card {
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.feature-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-content-left h3 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.feature-content-left p {
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1.6;
}

.feature-image-right {
    flex: 0 0 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.feature-image-right img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

.feature-content.full-width {
    width: 100%;
}

.feature-content.full-width h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item svg {
    flex-shrink: 0;
    margin-top: 6px;
    stroke: var(--gradient-start);
    stroke-width: 2.5;
    width: 28px;
    height: 28px;
}

.feature-item h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.gradient-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    filter: saturate(1.2) brightness(1.05);
    width: fit-content;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gradient-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px 8px 0 0;
    pointer-events: none;
}

/* Carousel Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
}

.carousel-button:hover {
    background: var(--card-hover);
    border-color: rgba(237, 74, 143, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.carousel-button svg {
    color: var(--text-primary);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    width: 24px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.carousel-dot.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.carousel-dot:not(.active):hover {
    background: var(--text-secondary);
}

.carousel-dot.active:hover {
    filter: saturate(1.3) brightness(1.1);
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--card-bg);
}

/* Reviews Bento Grid */
.reviews-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: scale(1.01);
    border-color: rgba(237, 74, 143, 0.5);
}

.review-card.large {
    grid-column: span 8;
    grid-row: span 2;
}

.review-card.medium {
    grid-column: span 4;
    grid-row: span 2;
}

.review-card.small {
    grid-column: span 6;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stars {
    color: #FFD700;
    font-size: 20px;
    letter-spacing: 2px;
}

.review-user {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.review-card.large .review-title {
    font-size: 36px;
}

.review-card.medium .review-title {
    font-size: 24px;
}

.review-card.small .review-title {
    font-size: 22px;
}

.review-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.review-text {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.review-emphasis {
    color: var(--text-primary);
    font-weight: 600;
}

.review-emphasis.underline {
    position: relative;
    display: inline-block;
}

.review-emphasis.underline::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q 25 2, 50 4 T 100 4' stroke='%23ED4A8F' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 100px 8px;
    opacity: 0.8;
    pointer-events: none;
}

/* Footer CTA */
.footer-cta {
    padding: 100px 0;
    position: relative;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(114, 38, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-primary {
    margin: 0 auto;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 32px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 148px;
    object-fit: contain;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .carousel-slide {
        width: min(800px, 75vw);
    }

    .feature-card {
        height: 480px;
        padding: 48px;
        gap: 24px;
    }

    .feature-content-left h3 {
        font-size: 36px;
    }

    .feature-content-left p {
        font-size: 18px;
    }

    .feature-image-right {
        flex: 0 0 240px;
    }

    .feature-image-right img {
        max-height: 380px;
    }

    .feature-content.full-width h3 {
        font-size: 36px;
    }

    .features-grid {
        gap: 24px;
    }

    .feature-item h4 {
        font-size: 19px;
    }

    .feature-item p {
        font-size: 16px;
    }

    .feature-item svg {
        width: 24px;
        height: 24px;
    }

    .review-card.large {
        grid-column: span 12;
        grid-row: span 1;
    }

    .review-card.medium {
        grid-column: span 6;
        grid-row: span 1;
    }

    .review-card.small {
        grid-column: span 6;
    }

    .review-card {
        padding: 40px;
    }

    .review-card.large .review-title {
        font-size: 32px;
    }

    .review-card.medium .review-title {
        font-size: 22px;
    }

    .review-card.small .review-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 16px;
    }

    .nav a:not(.download-btn) {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .carousel-slide {
        width: min(500px, 85vw);
    }

    .feature-card {
        height: 560px;
        padding: 36px;
        gap: 24px;
        flex-direction: column;
    }

    .feature-content-left {
        flex: 0;
    }

    .feature-content-left h3 {
        font-size: 28px;
    }

    .feature-content-left p {
        font-size: 16px;
    }

    .feature-image-right {
        flex: 1;
        max-height: none;
        min-height: 200px;
    }

    .feature-image-right img {
        max-height: 100%;
        width: 100%;
        object-fit: contain;
    }

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

    .feature-content.full-width h3 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .feature-item {
        gap: 16px;
    }

    .feature-item h4 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 15px;
    }

    .feature-item svg {
        width: 22px;
        height: 22px;
    }

    .carousel-button {
        display: none;
    }

    .features,
    .reviews,
    .footer-cta {
        padding: 60px 0;
    }

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

    .cta-content h2 {
        font-size: 36px;
    }

    .review-card.large,
    .review-card.medium,
    .review-card.small {
        grid-column: span 12;
        grid-row: span 1;
    }

    .review-card {
        padding: 32px;
    }

    .review-card.large .review-title {
        font-size: 28px;
    }

    .review-card.medium .review-title,
    .review-card.small .review-title {
        font-size: 24px;
    }

    .review-highlight {
        font-size: 16px;
    }

    .stars {
        font-size: 18px;
    }

    .review-user {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .cta-content {
        text-align: left;
    }

    .cta-content h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .cta-content p {
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
    }

    .cta-content .btn-primary {
        margin: 0;
    }

    .btn-primary {
        font-size: 16px;
        padding: 14px 24px;
    }

    .btn-primary.large {
        font-size: 18px;
        padding: 16px 32px;
    }

    .carousel-slide {
        width: min(360px, 90vw);
    }

    .feature-card {
        height: 520px;
        padding: 28px;
        gap: 20px;
    }

    .feature-content-left h3 {
        font-size: 24px;
    }

    .feature-content-left p {
        font-size: 15px;
    }

    .feature-image-right {
        flex: 1;
        max-height: none;
        min-height: 180px;
    }

    .feature-image-right img {
        max-height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .feature-content.full-width h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .feature-item h4 {
        font-size: 17px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .feature-item svg {
        width: 20px;
        height: 20px;
    }

    .features-grid {
        gap: 18px;
    }

    .review-card {
        padding: 24px;
    }

    .review-card.large .review-title {
        font-size: 24px;
    }

    .review-card.medium .review-title,
    .review-card.small .review-title {
        font-size: 20px;
    }

    .review-text {
        font-size: 15px;
    }

    .review-highlight {
        font-size: 15px;
        padding-left: 16px;
        border-left-width: 3px;
    }

    .stars {
        font-size: 16px;
    }

    .review-user {
        font-size: 13px;
    }
}
