/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; background: #0b0b1a; color: #e0e0e0; min-height: 100vh; transition: background 0.3s, color 0.3s; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; }
h2 { font-size: 2rem; margin-bottom: 1rem; position: relative; display: inline-block; }
h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, #ffd700, #ff8c00); border-radius: 2px; margin-top: 0.5rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #ffd700; }
p { margin-bottom: 1rem; color: #c0c0d0; }
section { padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto; opacity: 0; transform: translateY(30px); animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }

/* ===== Header & Nav ===== */
header { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 26, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 215, 0, 0.15); padding: 0 1.5rem; transition: background 0.3s; }
nav { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; height: 64px; }
.nav-brand a { display: flex; align-items: center; gap: 0.5rem; font-size: 1.4rem; font-weight: 700; color: #ffd700; }
.nav-brand svg { width: 36px; height: 36px; }
nav ul { display: flex; gap: 1.8rem; }
nav ul li a { font-weight: 500; padding: 0.4rem 0.2rem; position: relative; transition: color 0.2s; color: #c0c0d0; }
nav ul li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #ffd700; transition: width 0.3s; }
nav ul li a:hover { color: #ffd700; }
nav ul li a:hover::after { width: 100%; }
#darkModeToggle, #mobileMenuBtn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #ffd700; padding: 0.4rem; border-radius: 8px; transition: background 0.2s; }
#darkModeToggle:hover, #mobileMenuBtn:hover { background: rgba(255, 215, 0, 0.1); }
#mobileMenuBtn { display: none; }

/* ===== Hero ===== */
#hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 5rem; padding-bottom: 5rem; background: linear-gradient(135deg, #0b0b1a 0%, #1a1a3e 50%, #2a1a3e 100%); border-radius: 0 0 40px 40px; margin-bottom: 2rem; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; top: -50%; left: -20%; width: 70%; height: 200%; background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { flex: 1 1 400px; z-index: 1; }
.hero-content h1 { font-size: 2.8rem; background: linear-gradient(135deg, #ffd700, #ff8c00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
.hero-content p { font-size: 1.15rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary { padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; transition: all 0.3s; display: inline-block; text-align: center; }
.btn-primary { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #0b0b1a; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5); }
.btn-secondary { border: 2px solid #ffd700; color: #ffd700; background: transparent; }
.btn-secondary:hover { background: rgba(255, 215, 0, 0.1); transform: translateY(-3px); }
.hero-visual { flex: 1 1 300px; display: flex; justify-content: center; z-index: 1; }
.hero-visual svg { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2)); }

/* ===== About ===== */
#about { background: rgba(255, 255, 255, 0.02); border-radius: 24px; padding: 3rem 2rem; backdrop-filter: blur(4px); border: 1px solid rgba(255, 215, 0, 0.05); }

/* ===== Card Grid ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.card { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 215, 0, 0.1); border-radius: 20px; padding: 1.8rem 1.5rem; transition: all 0.3s; cursor: default; }
.card:hover { transform: translateY(-6px); border-color: #ffd700; box-shadow: 0 12px 30px rgba(255, 215, 0, 0.1); background: rgba(255, 215, 0, 0.05); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }
.card a { color: #ffd700; font-weight: 500; transition: opacity 0.2s; }
.card a:hover { opacity: 0.8; }

/* ===== Services ===== */
#services ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
#services li { background: rgba(255, 255, 255, 0.03); border-left: 4px solid #ffd700; padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; transition: background 0.2s; }
#services li:hover { background: rgba(255, 215, 0, 0.05); }
#services li strong { color: #ffd700; }

/* ===== Knowledge / FAQ / HowTo ===== */
#knowledge { background: rgba(255, 255, 255, 0.01); border-radius: 24px; padding: 3rem 1.5rem; }
#knowledge .card-grid { margin-bottom: 3rem; }
details { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 215, 0, 0.08); border-radius: 12px; padding: 0.8rem 1.2rem; margin-bottom: 0.7rem; transition: border 0.2s; cursor: pointer; }
details[open] { border-color: #ffd700; background: rgba(255, 215, 0, 0.03); }
summary { font-weight: 600; color: #ffd700; outline: none; }
details p { margin-top: 0.6rem; padding-left: 0.5rem; }
#howto-heading { margin-top: 2.5rem; }
[itemprop="step"] { margin-bottom: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 215, 0, 0.05); }
[itemprop="step"] span { color: #ffd700; font-weight: 600; }

/* ===== Contact ===== */
#contact address p { margin-bottom: 0.4rem; }
#contact a { color: #ffd700; font-weight: 500; }

/* ===== Footer ===== */
footer { background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); border-top: 1px solid rgba(255, 215, 0, 0.08); padding: 2rem 1.5rem; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
footer p { margin: 0; font-size: 0.9rem; color: #888; }
footer nav a { color: #aaa; margin: 0 0.3rem; transition: color 0.2s; }
footer nav a:hover { color: #ffd700; }

/* ===== Back to Top ===== */
#backToTop { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #ffd700, #ff8c00); color: #0b0b1a; border: none; font-size: 1.4rem; font-weight: bold; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); transition: all 0.3s; z-index: 99; display: flex; align-items: center; justify-content: center; }
#backToTop:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5); }

/* ===== Dark Mode Toggle (always dark) ===== */
body { background: #0b0b1a; color: #e0e0e0; }
header { background: rgba(11, 11, 26, 0.85); }
.card { background: rgba(255, 255, 255, 0.04); }
#hero { background: linear-gradient(135deg, #0b0b1a 0%, #1a1a3e 50%, #2a1a3e 100%); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    nav ul { display: none; }
    #mobileMenuBtn { display: block; }
    nav ul.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(11, 11, 26, 0.95); backdrop-filter: blur(12px); padding: 1rem 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(255, 215, 0, 0.1); }
    .hero-content h1 { font-size: 2rem; }
    #hero { flex-direction: column; text-align: center; padding-top: 3rem; padding-bottom: 3rem; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 1rem; }
    h2 { font-size: 1.6rem; }
    section { padding: 2.5rem 1rem; }
    .card-grid { grid-template-columns: 1fr; }
    #services ul { grid-template-columns: 1fr; }
    #backToTop { bottom: 1.2rem; right: 1.2rem; width: 42px; height: 42px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.6rem; }
    .btn-primary, .btn-secondary { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
    .nav-brand span { font-size: 1.1rem; }
    #darkModeToggle { font-size: 1.2rem; }
}