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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

/* Colors */
:root {
    --purple-deep: #5B21B6;
    --purple-light: #7C3AED;
    --purple-dark: #4C1D95;
    --purple-darker: #3B1382;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Animated Background */
.animated-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.blob-1 {
    top: 25%;
    left: -25%;
    width: 384px;
    height: 384px;
    background: rgba(91, 33, 182, 0.15);
}

.blob-2 {
    bottom: 25%;
    right: -25%;
    width: 384px;
    height: 384px;
    background: rgba(91, 33, 182, 0.15);
}

/* Hide blur blobs on mobile devices */
@media (max-width: 768px) {
    .animated-background {
        display: none;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

@media (min-width: 1024px) {
    .nav-container {
        height: 80px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--purple-deep);
    animation: rotate 20s linear infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
}

.nav-link {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--purple-deep);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-deep);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-icon {
    width: 24px;
    height: 24px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%) translateY(30px) scale(0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.97));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    max-height: 85vh;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 768px) {
    .mobile-menu-dialog {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

.mobile-menu-dialog.active {
    display: block;
    opacity: 1;
    transform: translateY(-50%) translateY(0) scale(1);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(91, 33, 182, 0.05));
    position: relative;
    border-radius: 2rem 2rem 0 0;
}

.mobile-menu-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(124, 58, 237, 0.15);
    border: none;
    color: var(--purple-deep);
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.mobile-menu-close:hover {
    background: rgba(124, 58, 237, 0.25);
    transform: scale(1.1) rotate(90deg);
    color: var(--purple-deep);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.mobile-menu-close:active {
    transform: scale(0.95) rotate(90deg);
}

.mobile-menu-close svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    gap: 0.75rem;
}

.mobile-menu-content .nav-link {
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    position: relative;
    overflow: hidden;
    background: rgba(249, 250, 251, 0.5);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.mobile-menu-content .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 8px 8px 0;
}

.mobile-menu-content .nav-link:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(91, 33, 182, 0.06));
    color: var(--purple-deep);
    transform: translateX(6px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.mobile-menu-content .nav-link:hover::before {
    transform: scaleY(1);
}

.mobile-menu-content .nav-link:active {
    transform: translateX(3px) scale(0.98);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 128px 1rem 64px;
}

@media (min-width: 640px) {
    .hero {
        padding: 128px 1.5rem 64px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 128px 2rem 64px;
    }
}

.hero-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.sparkles-icon {
    width: 16px;
    height: 16px;
    color: var(--purple-deep);
    animation: rotate 3s linear infinite;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #111827;
}

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

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

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

.gradient-text {
    background: linear-gradient(to right, var(--purple-deep), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

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

.btn-primary {
    background: var(--purple-deep);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(91, 33, 182, 0.5);
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: #111827;
}

.btn-secondary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.875rem;
    color: #4b5563;
}

@media (min-width: 1024px) {
    .hero-stats {
        justify-content: flex-start;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    width: 16px;
    height: 16px;
    color: var(--purple-deep);
}

/* App Preview */
.hero-image {
    position: relative;
}

.app-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-effect {
    position: absolute;
    inset: 0;
    background: rgba(91, 33, 182, 0.3);
    border-radius: 1.5rem;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite;
}

.phone-frame {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 3rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    background: #111827;
    border-radius: 2.5rem;
    padding: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .phone-screen {
        max-width: 320px;
    }
}

.phone-notch {
    height: 24px;
    width: 128px;
    background: #111827;
    border-radius: 0 0 1rem 1rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    object-fit: contain;
    display: block;
}

.floating-element {
    position: absolute;
    width: 96px;
    height: 96px;
    background: rgba(91, 33, 182, 0.2);
    border-radius: 50%;
    filter: blur(40px);
}

.floating-1 {
    top: 20%;
    left: -10%;
    animation: float-1 5s ease-in-out infinite;
}

.floating-2 {
    top: 50%;
    right: -10%;
    animation: float-2 6s ease-in-out infinite 0.7s;
}

.floating-3 {
    bottom: 20%;
    left: -10%;
    animation: float-3 7s ease-in-out infinite 1.4s;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
    position: relative;
    scroll-margin-top: 80px;
}

@media (min-width: 640px) {
    .features {
        padding: 5rem 1.5rem;
    }
}

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

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

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

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

.section-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .section-description {
        font-size: 1.25rem;
    }
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.feature-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: all 0.3s ease;
}

.icon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}


.gradient-1 {
    background: linear-gradient(to right, var(--purple-deep), var(--purple-light));
}

.gradient-2 {
    background: linear-gradient(to right, var(--purple-light), var(--purple-deep));
}

.gradient-3 {
    background: linear-gradient(to right, var(--purple-deep), var(--purple-dark));
}

.gradient-4 {
    background: linear-gradient(to right, var(--purple-dark), var(--purple-deep));
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-description {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.125rem;
}

/* AI Demo Section */
.ai-demo {
    padding: 5rem 1rem;
    position: relative;
    scroll-margin-top: 80px;
}

@media (min-width: 640px) {
    .ai-demo {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ai-demo {
        padding: 5rem 2rem;
    }
}

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

@media (min-width: 1024px) {
    .demo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.demo-badge svg {
    width: 16px;
    height: 16px;
    color: var(--purple-deep);
}

.demo-text {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .demo-text {
        font-size: 1.25rem;
    }
}

.demo-text-secondary {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .demo-text-secondary {
        font-size: 1.125rem;
    }
}

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

.capability-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: transform 0.3s;
}

.capability-item:hover {
    transform: translateX(5px) scale(1.02);
}

.capability-icon {
    padding: 0.5rem;
    background: rgba(91, 33, 182, 0.1);
    border-radius: 0.5rem;
}

.capability-icon svg {
    width: 20px;
    height: 20px;
    color: var(--purple-deep);
}

.capability-item span {
    color: #374151;
    font-weight: 500;
}

.demo-visual {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .demo-visual {
        padding: 3rem;
    }
}

/* AI Visualization - Creative Stats Cards */
.ai-visualization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .ai-visualization {
        grid-template-columns: 1fr;
    }
}

.visualization-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(91, 33, 182, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.visualization-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.visualization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
}

.card-icon {
    display: inline-flex;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-light));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple-deep);
    margin-bottom: 0.5rem;
}

.card-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.card-trend {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

.chart-area {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(91, 33, 182, 0.02));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0.5rem;
    height: 200px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--purple-deep), var(--purple-light));
    border-radius: 0.5rem 0.5rem 0 0;
    min-height: 20px;
    transition: all 0.3s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 200;
    }
}

@keyframes pulse-node {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    position: relative;
    scroll-margin-top: 80px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .testimonials {
        padding: 5rem 1.5rem;
    }
}

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

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.indicator-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.indicator-card:hover {
    transform: translateY(-5px) scale(1.05);
}

.indicator-icon {
    display: inline-flex;
    padding: 0.75rem;
    background: rgba(91, 33, 182, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.indicator-icon svg {
    width: 24px;
    height: 24px;
    color: var(--purple-deep);
}

.indicator-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--purple-deep);
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .indicator-value {
        font-size: 2.25rem;
    }
}

.indicator-label {
    font-size: 0.875rem;
    color: #4b5563;
}

@media (min-width: 1024px) {
    .indicator-label {
        font-size: 1rem;
    }
}

.testimonials-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 120px;
}

@media (max-width: 1024px) {
    .testimonials-container {
        padding: 0 100px;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 60px;
    }
}

@media (max-width: 640px) {
    .testimonials-container {
        padding: 0 40px;
    }
}

.testimonials-gradient-left,
.testimonials-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .testimonials-gradient-left,
    .testimonials-gradient-right {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .testimonials-gradient-left,
    .testimonials-gradient-right {
        width: 60px;
    }
}

@media (max-width: 640px) {
    .testimonials-gradient-left,
    .testimonials-gradient-right {
        width: 40px;
    }
}

.testimonials-gradient-left {
    left: 0;
    background: linear-gradient(to right, #f9fafb 0%, rgba(249, 250, 251, 0.95) 30%, rgba(249, 250, 251, 0.5) 70%, transparent 100%);
}

.testimonials-gradient-right {
    right: 0;
    background: linear-gradient(to left, #f9fafb 0%, rgba(249, 250, 251, 0.95) 30%, rgba(249, 250, 251, 0.5) 70%, transparent 100%);
}

.testimonials-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: max-content;
    animation: scroll-testimonials 50s linear infinite;
    padding: 1rem 0;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 90vw;
    max-width: 400px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

@media (min-width: 640px) {
    .testimonial-card {
        width: 400px;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        width: 450px;
        padding: 2rem;
    }
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-icon {
    width: 20px;
    height: 20px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-style: italic;
    font-size: 1.125rem;
}

.testimonial-name {
    font-weight: 600;
    color: #111827;
    font-size: 1.125rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Download Section */
.download {
    padding: 5rem 1rem;
    position: relative;
    scroll-margin-top: 80px;
}

@media (min-width: 640px) {
    .download {
        padding: 5rem 1.5rem;
    }
}

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

.download-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .download-card {
        padding: 4rem;
    }
}

.download-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.download-badge svg {
    width: 16px;
    height: 16px;
    color: var(--purple-deep);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

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

.download-btn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #111827;
    color: white;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 200px;
    max-width: 200px;
    width: 200px;
    height: 60px;
    justify-content: flex-start;
    transition: all 0.3s;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: inherit;
    font-family: inherit;
}

.download-btn-store:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
}

.download-btn-store:active {
    transform: scale(0.97);
}

.download-btn-store svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-text {
    text-align: left;
    flex: 1;
}

.btn-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.download-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item svg {
    width: 20px;
    height: 20px;
    color: #10b981;
}

/* CTA Footer */
.cta-footer {
    padding: 5rem 1rem;
    position: relative;
}

@media (min-width: 640px) {
    .cta-footer {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-footer {
        padding: 5rem 2rem;
    }
}

.cta-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-btn {
    margin-top: 2.5rem;
}

.footer {
    text-align: center;
    color: #4b5563;
}

.footer-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--purple-deep);
}

.footer-link svg {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #111827;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

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

.modal-icon {
    display: inline-flex;
    padding: 1rem;
    background: rgba(91, 33, 182, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: rotate-clock 2s ease-in-out infinite;
}

.modal-icon svg {
    width: 48px;
    height: 48px;
    color: var(--purple-deep);
}

.modal-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--purple-deep);
    font-weight: 500;
    margin-bottom: 2rem;
}

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

.modal-btn {
    width: 100%;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-clock {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, -30px) scale(1.3);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, -30px) scale(1.3);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, 30px) scale(1.3);
    }
}

.testimonials-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: max-content;
    animation: scroll-testimonials 50s linear infinite;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s, transform 0.6s;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
