:root {
    /* High Contrast / Cyberpunk Theme Palette */
    --bg-color: #050505;
    --surface-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    
    /* Neon Accents */
    --neon-blue: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff9d;
    --neon-purple: #bc13fe;
    
    --primary-color: var(--neon-blue);
    --secondary-color: var(--neon-purple);
    
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Logo Styles Showcase --- */
.logo-showcase {
    background: #1a1a1a;
    padding: 2rem 0;
    border-bottom: 1px solid #333;
    text-align: center;
}

.logo-showcase h2 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'Courier New', Courier, monospace;
}

/* Logo Style 1: Cyber Gradient */
.logo-gradient {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

/* Logo Style 2: Neon Glow */
.logo-neon {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue),
        0 0 60px var(--neon-blue);
    font-family: 'Courier New', Courier, monospace; 
}

/* Logo Style 3: Glitch Effect (Simplified Static) */
.logo-glitch {
    font-size: 2.5rem;
    font-weight: 900;
    position: relative;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-glitch::before,
.logo-glitch::after {
    content: 'Wapap.com';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.logo-glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-pink);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.logo-glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--neon-blue);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(20px, 9999px, 60px, 0); }
    60% { clip: rect(50px, 9999px, 90px, 0); }
    80% { clip: rect(5px, 9999px, 40px, 0); }
    100% { clip: rect(70px, 9999px, 120px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 90px, 0); }
    20% { clip: rect(10px, 9999px, 50px, 0); }
    40% { clip: rect(90px, 9999px, 110px, 0); }
    60% { clip: rect(30px, 9999px, 60px, 0); }
    80% { clip: rect(70px, 9999px, 100px, 0); }
    100% { clip: rect(20px, 9999px, 40px, 0); }
}

/* Logo Style 4: Outline Pop */
.logo-outline {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg-color);
    -webkit-text-stroke: 2px var(--neon-green);
    position: relative;
}
.logo-outline::after {
    content: 'Wapap.com';
    position: absolute;
    top: 4px;
    left: 4px;
    color: var(--neon-green);
    z-index: -1;
    -webkit-text-stroke: 0;
}


/* Header */
header {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    /* Default to Gradient for the main header for now */
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, var(--bg-color) 100%);
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grid background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom right, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0; /* Sharper corners for tech feel */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--neon-blue);
    color: #000;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--neon-blue);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    margin-top: 1.5rem;
}

.secondary-btn:hover {
    background-color: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}

/* Capabilities Section */
.capabilities {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--neon-purple);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    background-color: var(--surface-color);
    border: 1px solid #333;
    transition: all 0.3s;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px -10px rgba(0, 243, 255, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
}

/* Products Section */
.products {
    padding: 8rem 0;
    background-color: #080808;
    border-top: 1px solid #222;
}

/* Products Section Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.product-card {
    background-color: var(--surface-color);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.15);
}

.product-visual {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #333;
    overflow: hidden;
    position: relative;
    background: #000;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-visual img {
    transform: scale(1.05);
}

/* Background Variations for Apps */
.aura-bg { background: radial-gradient(circle, #1a1a44 0%, #000 100%); }
.lucky-bg { background: radial-gradient(circle, #2a0044 0%, #000 100%); }
.homework-bg { background: radial-gradient(circle, #002e1a 0%, #000 100%); }
.translate-bg { background: radial-gradient(circle, #1a2a3a 0%, #000 100%); }
.privacy-bg { background: radial-gradient(circle, #2e0000 0%, #000 100%); }

.product-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}

.product-links {
    display: flex;
    gap: 1rem;
}

.product-links .btn {
    margin-top: 0;
    flex: 1;
    font-size: 0.8rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: #000;
    border-top: 1px solid #222;
    color: var(--text-secondary);
    padding: 4rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-visual {
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid #333;
    }
    
    .nav-links {
        display: none; 
    }
    
    .logo-options {
        flex-direction: column;
        gap: 2rem;
    }
}
