:root {
    --primary-gradient: linear-gradient(135deg, #49A7E8 0%, #8BC6A9 50%, #F5C342 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --accent-blue: #49A7E8;
    --accent-green: #8BC6A9;
    --accent-yellow: #F5C342;
    --font-main: 'Nunito', sans-serif;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #f0f9ff;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

/* Background Effects */
.background-sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.sparkle-bg {
    position: absolute;
    width: 20px;
    height: 20px;
    color: rgba(245, 195, 66, 0.6);
    /* Yellowish sparkle */
    animation: float 4s ease-in-out infinite;
    opacity: 0;
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.4;
    animation: pulse-glow 10s infinite alternate;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: #49A7E8;
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: #F5C342;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

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

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

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

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

.nav a:hover {
    color: var(--accent-blue);
}

.btn-nav {
    background: var(--primary-gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(73, 167, 232, 0.4);
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(73, 167, 232, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
}

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

.hero-text .badge {
    display: inline-block;
    background: rgba(245, 195, 66, 0.2);
    color: #d97706;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 195, 66, 0.4);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #1e293b;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

.store-btn .icon {
    font-size: 2rem;
    margin-right: 12px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.small-text {
    font-size: 0.7rem;
    opacity: 0.8;
}

.big-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-container {
    position: relative;
    width: 320px;
    height: 640px;
}

.phone-mockup {
    width: 100%;
    height: 100%;
    background: #1e293b;
    border-radius: 48px;
    border: 12px solid #334155;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 2;
}

.phone-mockup.floating {
    animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {

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

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

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #334155;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.app-header {
    height: 80px;
    background: var(--primary-gradient);
    display: flex;
    align-items: flex-end;
    padding: 0 20px 15px;
}

.app-title {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.app-content {
    padding: 20px;
}

.story-img-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(to bottom right, #bae6fd, #e0f2fe);
    border-radius: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.sparkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L12 8L20 10L12 12L10 20L8 12L0 10L8 8L10 0Z' fill='white' fill-opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.story-text-lines .line {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 12px;
}

.line-1 {
    width: 100%;
}

.line-2 {
    width: 90%;
}

.line-3 {
    width: 60%;
}

.play-btn-circle {
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 40px auto 0;
    box-shadow: 0 10px 20px rgba(245, 195, 66, 0.4);
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 195, 66, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(245, 195, 66, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 195, 66, 0);
    }
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.float-card i {
    color: var(--accent-blue);
}

.card-1 {
    top: 100px;
    left: -40px;
    animation: float-card 5s ease-in-out infinite;
}

.card-2 {
    bottom: 120px;
    right: -40px;
    animation: float-card 5s ease-in-out infinite reverse;
}

@keyframes float-card {

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

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: white;
}

.color-1 {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
}

.color-2 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.color-3 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.color-4 {
    background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.5);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(73, 167, 232, 0.3);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Download CTA */
.download-cta {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.center {
    justify-content: center;
}

/* Footer */
.footer {
    background: white;
    padding: 80px 0 30px;
    border-top: 1px solid #f1f5f9;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links-group h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-links-group a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--accent-blue);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-blue);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* Privacy Page Specifics */
.privacy-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.privacy-section p {
    margin-bottom: 16px;
    color: #475569;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: #475569;
}

.privacy-section li {
    margin-bottom: 8px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--accent-blue);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
}

.mobile-drawer.open {
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.mobile-drawer.open .drawer-content {
    transform: translateX(0);
}

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    margin-bottom: 32px;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: var(--accent-blue);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.3s;
}

.drawer-link:hover {
    color: var(--accent-blue);
}

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

    .hero-text {
        order: 1;
    }

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

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

    .stats {
        justify-content: center;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .float-card {
        display: none;
    }

    .phone-container {
        width: 280px;
        height: 560px;
    }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

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