:root {
    --color-bg-dark: #050505;
    --color-bg-card: #0c0c0c;
    --color-bg-glass: rgba(10, 10, 10, 0.75);
    --color-accent-orange: #FF5E00;
    --color-accent-pink: #FF006E;
    --color-accent-amber: #FFB800;
    --color-accent-glow: rgba(255, 94, 0, 0.4);
    --color-text-main: #FDFDFD;
    --color-text-muted: #999999;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

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

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

/* Decorative Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -5;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -4;
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    right: -5%;
    background: var(--color-accent-orange);
    animation: floatOrb 20s infinite alternate;
}

.orb-2 {
    bottom: -10%;
    left: -5%;
    background: var(--color-accent-pink);
    animation: floatOrb 25s infinite alternate-reverse;
}

@keyframes floatOrb {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-100px, 50px);
    }
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
}

h2,
h3 {
    color: var(--color-accent-orange);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-pink));
    color: white;
    box-shadow: 0 10px 20px -10px rgba(255, 94, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(255, 94, 0, 0.6);
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.glow-effect:hover::before {
    left: 150%;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-main);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--color-accent-orange);
    background: rgba(255, 94, 0, 0.05);
    color: var(--color-accent-orange);
}

.full-width {
    width: 100%;
    margin-top: 1.5rem;
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-bg-glass);
    backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.glass-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 5, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-pink));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--color-bg-dark);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.logo-text {
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

nav a:hover {
    color: var(--color-text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.lang-link:hover,
.lang-link.active {
    color: var(--color-accent-orange);
    text-shadow: 0 0 15px rgba(255, 94, 0, 0.4);
}

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

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    /* Cinematic look */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-orange), var(--color-accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 94, 0, 0.3));
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* --- General Section Styles --- */
section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--color-bg-dark);
}

.section-black {
    background-color: #000;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

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

/* --- Problem Grid --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.problem-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 12px;
    border: var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent-orange), var(--color-accent-pink));
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

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

.problem-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.5s ease;
}

.problem-card:hover .problem-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* --- Feature Modules --- */
.feature-module {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
}

.feature-module.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.icon-box {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -15px;
    margin-left: -5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.feature-text h3 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    color: var(--color-accent-orange);
    background: linear-gradient(135deg, var(--color-accent-orange) 0%, var(--color-accent-amber) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-visual {
    flex: 1.3;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    border: var(--glass-border);
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-module:hover .feature-visual img {
    transform: scale(1.03);
}

/* --- Placeholders Removed --- */

/* --- Local Section --- */
.section-local {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.local-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.local-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

.glass-card {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px);
    padding: 80px;
    max-width: 650px;
    border: var(--glass-border);
    border-left: 6px solid var(--color-accent-orange);
    border-radius: 0 12px 12px 0;
}

/* --- Contact Form --- */
.section-contact {
    background: #050505;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cyber-form {
    background: var(--color-bg-card);
    padding: 50px;
    border-radius: 16px;
    border: var(--glass-border);
    border-top: 4px solid var(--color-accent-orange);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input option {
    background-color: var(--color-bg-card);
    color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.15);
}

.form-feedback {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
}

.form-feedback.success {
    color: #00ff88;
}

.form-feedback.error {
    color: #ff3333;
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
    min-height: 78px;
}

.hidden {
    display: none;
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    border-top: 1px solid #222;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 20px;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-module,
    .feature-module.reverse {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .feature-visual {
        width: 100%;
        height: 250px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        font-size: 0.85rem;
    }
}