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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #7c3aed;
    --dark-bg: #0a0e27;
    --dark-card: #1a1f3a;
    --dark-card-hover: #222845;
    --text-light: #e0e0e0;
    --text-muted: #a0a0b0;
    --border-subtle: rgba(0, 212, 255, 0.12);
    --glow-primary: rgba(0, 212, 255, 0.25);
    --glow-secondary: rgba(255, 0, 110, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Navigation ── */
.navbar {
    background: linear-gradient(135deg, rgba(10,14,39,0.97) 0%, rgba(26,31,58,0.97) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.lang-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px var(--glow-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(0,212,255,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(124,58,237,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255,0,110,0.08) 0%, transparent 45%);
    z-index: 0;
}

/* Animated grid overlay */
.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 860px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.3);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px var(--glow-primary);
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(255,255,255,0.25);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ── Stats ── */
.stats-section {
    background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, rgba(124,58,237,0.05) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 2rem;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ── Sections ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Features ── */
.features {
    background: linear-gradient(180deg, rgba(26,31,58,0.4) 0%, rgba(10,14,39,0.4) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 16px 48px rgba(0,212,255,0.1);
    transform: translateY(-6px);
    background: var(--dark-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Industry Cards ── */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.industry-card {
    background: var(--dark-card);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.industry-card:hover {
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,212,255,0.08);
}

.industry-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.industry-card h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(124,58,237,0.06) 50%, rgba(255,0,110,0.06) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 10px 30px var(--glow-primary);
    transform: translateY(-2px);
}

/* ── About Page ── */
.about-hero {
    background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(124,58,237,0.08) 50%, rgba(255,0,110,0.08) 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.team-section {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.team-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.team-description {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── Services Page ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--dark-card);
    padding: 2.2rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 16px 48px rgba(0,212,255,0.12);
    transform: translateY(-8px);
    background: var(--dark-card-hover);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .feature-icon {
    text-align: left;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ── Contact Page ── */
.contact-container {
    max-width: 960px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1.8rem;
    padding: 1.2rem;
    background: var(--dark-card);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.3s;
}

.contact-item:hover {
    border-color: rgba(0,212,255,0.3);
}

.contact-label {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-light);
    word-break: break-word;
}

.contact-form {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0,212,255,0.04);
    border: 1px solid rgba(0,212,255,0.18);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
    background: rgba(0,212,255,0.07);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-primary);
}

/* ── Legal Pages ── */
.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h3 {
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.85;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-light);
}

/* ── Footer ── */
footer {
    background: rgba(8,11,30,0.95);
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.8rem 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Scroll Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grid children */
.features-grid .fade-in:nth-child(2),
.service-grid .fade-in:nth-child(2),
.industry-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3),
.service-grid .fade-in:nth-child(3),
.industry-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4),
.service-grid .fade-in:nth-child(4),
.industry-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.features-grid .fade-in:nth-child(5),
.service-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.features-grid .fade-in:nth-child(6),
.service-grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,14,39,0.98);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid var(--border-subtle);
        backdrop-filter: blur(12px);
    }

    .nav-links.open {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
