:root {
    --bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary: #3b82f6;
    --accent: #a855f7;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.glow-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05), transparent 50%), radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.05), transparent 50%); z-index: -1; }

/* Navigation */
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; position: fixed; top: 0; width: 100%; background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); z-index: 1000; }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.lang-switcher { display: flex; gap: 0.2rem; background: rgba(255,255,255,0.05); padding: 0.2rem; border-radius: 8px; border: 1px solid var(--border); }
.lang-switcher button { background: transparent; border: none; color: var(--text-muted); padding: 0.3rem 0.6rem; cursor: pointer; font-weight: 700; font-size: 0.7rem; border-radius: 5px; }
.lang-switcher button.active { background: var(--primary); color: white; }
.logo { font-size: 1.6rem; font-weight: 800; }
.logo span { color: var(--primary); }
.nav-links a { color: var(--text); text-decoration: none; font-size: 0.9rem; margin-left: 1.5rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 0.5rem 1.2rem !important; border-radius: 50px; }

/* Hero */
header { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { max-width: 800px; }
.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 50px; font-size: 0.8rem; color: var(--primary); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
header p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; }
.btn-main { background: var(--text); color: var(--bg); padding: 1rem 2rem; border-radius: 10px; text-decoration: none; font-weight: 700; margin-right: 1rem; display: inline-block; }
.btn-outline { border: 1px solid var(--border); padding: 1rem 2rem; border-radius: 10px; text-decoration: none; display: inline-block; }

/* Expertise */
.expertise, .apps-section, .elixir-section { padding: 80px 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { background: var(--card-bg); border: 1px solid var(--border); padding: 2.5rem; border-radius: 20px; }
.icon-box { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--primary); }

/* Apps Section */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.check-list { list-style: none; margin-top: 1.5rem; }
.check-list li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.check-list li::before { content: '✓'; color: var(--primary); font-weight: 800; }

/* Elixir Section */
.elixir-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; background: rgba(168, 85, 247, 0.03); padding: 4rem; border-radius: 30px; border: 1px solid var(--border); }
.code-window { background: #000; padding: 2rem; border-radius: 15px; border: 1px solid var(--border); font-family: monospace; }
.keyword { color: var(--accent); }
.title { color: var(--primary); }

/* Contact Form */
.cta-card { max-width: 800px; margin: 0 auto; background: var(--card-bg); padding: 4rem; border-radius: 30px; border: 1px solid var(--border); text-align: center; }
.contact-form { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.2rem; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
input, textarea { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 1rem; border-radius: 10px; color: white; font-family: inherit; width: 100%; }
.btn-large { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; padding: 1.2rem; border-radius: 10px; color: white; font-weight: 800; cursor: pointer; }
.cf-turnstile { margin: 0.5rem 0; display: flex; justify-content: center; }

/* Footer */
footer { padding: 4rem 0; border-top: 1px solid var(--border); text-align: center; }
.footer-links { margin-top: 1rem; display: flex; justify-content: center; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #111; border: 1px solid var(--border); padding: 1rem 1.5rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; z-index: 10000; }
.btn-sm { background: var(--primary); border: none; color: white; padding: 0.4rem 1rem; border-radius: 5px; cursor: pointer; }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; background: transparent; border: none; flex-direction: column; gap: 5px; z-index: 2000; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text); transition: 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* iPad & Desktop Small (1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3.2rem; }
    .split-grid { gap: 2rem; }
    .elixir-grid { padding: 2.5rem; gap: 2rem; }
}

/* Tablet & Mobile (800px) */
@media (max-width: 800px) {
    nav { padding: 1rem 2rem; }
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
        z-index: 1500;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { margin: 0; font-size: 1.2rem; }
    
    .nav-right { gap: 1rem; }
    
    h1 { font-size: 2.5rem; }
    header p { font-size: 1.1rem; }
    
    .split-grid, .elixir-grid { grid-template-columns: 1fr; text-align: center; }
    .split-grid .visual, .elixir-visual { order: -1; }
    .check-list li, .elixir-features li { justify-content: center; }
    .elixir-features li { text-align: left; }
    
    .grid { grid-template-columns: 1fr; }
    .card { padding: 2rem; }
    
    .cta-card { padding: 2rem 1rem; border-radius: 20px; }
    .input-group { grid-template-columns: 1fr; }
    
    .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; flex-direction: column; text-align: center; }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    header { height: auto; padding: 120px 0 60px; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
    .btn-main, .btn-outline { width: 100%; margin-right: 0; }
    .section-title { font-size: 1.8rem; }
}
