/* Modern CSS with Animations and Effects */
:root {
    --primary-blue: #007bff;
    --primary-glow: rgba(0, 123, 255, 0.5);
    --dark-navy: #0a0e1a;
    --darker-navy: #050810;
    --card-bg: #161b2e;
    --card-border: #1e253a;
    --white: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #888888;
    --gradient-1: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 123, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    margin-bottom: 30px;
}

.loader-logo img {
    width: 80px;
    height: auto;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--card-border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-1);
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

.loader-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Glassmorphism Header */
.glass-header {
    background: rgba(22, 27, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    background: rgba(22, 27, 46, 0.95);
    box-shadow: var(--shadow-soft);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-wrapper {
    position: relative;
}

.nav-logo {
    width: 40px;
    height: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover .nav-logo {
    transform: rotate(10deg) scale(1.1);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-blue);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease;
}

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

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease 0.2s both;
}

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

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    animation: slideUp 0.8s ease 0.4s both;
}

/* Stats Container */
.stats-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
}

/* Buttons */
.cta-buttons {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease 0.8s both;
}

.btn-playstore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-1);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-playstore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-playstore:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.6);
}

.btn-playstore:hover::before {
    left: 100%;
}

.btn-playstore.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.play-icon {
    width: 28px;
    height: 28px;
}

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

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-text strong {
    font-size: 1.1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    animation: fadeIn 0.8s ease 1s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1f35 0%, #0f1320 100%);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--darker-navy);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 20px;
}

.mockup-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-item {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mockup-item.active {
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.5);
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 40px;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: rgba(22, 27, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatCard 3s ease-in-out infinite;
}

.float-icon {
    font-size: 1.2rem;
}

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

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

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

@keyframes floatCard {

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

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

/* Features Section */
.features-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--dark-navy) 0%, rgba(0, 123, 255, 0.03) 50%, var(--dark-navy) 100%);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper img {
    transform: scale(1.1);
}

.icon-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover .icon-glow {
    opacity: 0.5;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.feature-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.feature-card:hover .feature-hover-effect {
    width: 300px;
    height: 300px;
}

/* Preview Section */
.preview-section {
    padding: 100px 5%;
    background: var(--darker-navy);
}

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

.preview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-slider {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--card-border);
}

.slider-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide img {
    max-height: 300px;
    width: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

.slide p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

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

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Legal Sections */
.legal-section {
    padding: 80px 5%;
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.legal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.legal-highlight {
    background: rgba(0, 123, 255, 0.1);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    text-align: left;
}

.legal-content>p {
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: left;
}

.legal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
}

.legal-item .check {
    color: var(--primary-blue);
    font-weight: bold;
}

/* Privacy Section */
.privacy-section {
    background: linear-gradient(180deg, var(--dark-navy) 0%, rgba(0, 123, 255, 0.02) 100%);
}

.privacy-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.05);
}

.privacy-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.privacy-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--white);
}

.privacy-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.contact-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.email-link:hover {
    gap: 15px;
    text-shadow: 0 0 20px var(--primary-glow);
}

/* CTA Section */
.cta-section {
    padding: 100px 5%;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-content .btn-playstore {
    background: white;
    color: #764ba2;
}

.cta-content .btn-playstore:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.glass-footer {
    background: rgba(22, 27, 46, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 5%;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 35px;
    height: auto;
}

.footer-brand span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

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

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

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    color: var(--white);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .trust-badges {
        justify-content: center;
    }

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

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

    .float-card {
        display: none;
    }
}

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

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

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

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

    .legal-content {
        padding: 30px 20px;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}