:root {
  --bg: #080c11;
  --surface: #111822;
  --ink: #eaecf0;
  --accent: #7c6cf0;
  --accent-hover: #6a5bd6;
  --secondary: #9aa0a6;
  --guide: rgba(124, 108, 240, 0.3);
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
  --header-height: 72px;
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background-color: var(--bg); color: var(--ink); font-family: var(--font-main); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

#scroll-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; background: var(--accent); z-index: 1001; transition: width 0.1s linear; }
.site-header { position: sticky; top: 0; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; background: rgba(8, 12, 17, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(124, 108, 240, 0.2); z-index: 1000; transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }
.brand-logo { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: 0.05em; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { color: var(--secondary); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
#menu-toggle { display: none; background: none; border: none; color: var(--ink); flex-direction: column; gap: 5px; }
#menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: var(--transition); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-subtitle { max-width: 720px; margin: 1rem auto 2rem; color: var(--secondary); text-align: center; font-size: 1.1rem; }
.breadcrumb { padding: 1rem 5%; color: var(--secondary); font-size: 0.9rem; }
.breadcrumb a { color: var(--accent); }

.hero-section { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding: 4rem 5%; position: relative; overflow: hidden; }
.hero-visual { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0 0 20px rgba(124, 108, 240, 0.4)); }
.hero-content { position: relative; z-index: 2; }
#hero-heading { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--ink) 30%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; color: var(--secondary); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.875rem 2rem; border-radius: var(--radius); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition); border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 15px rgba(124, 108, 240, 0.5); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: rgba(124, 108, 240, 0.1); }

.stats-section { padding: 4rem 0; background: var(--surface); border-top: 1px solid rgba(124, 108, 240, 0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-item p { color: var(--secondary); margin-top: 0.5rem; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 6rem 0; }
.split-layout.reversed .text-block { order: 2; }
.split-layout.reversed .visual-block { order: 1; }
.text-block h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.text-block p { margin-bottom: 1.5rem; color: var(--secondary); }
.content-visual { position: relative; padding-bottom: 75%; border: 1px solid var(--guide); background: var(--surface); }
.content-visual svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.clip-depth { clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); }
.guide-line { opacity: 0.5; }
.pulse-dot { animation: pulse 3s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 0.9; } }

.process-section, .features-section, .benefits-section, .testimonials-section, .faq-section, .contact-section { padding: 5rem 0; }
h2 { font-size: 2rem; margin-bottom: 2.5rem; text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.step-card, .feature-card, .benefit-card { background: var(--surface); padding: 2rem; border: 1px solid rgba(124, 108, 240, 0.2); border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition); }
.step-card:hover, .feature-card:hover, .benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-icon, .feature-icon, .benefit-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--accent); }
.step-card h3, .feature-card h3, .benefit-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.step-card p, .feature-card p, .benefit-card p { color: var(--secondary); font-size: 0.95rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--surface); padding: 2rem; border-left: 4px solid var(--accent); }
.testimonial-card blockquote { font-style: italic; margin-bottom: 1.5rem; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.testimonial-author strong { display: block; color: var(--ink); }
.testimonial-author .role { font-size: 0.85rem; color: var(--secondary); }
.stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(124, 108, 240, 0.2); margin-bottom: 1rem; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; font-size: 1.1rem; color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform var(--transition); }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--secondary); }
.faq-answer p { padding-bottom: 1.5rem; }
.faq-answer.open { max-height: 500px; }

.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-weight: 500; color: var(--ink); }
.form-field input, .form-field textarea { background: rgba(17, 24, 34, 0.5); border: 1px solid rgba(124, 108, 240, 0.3); padding: 0.875rem; border-radius: var(--radius); color: var(--ink); font-family: inherit; transition: border-color var(--transition); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(124, 108, 240, 0.2); }
.field-error { color: #ef4444; font-size: 0.85rem; min-height: 1.2em; }

.cta-banner { background: var(--surface); padding: 5rem 0; text-align: center; border-top: 1px solid rgba(124, 108, 240, 0.1); }
.cta-banner h2 { margin-bottom: 2rem; }

.site-footer { background: var(--surface); padding: 4rem 0 2rem; border-top: 1px solid rgba(124, 108, 240, 0.2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--ink); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col p, .footer-col address { color: var(--secondary); font-size: 0.9rem; line-height: 1.8; }
.footer-col address { font-style: normal; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-bottom { text-align: center; color: var(--secondary); font-size: 0.85rem; border-top: 1px solid rgba(124, 108, 240, 0.1); padding-top: 2rem; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--guide); z-index: 1002; gap: 1rem; flex-wrap: wrap; }
.cookie-banner p { flex: 1; color: var(--secondary); font-size: 0.9rem; }
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-actions button { padding: 0.5rem 1.25rem; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; }
.cookie-actions button[data-cookie-choice="accept"] { background: var(--accent); color: #fff; border: none; }
.cookie-actions button[data-cookie-choice="decline"] { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); }

.legal-page .site-header { padding: 1rem 5%; }
.legal-intro { padding: 3rem 5%; background: var(--surface); border-bottom: 1px solid rgba(124, 108, 240, 0.1); }
.legal-content { padding: 4rem 0; }
.legal-content h2 { text-align: left; font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-content p { color: var(--secondary); margin-bottom: 1.5rem; line-height: 1.7; }
.effective-date { font-weight: 600; color: var(--accent); margin-bottom: 1rem; display: block; }

.cookie-table-responsive { overflow-x: auto; margin: 1.5rem 0; }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.cookie-table th, .cookie-table td { padding: 1rem; text-align: left; border-bottom: 1px solid rgba(124, 108, 240, 0.1); color: var(--secondary); }
.cookie-table th { color: var(--ink); font-weight: 600; background: rgba(124, 108, 240, 0.05); }

.thank-you-section { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; justify-content: center; padding: 3rem 5%; }
.thank-you-card { background: var(--surface); padding: 3rem; border-radius: var(--radius); text-align: center; max-width: 600px; margin: 0 auto; border: 1px solid rgba(124, 108, 240, 0.2); box-shadow: var(--shadow); }
.success-icon { width: 80px; height: 80px; margin: 0 auto 2rem; color: var(--accent); }
.thank-you-text { margin-bottom: 2rem; color: var(--secondary); }

.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible, .fade-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  #menu-toggle { display: flex; }
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--surface); padding: 2rem; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: var(--transition); border-bottom: 1px solid rgba(124, 108, 240, 0.2); }
  .main-nav.is-active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hero-section { grid-template-columns: 1fr; text-align: center; padding: 3rem 5%; }
  .hero-visual { max-width: 300px; margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split-layout.reversed .text-block, .split-layout.reversed .visual-block { order: unset; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fade-up { opacity: 1; transform: none; }
}