:root {
    --bg-dark: #050510;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #00f3ff;
    --secondary: #bd00ff;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Grid Animation */
.bg-grid-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    perspective: 500px;
    transform: scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.badge-tech {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSS Tech Animation */
.tech-anim-container {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: rotate-cw 10s linear infinite;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.circle-inner {
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotate-ccw 8s linear infinite;
    box-shadow: inset 0 0 15px rgba(189, 0, 255, 0.2);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 3s ease-in-out infinite;
    top: 50%;
}

.tech-icon {
    font-size: 4rem;
    animation: pulse-icon 2s ease-in-out infinite alternate;
}

@keyframes rotate-cw {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ccw {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes scan {
    0% {
        top: 10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--primary));
    }

    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px var(--secondary));
    }
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.3);
}

.hero-decoration .circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.15) 0%, rgba(0, 243, 255, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-main);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.glass-card p {
    color: var(--text-muted);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s;
}

.glass-card:hover::before {
    transform: scaleX(1);
}

/* Market Facts Section */
.market-facts {
    padding: 5rem 0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 2rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-trend {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.stat-trend.negative {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 90%;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--percent) * 1%), rgba(255, 255, 255, 0.05) 0);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    transition: box-shadow 0.3s;
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background: #0d0d1e;
    /* Darker background to simulate hole */
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.stat-card:hover .circular-progress {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.progress-value {
    position: relative;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    z-index: 10;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.circular-progress.highlight-grow {
    background: conic-gradient(var(--secondary) calc(var(--percent) * 1%), rgba(255, 255, 255, 0.05) 0);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.2);
}

.stat-card:hover .circular-progress.highlight-grow {
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.4);
}

/* Market Comparison Section */
.market-comparison {
    padding: 5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.comparison-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comparison-chart-container {
    margin: 2rem 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.chart-label span:nth-child(1) {
    color: var(--primary);
}

.chart-label span:nth-child(2) {
    color: var(--secondary);
}

.bar-chart {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.bar-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #000;
    transition: width 1s ease-out;
}

.bar-segment.play-store {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.bar-segment.app-store {
    background: var(--secondary);
    color: white;
    box-shadow: 0 0 15px var(--secondary);
}

.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.card-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-footer strong {
    color: var(--text-main);
}

/* Success Factors Section */
.success-factors {
    padding: 5rem 0;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.factor-card {
    text-align: left;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.factor-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.factor-stat {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.3);
    margin-bottom: 0.5rem;
}

.factor-card h3 {
    margin-bottom: 0;
    color: var(--text-main);
}

.factor-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.source-tag {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Trusted Partner Section */
.trusted-partner {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 243, 255, 0.03), transparent);
}

.partner-text {
    max-width: 900px;
    margin: 0 auto;
}

.partner-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.partner-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s, background 0.3s;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    font-size: 2rem;
}

.feature-info h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.feature-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }
}