/* Global Variables & Reset */
:root {
    --bg-color: #0A0D14;
    --card-bg: rgba(22, 28, 45, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #8F9CAE;
    
    /* Neon Gradients */
    --cyan-neon: #00F2FE;
    --cobalt-blue: #4FACFE;
    --purple-glow: #E040FB;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Glowing Circles */
.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.15;
}

.glow-circle.cyan {
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, var(--cyan-neon) 0%, var(--cobalt-blue) 100%);
}

.glow-circle.purple {
    top: 30vw;
    left: -10vw;
    background: radial-gradient(circle, var(--purple-glow) 0%, rgba(224, 64, 251, 0) 100%);
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--cobalt-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar styles */
header {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 13, 20, 0.7);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--cobalt-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--cyan-neon);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--cobalt-blue) 100%);
    color: var(--bg-color);
    border: none;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-btn {
    font-size: 14px;
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--cyan-neon);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Google Play Button Styling */
.play-store-btn {
    display: inline-flex;
    align-items: center;
    background: #000000;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.play-store-btn:hover {
    border-color: var(--cyan-neon);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.play-icon {
    margin-right: 14px;
}

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

.small-text {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.large-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.apk-btn {
    height: 48px;
}

.version-info {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Hero Phone Mockup Simulation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    border: 10px solid #1E2330;
    border-radius: 40px;
    background-color: var(--bg-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 172, 254, 0.15);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #0E121E;
}

/* Simulated App UI Styles */
.app-header {
    height: 64px;
    background: #141A29;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--cyan-neon);
}

.app-status-bar {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(0, 242, 254, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.app-browser-search {
    padding: 16px;
}

.search-bar-sim {
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding-left: 14px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.active-downloads-sim {
    flex: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-sim-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

.download-item-sim {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.item-icon-sim {
    font-size: 20px;
}

.item-details-sim {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-name-sim {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 180px;
}

.progress-bar-sim {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-sim {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-neon) 0%, var(--cobalt-blue) 100%);
    border-radius: 3px;
}

.item-meta-sim {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-secondary);
}

.speed-sim {
    color: var(--cyan-neon);
    font-weight: 600;
}

.download-item-sim.paused .progress-fill-sim {
    background: var(--text-secondary);
}

.download-item-sim.paused .status-text-sim {
    color: var(--text-secondary);
}

.app-bottom-bar {
    height: 56px;
    background: #141A29;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
}

.app-bottom-bar span {
    cursor: pointer;
}

.active-tab {
    color: var(--cyan-neon);
    font-weight: 600;
}

/* Features Grid Section */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(22, 28, 45, 0.2) 0%, rgba(10, 13, 20, 0) 100%);
}

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

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon.bg-cyan {
    background: rgba(0, 242, 254, 0.1);
    color: var(--cyan-neon);
}

.feature-icon.bg-blue {
    background: rgba(79, 172, 254, 0.1);
    color: var(--cobalt-blue);
}

.feature-icon.bg-purple {
    background: rgba(224, 64, 251, 0.1);
    color: var(--purple-glow);
}

.feature-icon.bg-pink {
    background: rgba(224, 64, 251, 0.1);
    color: #FF4081;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Security Section */
.security {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.security-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.shield-graphic {
    position: relative;
    z-index: 2;
}

.shield-svg {
    color: var(--purple-glow);
    filter: drop-shadow(0 0 20px rgba(224, 64, 251, 0.4));
    animation: float 4s ease-in-out infinite;
}

.shield-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(224, 64, 251, 0.3) 0%, rgba(224, 64, 251, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

.security-content h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.security-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
}

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

.trust-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: rgba(10, 13, 20, 0.8);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan-neon);
}

/* Responsive / Mobile Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .security-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .trust-indicators {
        align-items: center;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    nav {
        display: none; /* Hide nav links on mobile to keep it simple */
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
