/* Custom Premium Styles for Plopp Download Portal */
:root {
    --bg-black: #000000;
    --bg-dark-gray: #0a0a0a;
    --bg-card: #121212;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    /* Neon Colors matching the brand identity */
    --accent-violet: #8b5cf6;
    --accent-orange: #ff6b35;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #666666;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Gradients & Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.logo-img {
    height: 32px;
    width: 32px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #fff;
}

.btn-nav-download {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.btn-nav-download:hover {
    background: #fff;
    color: #000;
    transform: scale(1.03);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 2rem 5rem 2rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-glows {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.glow-violet {
    width: 600px;
    height: 600px;
    background: var(--accent-violet);
    top: -100px;
    right: -100px;
}

.glow-orange {
    width: 500px;
    height: 500px;
    background: var(--accent-orange);
    bottom: -100px;
    left: -100px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.badge-new {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 53, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 550px;
}

.hero-download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-violet));
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

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

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

.hero-platforms {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.platform-icons {
    display: flex;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Mockup styles */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-wrapper {
    position: relative;
    width: 320px;
    aspect-ratio: 9 / 18.5;
    border-radius: 36px;
    padding: 8px;
    background: #111;
    border: 4px solid #222;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 
                0 0 40px rgba(139, 92, 246, 0.15);
    z-index: 2;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.screenshot-backdrop {
    position: absolute;
    inset: 0;
    border-radius: 32px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.icon-violet {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
}

.icon-orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

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

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 2rem;
    background: var(--bg-dark-gray);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.how-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-graphic {
    position: relative;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-icon {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.orbital-node {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.node-1 {
    background: var(--accent-orange);
    top: -25px;
    left: calc(50% - 25px);
    animation: orbit1 8s infinite linear;
}

.node-2 {
    background: var(--accent-violet);
    bottom: 20px;
    right: -20px;
    color: #fff;
}

.node-3 {
    background: var(--accent-cyan);
    bottom: 20px;
    left: -20px;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-orange);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

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

/* Promoter CTA Section */
.promoter-cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.promoter-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 4rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.promoter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
}

.promoter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.promoter-content h2 {
    font-size: 2rem;
}

.promoter-content p {
    color: var(--text-secondary);
}

.promoter-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
    margin: 1rem 0;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.bullet-item i {
    color: var(--accent-green);
}

/* Download Section */
.download-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
}

.download-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.download-card.highlight {
    border-color: rgba(255, 107, 53, 0.3);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.02) 0%, rgba(0,0,0,0) 100%);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    filter: blur(80px);
    opacity: 0.08;
    top: -50px;
    left: -50px;
    pointer-events: none;
}

.device-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
}

.download-card.highlight .device-icon {
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
}

.download-card h3 {
    font-size: 1.6rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-height: 70px;
}

.btn-block {
    width: 100%;
}

.divider {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    margin: 0 1rem;
}

/* Store Badge Styles */
.store-badge-link {
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}

.store-badge {
    height: 54px;
    object-fit: contain;
}

.app-store-img {
    height: 40px;
    margin: 7px 0;
}

/* Tooltip style for unavailable platforms */
.disabled-badge {
    opacity: 0.4;
    cursor: not-allowed;
}

.disabled-badge:hover {
    opacity: 0.5;
}

.badge-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #222;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.store-badge-link:hover .badge-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* PWA instructions inside IOS Card */
.pwa-alternative {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pwa-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.pwa-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.pwa-desc i {
    font-size: 0.85rem;
    margin: 0 0.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-top: 0.3rem;
}

/* Installation Guide styling */
.apk-instructions {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

.apk-instructions h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-orange);
}

.apk-instructions ol {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.apk-instructions li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.apk-instructions li strong {
    color: #fff;
}

/* Footer styling */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: #050505;
    padding: 5rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a, .footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-legal a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsiveness / Media Queries */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-download-buttons {
        justify-content: center;
    }
    
    .hero-platforms {
        justify-content: center;
    }
    
    .how-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .how-visual {
        order: 2;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none; /* simple burger implementation or hidden on mobile for download simplicity */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-download-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-download-buttons .btn {
        width: 100%;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .promoter-container {
        padding: 2rem;
    }
    
    .download-card {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes orbit1 {
    0% { transform: rotate(0deg) translateX(10px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}
