/* CSS Design System */
:root {
    --bg-dark: #050a14;
    --bg-navy: #0a192f;
    --bg-navy-light: #112240;
    --text-main: #ccd6f6;
    --text-dim: #8892b0;
    --accent: #ffaa00;
    --accent-glow: rgba(255, 170, 0, 0.4);
    --gold: #ffc233;
    --white: #ffffff;
    --glass: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-max: 1200px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.text-center { text-align: center; }
.accent { color: var(--accent); }
.accent-glow {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.logo-img {
    height: 94px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) brightness(1.1);
}

.logo-subtitle {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-family: var(--font-heading);
    opacity: 0.9;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Language Selector Dropdown */
.lang-selector-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(17, 34, 64, 0.8);
    border: 1px solid rgba(255, 170, 0, 0.4);
    border-radius: 20px;
    padding: 6px 12px;
    color: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-selector-wrapper:hover {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(255, 170, 0, 0.3);
}

.lang-selector-wrapper select {
    background: transparent;
    color: var(--white);
    border: none;
    outline: none;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 14px;
}

.lang-selector-wrapper select option {
    background: var(--bg-navy);
    color: var(--white);
    padding: 8px;
}

.lang-selector-wrapper i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.lang-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    width: 12px !important;
    height: 12px !important;
    color: var(--text-dim) !important;
}

/* Buttons */
.btn-primary {
    padding: 10px 20px;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    border-radius: 4px;
}

.btn-primary:hover {
    background: rgba(255, 170, 0, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-main:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-main.full-width {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-dim);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.wrapper-lg { max-width: 1000px; }

/* Vision Section */
.vision {
    background: radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.6) 0%, transparent 70%);
}

.vision-content {
    max-width: 800px;
    margin: 40px auto 0;
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 2;
}

.vision-content p {
    margin-bottom: 20px;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 170, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 170, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

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

/* Strengths Section */
.strengths-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.strength-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--glass);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.strength-item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 170, 0, 0.3);
}

.strength-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.8;
    line-height: 1;
}

.strength-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.strength-text p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
}

/* Use Cases */
.case-study-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.case-card:nth-child(even) {
    direction: rtl;
}

.case-card:nth-child(even) .case-content {
    direction: ltr;
}

.case-img {
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-navy);
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-img img {
    transform: scale(1.05);
}

.case-label {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.case-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.case-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-table {
    width: 100%;
    margin-top: 40px;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    padding: 20px 0;
    color: var(--accent);
    width: 120px;
    vertical-align: top;
    font-size: 0.9rem;
}

.info-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-dim);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-navy-light);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.contact-lead {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(5, 10, 20, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer */
.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark);
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.active,
.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1001;
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .case-card { grid-template-columns: 1fr; }
    .case-card:nth-child(even) { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
    .header { padding: 10px 0; }
    .container { padding: 0 20px; }
    
    .logo-img { height: 60px; }
    .logo-subtitle { font-size: 0.6rem; letter-spacing: 0.1em; }
    
    .hero { padding-top: 140px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-navy-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        gap: 20px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li { margin: 10px 0; }
    .nav-links a { font-size: 1.1rem; }

    .section { padding: 80px 0; }
    .section-title { font-size: 1.8rem; }
    
    .case-img { height: 260px; }
    
    .contact-form { padding: 30px; }
    .info-table th { width: 90px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .logo-img { height: 50px; }
    .logo-subtitle { font-size: 0.55rem; }
    .hero { padding-top: 120px; }
    .lang-selector-wrapper { padding: 4px 8px; font-size: 0.75rem; }
}
