/* ===========================
   AIonics — Premium AI Studio
   =========================== */

:root {
    /* Refined palette — deep, sophisticated */
    --bg: #0a0b14;
    --bg-2: #0f1120;
    --bg-3: #161829;
    --surface: #1a1d31;
    --surface-2: #232742;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --border-bright: rgba(99, 165, 255, 0.35);

    --text: #e8eaf6;
    --text-strong: #ffffff;
    --text-muted: #a0a8c4;
    --text-dim: #6b7390;

    /* Accent system */
    --accent: #6ea8ff;
    --accent-bright: #8db8ff;
    --accent-soft: rgba(110, 168, 255, 0.12);
    --violet: #b794f4;
    --cyan: #4dd6ff;

    /* Gradients */
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #c8d3f0 60%, #8db8ff 100%);
    --gradient-accent: linear-gradient(135deg, #6ea8ff 0%, #b794f4 100%);
    --gradient-mesh: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110, 168, 255, 0.15) 0%, transparent 60%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);

    /* Effects */
    --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 80px -10px rgba(110, 168, 255, 0.25);

    /* Legal pages still need a light surface */
    --legal-bg: #f7f8fc;
    --legal-text: #1a1d31;
    --legal-muted: #5a6280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
}

/* Background mesh pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(110, 168, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 100%, rgba(183, 148, 244, 0.06), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}
.container-wide {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}
.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =======================
   Navigation
   ======================= */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 11, 20, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo { display: flex; align-items: center; }
.logo img {
    height: 56px !important;
    width: auto;
    filter: brightness(1.05);
    transition: opacity 0.2s;
}
.logo:hover img { opacity: 0.9; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: -0.005em;
}

.nav-menu a:not(.nav-cta):hover {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    background: var(--text-strong) !important;
    color: var(--bg) !important;
    padding: 9px 18px !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    margin-left: 6px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
    background: var(--text-strong) !important;
    color: var(--bg) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-strong);
    padding: 8px;
}

/* =======================
   Hero
   ======================= */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(110, 168, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(183, 148, 244, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated grid backdrop */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(110, 168, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 168, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: rgba(110, 168, 255, 0.08);
    border: 1px solid rgba(110, 168, 255, 0.18);
    border-radius: 100px;
    color: var(--accent-bright);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: -0.005em;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: var(--text-strong);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.65;
    max-width: 560px;
    letter-spacing: -0.005em;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* Hero visual: refined floating cards */
.hero-visual {
    position: relative;
    height: 460px;
    perspective: 1000px;
}

.visual-card {
    position: absolute;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
}

.visual-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.visual-card i {
    font-size: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-card span {
    color: var(--text-strong);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card-1 { top: 0; left: 0; width: 200px; animation-delay: 0s; }
.card-2 { top: 30px; right: 0; width: 200px; animation-delay: 1.5s; }
.card-3 { bottom: 30px; left: 30px; width: 200px; animation-delay: 3s; }
.card-4 { bottom: 0; right: 30px; width: 200px; animation-delay: 4.5s; }

/* =======================
   Buttons
   ======================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.925rem;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--text-strong);
    color: var(--bg);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-strong);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-bright);
}

.btn-block { width: 100%; }

/* =======================
   Sections
   ======================= */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 4px 12px;
    background: var(--accent-soft);
    border-radius: 100px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.075rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =======================
   Services
   ======================= */
.services-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(110, 168, 255, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: var(--shadow-card);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
    background: linear-gradient(180deg, rgba(110, 168, 255, 0.08) 0%, rgba(110, 168, 255, 0.02) 100%);
    border-color: rgba(110, 168, 255, 0.25);
}
.service-card.featured::before { opacity: 0.6; }

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(110, 168, 255, 0.15);
    color: var(--accent-bright);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(110, 168, 255, 0.25);
    z-index: 2;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border: 1px solid rgba(110, 168, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--accent-bright);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.925rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-features i {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* =======================
   Solutions
   ======================= */
.solutions-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.solution-item {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.solution-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
}

.solution-image {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(110, 168, 255, 0.2);
}
.solution-item:nth-child(2) .solution-image {
    background: rgba(183, 148, 244, 0.1);
    border-color: rgba(183, 148, 244, 0.2);
}
.solution-item:nth-child(3) .solution-image {
    background: rgba(77, 214, 255, 0.1);
    border-color: rgba(77, 214, 255, 0.2);
}
.solution-item:nth-child(4) .solution-image {
    background: rgba(255, 180, 130, 0.1);
    border-color: rgba(255, 180, 130, 0.2);
}

.solution-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-overlay i {
    font-size: 1.2rem;
    color: var(--accent-bright);
}
.solution-item:nth-child(2) .solution-overlay i { color: var(--violet); }
.solution-item:nth-child(3) .solution-overlay i { color: var(--cyan); }
.solution-item:nth-child(4) .solution-overlay i { color: #ffb482; }

.solution-content {
    position: static;
    background: none;
    padding: 0;
    transform: none;
    backdrop-filter: none;
}

.solution-content h3 {
    color: var(--text-strong);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.solution-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =======================
   Expertise
   ======================= */
.expertise-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.expertise-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.expertise-content .section-label { margin-bottom: 16px; }

.expertise-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.expertise-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.65;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tech-item {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    padding: 16px 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: all 0.25s;
}

.tech-item:hover {
    border-color: var(--border-bright);
    background: rgba(110, 168, 255, 0.05);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 1.1rem;
    color: var(--accent-bright);
    width: 20px;
    text-align: center;
}

.tech-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.expertise-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-stat {
    background: var(--gradient-card);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s;
}

.exp-stat:hover {
    border-color: var(--border-bright);
    transform: translateX(4px);
}

.exp-stat i {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.exp-stat h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.exp-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* =======================
   About
   ======================= */
.about-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-image-card {
    background: linear-gradient(135deg, rgba(110, 168, 255, 0.15) 0%, rgba(183, 148, 244, 0.15) 100%);
    border: 1px solid var(--border-strong);
    padding: 64px 40px;
    border-radius: 24px;
    text-align: center;
    color: var(--text-strong);
    position: relative;
    overflow: hidden;
}

.about-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110, 168, 255, 0.25), transparent 60%);
    pointer-events: none;
}

.about-image-card i {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.about-image-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-strong);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.75;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 36px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition: border-color 0.2s;
}

.highlight:hover { border-color: var(--border-bright); }

.highlight i {
    color: var(--accent-bright);
    font-size: 1rem;
}

/* =======================
   Contact
   ======================= */
.contact-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info-side h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-strong);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.contact-info-side p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.65;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.detail-item:hover { border-color: var(--border-bright); }

.detail-item i {
    font-size: 1.1rem;
    color: var(--accent-bright);
    margin-top: 4px;
    width: 24px;
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.detail-item a, .detail-item span {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

.detail-item a:hover { color: var(--accent-bright); }

.contact-form-side {
    background: var(--gradient-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.925rem;
    color: var(--text-strong);
    transition: all 0.2s;
    letter-spacing: -0.005em;
}

input::placeholder, textarea::placeholder {
    color: var(--text-dim);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(110, 168, 255, 0.04);
    box-shadow: 0 0 0 4px rgba(110, 168, 255, 0.1);
}

textarea {
    resize: vertical;
    margin-bottom: 14px;
    min-height: 120px;
    font-family: inherit;
}

select {
    margin-bottom: 14px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23a0a8c4'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
}

select option {
    background: var(--surface);
    color: var(--text);
}

/* =======================
   Footer
   ======================= */
footer {
    background: var(--bg-2);
    color: var(--text);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 80px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo img { height: 48px !important; }

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-strong);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: color 0.2s;
    letter-spacing: -0.005em;
}

.footer-col a:hover { color: var(--text-strong); }

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.825rem;
    letter-spacing: -0.005em;
}

/* =======================
   Legal Pages — simple nav + footer (used by privacy-policy.html, terms.html, legal-notice.html)
   ======================= */
body > nav:not(#navbar) {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body > nav:not(#navbar) .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
body > nav:not(#navbar) .nav-links {
    display: flex;
    gap: 16px;
}
body > nav:not(#navbar) .nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
body > nav:not(#navbar) .nav-links a:hover {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
    padding: 24px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}
.footer-content .copyright {
    color: var(--text-dim);
    font-size: 0.825rem;
    margin: 0;
}

/* =======================
   Legal Pages — light, readable
   ======================= */
.legal-content {
    max-width: 880px;
    margin: 140px auto 80px;
    padding: 56px;
    background: var(--legal-bg);
    color: var(--legal-text);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 32px;
    color: var(--legal-text);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--legal-text);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.legal-content p, .legal-content ul {
    color: var(--legal-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}
.legal-content ul { padding-left: 24px; }
.legal-content a { color: #2563eb; }

/* =======================
   Responsive
   ======================= */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-wrapper, .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 820px) {
    .container, .container-wide, .nav-container { padding: 0 24px; }
    .nav-menu { gap: 4px; }
    .nav-menu a { font-size: 0.8rem; padding: 6px 10px; }
    .logo img { height: 44px !important; }
    .hero { padding: 130px 0 80px; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .contact-form-side { padding: 28px; }
    .legal-content { margin: 100px 20px 40px; padding: 32px 24px; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero-stats { gap: 28px; flex-wrap: wrap; }
    .stat-num { font-size: 1.6rem; }
    .services-grid, .solutions-grid { grid-template-columns: 1fr; }
    .tech-stack { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .about-highlights { grid-template-columns: 1fr; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1; min-width: 140px; }
}

/* Mobile menu open state */
.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
}
.nav-menu.active a { padding: 12px 16px; width: 100%; }

/* =======================
   Announcement Bar (top of page, scrolls away)
   ======================= */
#announce-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 24px;
    background: linear-gradient(90deg, rgba(110, 168, 255, 0.18) 0%, rgba(183, 148, 244, 0.18) 100%);
    border-bottom: 1px solid rgba(110, 168, 255, 0.25);
    color: var(--text-strong);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.005em;
    transition: background 0.2s;
    position: relative;
    z-index: 1001;
}
#announce-bar:hover {
    background: linear-gradient(90deg, rgba(110, 168, 255, 0.28) 0%, rgba(183, 148, 244, 0.28) 100%);
}
#announce-bar .ann-badge {
    display: inline-block;
    padding: 3px 9px;
    background: var(--text-strong);
    color: var(--bg);
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
#announce-bar .ann-text {
    color: var(--text);
}
#announce-bar i {
    font-size: 0.8rem;
    color: var(--accent-bright);
    transition: transform 0.2s;
}
#announce-bar:hover i { transform: translateX(3px); }
@media (max-width: 640px) {
    #announce-bar { padding: 8px 16px; font-size: 0.78rem; gap: 8px; }
    #announce-bar .ann-text { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Card link inside service card */
.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--accent-bright);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    position: relative;
    z-index: 1;
}
.service-card .card-link:hover { gap: 10px; color: var(--text-strong); }
.service-card .card-link i { font-size: 0.75rem; }

/* =======================
   AI Trainings Promo Section (homepage)
   ======================= */
.trainings-promo {
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.trainings-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 0% 50%, rgba(110, 168, 255, 0.08), transparent 60%),
                radial-gradient(ellipse 40% 50% at 100% 50%, rgba(183, 148, 244, 0.08), transparent 60%);
    pointer-events: none;
}
.promo-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.promo-content h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 14px 0 18px;
}
.promo-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}
.promo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.promo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 14px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
    min-height: 100px;
}
.promo-tile:hover {
    border-color: var(--border-bright);
    background: rgba(110, 168, 255, 0.06);
    transform: translateY(-2px);
}
.promo-tile i {
    font-size: 1.3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.promo-tile span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.005em;
    line-height: 1.3;
}
@media (max-width: 1100px) {
    .promo-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .trainings-promo { padding: 70px 0; }
}
