/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 0.8s ease 0.3s backwards;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    text-align: center;
    padding: 40px 20px;
}

.water-glass {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    animation: waterWave 3s ease-in-out infinite;
}

@keyframes waterWave {

    0%,
    100% {
        height: 75%;
    }

    50% {
        height: 70%;
    }
}

.water-bubbles span {
    position: absolute;
    bottom: 10px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bubbleUp 2s ease-in-out infinite;
}

.water-bubbles span:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.water-bubbles span:nth-child(2) {
    left: 50%;
    animation-delay: 0.5s;
    width: 6px;
    height: 6px;
}

.water-bubbles span:nth-child(3) {
    left: 70%;
    animation-delay: 1s;
    width: 5px;
    height: 5px;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-60px);
        opacity: 0;
    }
}

.progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: white;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 84.823;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from {
        stroke-dashoffset: 339.292;
    }

    to {
        stroke-dashoffset: 84.823;
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.progress-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.progress-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: -10px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Sections Common */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-600);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

[data-theme="dark"] .section-badge {
    background: rgba(14, 165, 233, 0.15);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px var(--shadow-color);
}

.feature-card.featured {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.feature-card.featured h3,
.feature-card.featured p {
    color: white;
}

.feature-card.featured p {
    opacity: 0.9;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Facts Section */
.facts {
    padding: var(--section-padding) 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.fact-card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
}

.fact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-300);
}

.fact-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.fact-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.facts-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
}

.banner-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.banner-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* What's New Section */
.whats-new {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.updates-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.update-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    transition: var(--transition-normal);
}

.update-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-300);
}

.update-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.update-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.update-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Download Section */
.download {
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
}

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

.download-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.download-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.download-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.download-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 60px 24px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 24px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        margin-top: 40px;
    }

    .floating-card {
        display: none;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .features-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons .store-button {
        width: 100%;
        max-width: 300px;
    }

    .download-trust {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .fact-number {
        font-size: 2.5rem;
    }
}