/* ==========================================================================
   365WebIT - Enterprise Design System (v12)
   Obsidian, Gold, Neon Blue & High-Performance Typography
   ========================================================================== */

:root {
    --bg-main: #030712;
    --bg-card: rgba(11, 17, 32, 0.92);
    --bg-dark-alt: #080d1a;
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #AA771C 100%);
    --neon-blue: #00E5FF;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-card: rgba(212, 175, 55, 0.25);
    --border-accent: rgba(0, 229, 255, 0.3);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-primary); background-color: var(--bg-main); color: var(--text-main); }
body { overflow-x: hidden; line-height: 1.6; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-gold { color: var(--gold-light); }

/* Background Glow */
.bg-glow-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1000px; height: 500px; background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(212, 175, 55, 0.05) 40%, transparent 70%); pointer-events: none; z-index: 0; }

/* Main Header */
.main-header { position: sticky; top: 0; z-index: 1000; background: rgba(3, 7, 18, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 0; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.main-logo { height: auto; width: 180px; display: block; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.25s ease; }
.main-nav a:hover { color: var(--neon-blue); }
.btn-nav-accent { background: rgba(212, 175, 55, 0.12); border: 1px solid var(--gold-primary); color: var(--gold-light) !important; padding: 10px 20px; border-radius: 8px; }
.btn-nav-accent:hover { background: var(--gold-gradient) !important; color: #030712 !important; }

/* Language Selector Dropdown */
.lang-selector-wrapper { position: relative; }
.lang-btn { background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border-accent); color: var(--text-main); padding: 8px 14px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: #0b1120; border: 1px solid var(--gold-primary); border-radius: 10px; width: 160px; display: none; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1100; overflow: hidden; }
.lang-dropdown.show { display: flex; }
.lang-opt { padding: 12px 16px; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: background 0.2s; }
.lang-opt:hover, .lang-opt.active { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }

/* Hero Section */
.hero-section { padding: 80px 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.badge-hero { display: inline-block; background: rgba(0, 229, 255, 0.08); border: 1px solid var(--neon-blue); color: var(--neon-blue); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 50px; margin-bottom: 20px; }
.hero-title { font-size: 48px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary { background: var(--gold-gradient); color: #030712; font-weight: 800; padding: 16px 32px; border-radius: 10px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35); }
.btn-secondary { background: rgba(11, 17, 32, 0.8); border: 1px solid var(--border-accent); color: var(--neon-blue); font-weight: 700; padding: 16px 32px; border-radius: 10px; text-decoration: none; transition: all 0.2s; }
.btn-secondary:hover { background: rgba(0, 229, 255, 0.1); }

.hero-graphic img { width: 100%; height: auto; max-width: 500px; display: block; margin: 0 auto; }

/* Stats Bar */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; padding: 24px; text-align: center; }
.stat-number { font-size: 36px; font-weight: 900; color: var(--gold-light); margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Section Styling */
.section-padding { padding: 90px 0; }
.bg-dark-alt { background-color: var(--bg-dark-alt); }
.tag-section { font-size: 12px; font-weight: 800; color: var(--neon-blue); letter-spacing: 0.1em; display: inline-block; margin-bottom: 12px; }
.tag-gold { color: var(--gold-primary); }
.section-title { font-size: 38px; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.01em; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 720px; margin: 0 auto 48px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 36px; transition: all 0.3s ease; }
.service-card:hover { border-color: var(--neon-blue); transform: translateY(-4px); }
.card-icon { font-size: 40px; margin-bottom: 20px; }
.service-card h3 { font-size: 22px; font-weight: 800; color: var(--gold-light); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.card-list { list-style: none; }
.card-list li { font-size: 14px; color: #CBD5E1; margin-bottom: 8px; position: relative; padding-left: 20px; }
.card-list li::before { content: "•"; color: var(--neon-blue); position: absolute; left: 0; font-size: 18px; top: -2px; }

.rounded-card { border-radius: 16px; border: 1px solid var(--border-card); }

/* Aducis Wrapper */
.aducis-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.aducis-pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.aducis-pillar { background: rgba(212, 175, 55, 0.08); border: 1px solid rgba(212, 175, 55, 0.2); padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--gold-light); display: flex; align-items: center; gap: 10px; }
.check-icon { color: var(--neon-blue); font-weight: 900; }

.btn-gold { background: var(--gold-gradient); color: #030712; font-weight: 800; padding: 14px 28px; border-radius: 8px; text-decoration: none; display: inline-block; }
.btn-outline-gold { border: 1px solid var(--gold-primary); color: var(--gold-light); font-weight: 700; padding: 14px 28px; border-radius: 8px; text-decoration: none; display: inline-block; margin-left: 12px; }

/* Why Choose Us Grid */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; padding: 28px; }
.why-num { font-size: 28px; font-weight: 900; color: var(--neon-blue); margin-bottom: 12px; }
.why-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--gold-light); }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* Form Styling */
.form-container-wrapper { max-width: 820px; }
.multilang-banner { background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border-accent); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flags-row { display: flex; gap: 10px; }
.multilang-text { font-size: 13px; font-weight: 700; color: var(--neon-blue); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 18px; padding: 40px; margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--gold-light); }
.form-input { background: #030712; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; padding: 12px 16px; color: #FFF; font-family: var(--font-primary); font-size: 14px; transition: border-color 0.2s; }
.form-input:focus { outline: none; border-color: var(--neon-blue); }
select.form-input option { background: #0b1120; color: #FFF; }

.math-captcha-box { background: rgba(0, 229, 255, 0.05); border: 1px solid var(--border-accent); border-radius: 10px; padding: 16px; }
.math-input { max-width: 200px; margin-top: 6px; }

.btn-submit { background: var(--gold-gradient); color: #030712; font-weight: 900; font-size: 16px; padding: 16px 36px; border: none; border-radius: 10px; cursor: pointer; width: 100%; transition: transform 0.2s; }
.btn-submit:hover { transform: translateY(-2px); }

/* Footer */
.main-footer { background: #02040a; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 60px 0 30px; color: var(--text-muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--text-main); font-weight: 800; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; padding-top: 24px; font-size: 13px; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid, .aducis-wrapper, .services-grid { grid-template-columns: 1fr; }
    .stats-bar, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
}
@media (max-width: 576px) {
    .stats-bar, .why-grid, .form-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 34px; }
}
