:root {
    --bg-dark: #09090b;
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #22c55e;
    --secondary-glow: rgba(34, 197, 94, 0.4);
    --accent: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Effects */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -2;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -200px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: 10%;
    right: -150px;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: var(--glass-border);
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 150px auto 100px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* Download Buttons */
.primary-btn,
.secondary-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.windows-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    box-shadow: 0 10px 25px -5px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.windows-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    filter: brightness(1.1);
}

.android-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.android-btn:hover {
    transform: translateY(-3px);
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 15px 30px -5px var(--secondary-glow);
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text .small {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-text .large {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.icon-windows,
.icon-android {
    width: 32px;
    height: 32px;
}

.version-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Hero Image / Mockup */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.glass-mockup {
    width: 100%;
    max-width: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: var(--glass-border);
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
    margin-right: 6px;
}

.dots span:nth-child(1) {
    background: #ef4444;
}

.dots span:nth-child(2) {
    background: #eab308;
}

.dots span:nth-child(3) {
    background: #22c55e;
}

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.m-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.m-msg {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.q-tag {
    color: #FFD700;
    font-weight: bold;
}

.tr-msg strong {
    color: white;
}

/* How It Works */
.how-to-use {
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 40px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.reverse-step {
    flex-direction: row-reverse;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.reverse-step .step-number {
    left: auto;
    right: -20px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.step-image {
    flex: 1;
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.placeholder-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.1;
}

/* Pricing Section */
.pricing {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    overflow: visible; /* changed from hidden to let badge pop out */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-tier {
    background: rgba(139, 92, 246, 0.05); /* very light purple tint */
    border: 1px solid rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.premium-tier:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px -5px var(--primary-glow);
}

/* Add a glowing top edge to the premium card */
.premium-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
}

.pricing-card h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
    margin-top: 5px;
}

.price {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: white;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start; /* Changed from center so wrapped text aligns at top */
    gap: 12px;
    margin-bottom: 15px;
    color: #e2e8f0;
    line-height: 1.4;
}

.pricing-features .material-icons-round {
    color: var(--secondary);
    font-size: 20px;
    flex-shrink: 0; /* Prevents the icon from squeezing when text wraps */
    margin-top: 2px; /* Slight visual tweak to align with text */
}

.pricing-action {
    margin-top: auto;
}

.pricing-action .nav-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: white;
    color: black !important;
    text-align: center;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-action .nav-btn.secondary-btn {
    background: transparent;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.pricing-action .nav-btn:hover {
    transform: scale(1.02);
}

.pricing-action .nav-btn.secondary-btn:hover {
    background: rgba(255,255,255,0.05);
}

/* Features */
.features {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 50px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    transition: background 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon span {
    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

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

footer {
    text-align: center;
    padding: 40px;
    border-top: var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .nav-content {
        padding: 0 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a:not(.nav-btn) {
        display: none !important;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 100px;
        gap: 40px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

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

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .glass-mockup {
        transform: none;
        max-width: 100%;
    }

    .glass-mockup:hover {
        transform: translateY(-5px);
    }

    .feature-grid,
    .testimonial-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .premium-tier {
        transform: none;
    }
    .premium-tier:hover {
        transform: translateY(-5px);
    }

    .stats-container {
        padding: 0;
    }

    .step {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }

    .step-number {
        font-size: 4rem;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .reverse-step .step-number {
        right: auto;
    }
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
    position: relative;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.map-container {
    width: 100%;
    max-width: 800px;
    height: 300px;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 20px;
    margin-bottom: 20px;
}

.map-bg {
    position: absolute;
    inset: 0;
    background-image: url('world-map.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    /* Simplified filter for better cross-browser compatibility */
    filter: brightness(0.8) sepia(1) hue-rotate(220deg) saturate(2);
}

.ping {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.ping::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
}

.ping:nth-child(2)::after {
    animation-delay: 0.5s;
}

.ping:nth-child(3)::after {
    animation-delay: 1.2s;
}

.ping:nth-child(4)::after {
    animation-delay: 0.2s;
}

.ping:nth-child(5)::after {
    animation-delay: 1.8s;
}

.ping:nth-child(6)::after {
    animation-delay: 0.9s;
}

.ping:nth-child(7)::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px var(--primary-glow);
    border-color: rgba(139, 92, 246, 0.3);
}

.stars {
    color: #eab308;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-main);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.user-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.user-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {

    .stats-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}