/* =================================================================
   SURXONDARYO BPLA 3D YO'L PLATFORMASI
   Zamonaviy aero-texno dizayn
   ================================================================= */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2332;
    --bg-card: #151c2e;
    --bg-elevated: #1e2638;
    --border-color: #243049;
    --border-subtle: #1e2638;

    --text-primary: #e8eef5;
    --text-secondary: #a4b1c5;
    --text-muted: #6b7a99;

    --accent-cyan: #00d4ff;
    --accent-cyan-glow: rgba(0, 212, 255, 0.3);
    --accent-orange: #ff6b35;
    --accent-orange-glow: rgba(255, 107, 53, 0.3);
    --accent-green: #00ff88;
    --accent-yellow: #ffc857;
    --accent-red: #ff3860;

    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff3860 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #1a2332 100%);

    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 32px var(--accent-cyan-glow);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* =================================================================
   GLOBAL
   ================================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Topographic grid background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 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: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

main, header, footer, section {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* =================================================================
   SCROLLBAR
   ================================================================= */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* =================================================================
   NAVBAR
   ================================================================= */
.navbar-custom {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    font-size: 1.4rem;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.brand-text-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
    margin-top: 2px;
}

.navbar-custom .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.15rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    position: relative;
    font-size: 0.92rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent-cyan) !important;
    background: rgba(0, 212, 255, 0.08);
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-left: 1rem;
}

.lang-switcher a {
    padding: 4px 12px;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 107, 53, 0.1), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 136, 0.08), transparent 50%);
    z-index: 0;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

/* Hero visual (right side) */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin-left: auto;
    animation: fadeIn 1s ease 0.4s backwards;
}

.hero-visual-circle {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.hero-visual-circle::before,
.hero-visual-circle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-cyan);
}

.hero-visual-circle::before {
    top: -6px; left: 50%;
    transform: translateX(-50%);
}

.hero-visual-circle::after {
    bottom: -6px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    box-shadow: 0 0 12px var(--accent-orange);
}

.hero-visual-circle.outer {
    inset: -40px;
    animation: rotate 60s linear infinite reverse;
    border-color: rgba(255, 107, 53, 0.2);
}

.hero-drone {
    position: absolute;
    inset: 25%;
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px var(--accent-cyan-glow), inset 0 0 30px rgba(0, 212, 255, 0.1);
    animation: float 4s ease-in-out infinite;
}

.hero-drone i {
    font-size: 6rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 20px var(--accent-cyan-glow));
}

/* Stats below hero */
.hero-stats {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--accent-cyan-glow);
    color: var(--bg-primary);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline-custom:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--accent-orange-glow);
    color: white;
}

/* =================================================================
   SECTIONS
   ================================================================= */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 30px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =================================================================
   CARDS
   ================================================================= */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    width: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: rotate(-5deg) scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Project card */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.project-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-elevated));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.08);
}

.project-card-icon {
    font-size: 4rem;
    color: var(--accent-cyan);
    opacity: 0.8;
    z-index: 1;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-code {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.project-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.project-card-meta i {
    color: var(--accent-cyan);
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.success { background: rgba(0, 255, 136, 0.15); color: var(--accent-green); }
.status-badge.warning { background: rgba(255, 200, 87, 0.15); color: var(--accent-yellow); }
.status-badge.info    { background: rgba(0, 212, 255, 0.15); color: var(--accent-cyan); }
.status-badge.danger  { background: rgba(255, 56, 96, 0.15); color: var(--accent-red); }
.status-badge.secondary { background: rgba(107, 122, 153, 0.15); color: var(--text-muted); }
.status-badge.primary { background: rgba(0, 212, 255, 0.15); color: var(--accent-cyan); }

/* =================================================================
   TECHNOLOGY STEPS
   ================================================================= */
.tech-step {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.tech-step:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.tech-step-number {
    position: absolute;
    top: -16px;
    left: 2rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px var(--accent-cyan-glow);
}

.tech-step h4 {
    font-size: 1.15rem;
    margin: 0.5rem 0 0.8rem;
    color: var(--text-primary);
}

.tech-step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* =================================================================
   NEWS CARD
   ================================================================= */
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.news-card-image {
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.15), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 53, 0.1), transparent 50%);
}

.news-card-image i {
    font-size: 3rem;
    color: var(--accent-cyan);
    opacity: 0.7;
    z-index: 1;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-date {
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-card-summary {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--accent-cyan);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.contact-info-card p {
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

/* Form */
.form-control-custom {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.form-control-custom:focus {
    background: var(--bg-elevated);
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-cyan-glow);
    color: var(--text-primary);
}

.form-control-custom::placeholder {
    color: var(--text-muted);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

.form-label-custom {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* =================================================================
   PAGE HEADER (inner pages)
   ================================================================= */
.page-header {
    padding: 7rem 0 4rem;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 53, 0.05), transparent 50%);
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb-custom a {
    color: var(--text-secondary);
}

.breadcrumb-custom a:hover {
    color: var(--accent-cyan);
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================================================
   ALERTS
   ================================================================= */
.alert-custom {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
}

.alert-success-custom {
    background: rgba(0, 255, 136, 0.08);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.alert-danger-custom {
    background: rgba(255, 56, 96, 0.08);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* =================================================================
   DETAIL PAGE
   ================================================================= */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.detail-item-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.detail-item-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 991px) {
    .navbar-custom {
        background: var(--bg-secondary);
    }
    .lang-switcher {
        margin: 1rem 0 0;
    }
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }
    .hero-visual {
        margin: 3rem auto 0;
        max-width: 360px;
    }
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 575px) {
    .hero-buttons {
        flex-direction: column;
    }
    .btn-custom {
        width: 100%;
        justify-content: center;
    }
}

/* ============ ADDITIONAL PAGE STYLES ============ */

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(255, 107, 53, 0.04));
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.page-header::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;
    pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }
.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    color: var(--text-light);
}
.page-subtitle { color: var(--text-muted); font-size: 1.05rem; }
.breadcrumb {
    background: transparent; padding: 0; margin: 0;
    font-size: 0.875rem;
}
.breadcrumb-item a { color: var(--accent-cyan); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

.section-padded { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }
.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem; font-weight: 700;
    margin-bottom: 1.5rem; color: var(--text-light);
}

/* Filter bar */
.filter-bar {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Project card */
.project-card-link { text-decoration: none; color: inherit; display: block; }
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.25);
}
.project-image {
    height: 200px;
    background-size: cover; background-position: center;
    background-color: var(--bg-tertiary);
    position: relative;
}
.status-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
.status-success { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.status-warning { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }
.status-info    { background: rgba(0, 212, 255, 0.2); color: var(--accent-cyan); border: 1px solid rgba(0, 212, 255, 0.4); }
.status-danger  { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.status-secondary { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.4); }
.status-primary { background: rgba(0, 212, 255, 0.2); color: var(--accent-cyan); border: 1px solid rgba(0, 212, 255, 0.4); }

.project-body { padding: 1.5rem; }
.project-code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-cyan);
    font-size: 0.85rem; margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.project-title {
    font-size: 1.15rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 1rem;
    line-height: 1.4;
}
.project-meta {
    display: flex; gap: 1rem;
    font-size: 0.85rem; color: var(--text-muted);
    flex-wrap: wrap;
}
.project-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* Project detail */
.project-code-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 1rem;
}
.project-header-meta {
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    color: var(--text-muted); margin-top: 1rem;
}
.project-header-meta span { display: flex; align-items: center; gap: 0.4rem; }
.project-cover img { width: 100%; box-shadow: 0 20px 50px -20px rgba(0, 212, 255, 0.3); }
.content-block { margin-bottom: 2.5rem; }
.content-text { color: var(--text-secondary); line-height: 1.8; font-size: 1.05rem; }
.gallery-item img { transition: transform 0.3s ease; cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.03); }

.info-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    position: sticky; top: 100px;
}
.sidebar-title {
    font-size: 1.25rem; font-weight: 700;
    color: var(--text-light); margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
    display: flex; justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { color: var(--text-muted); }
.info-list strong { color: var(--text-light); text-align: right; }

/* Tech timeline */
.tech-timeline { position: relative; padding: 2rem 0; }
.tech-timeline::before {
    content: '';
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-cyan), var(--accent-orange), transparent);
    transform: translateX(-50%);
}
.tech-timeline-item {
    width: 50%;
    padding: 1.5rem 2.5rem;
    position: relative;
}
.tech-timeline-item.left { left: 0; text-align: right; }
.tech-timeline-item.right { left: 50%; }
.tech-timeline-item::before {
    content: '';
    position: absolute; top: 2.5rem;
    width: 16px; height: 16px;
    background: var(--accent-cyan);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-cyan);
}
.tech-timeline-item.left::before { right: -8px; }
.tech-timeline-item.right::before { left: -8px; }
.tech-timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
}
.tech-timeline-content:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}
.tech-step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem; font-weight: 700;
    color: rgba(0, 212, 255, 0.15);
    position: absolute; top: 0.5rem; right: 1rem;
    line-height: 1;
}
.tech-timeline-item.left .tech-step-number { right: auto; left: 1rem; }
.tech-step-icon {
    display: inline-flex;
    width: 50px; height: 50px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 12px;
    align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}
.tech-timeline-content h3 {
    font-size: 1.25rem; color: var(--text-light);
    margin-bottom: 0.75rem; font-weight: 700;
}
.tech-timeline-content p { color: var(--text-secondary); margin: 0; }
@media (max-width: 768px) {
    .tech-timeline::before { left: 20px; }
    .tech-timeline-item, .tech-timeline-item.left, .tech-timeline-item.right {
        width: 100%; left: 0; padding-left: 50px; padding-right: 1rem; text-align: left;
    }
    .tech-timeline-item::before, .tech-timeline-item.left::before { left: 12px; right: auto; }
    .tech-timeline-item.left .tech-step-number, .tech-step-number { left: auto; right: 1rem; }
}

/* Content card */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
}
.content-card-icon {
    font-size: 2.5rem; color: var(--accent-cyan);
    margin-bottom: 1rem;
}
.content-card h3 {
    font-size: 1.4rem; color: var(--text-light);
    margin-bottom: 1.25rem; font-weight: 700;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: 0.5rem 0; color: var(--text-secondary);
    display: flex; align-items: center; gap: 0.75rem;
}
.check-list li i { color: var(--accent-cyan); font-size: 1.1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag {
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-cyan);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    font-family: 'JetBrains Mono', monospace;
}

/* Road card */
.road-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    height: 100%;
}
.road-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -15px rgba(0, 212, 255, 0.25);
}
.road-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.75rem;
}
.road-code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem; font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.25);
}
.road-category {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.road-name {
    font-size: 1.2rem; color: var(--text-light);
    margin: 0.5rem 0 1rem; font-weight: 600;
}
.road-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    padding: 1rem 0; margin-bottom: 1rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.road-stat { display: flex; gap: 0.75rem; align-items: center; }
.road-stat i { color: var(--accent-cyan); font-size: 1.5rem; }
.road-stat strong { display: block; color: var(--text-light); font-size: 1rem; }
.road-stat small { color: var(--text-muted); font-size: 0.75rem; }
.road-desc { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }

/* Drone card */
.drone-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.drone-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.3);
}
.drone-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 107, 53, 0.05));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.drone-image img { width: 100%; height: 100%; object-fit: cover; }
.drone-icon-fallback { font-size: 4rem; color: var(--accent-cyan); }
.drone-body { padding: 1.5rem; }
.drone-brand {
    color: var(--accent-orange); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px;
    font-weight: 600; margin-bottom: 0.25rem;
}
.drone-model {
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-light); margin-bottom: 0.75rem;
}
.drone-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.drone-specs { list-style: none; padding: 0; margin: 0; }
.drone-specs li {
    padding: 0.4rem 0; color: var(--text-secondary);
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.875rem;
    border-top: 1px dashed var(--border-color);
}
.drone-specs li i { color: var(--accent-cyan); }

/* News card */
.news-card-link { text-decoration: none; color: inherit; display: block; }
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.25);
}
.news-image {
    height: 180px;
    background-size: cover; background-position: center;
    background-color: var(--bg-tertiary);
}
.news-body { padding: 1.5rem; }
.news-date { color: var(--accent-cyan); font-size: 0.8rem; margin-bottom: 0.5rem; }
.news-title {
    font-size: 1.1rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 0.75rem;
    line-height: 1.4;
}
.news-excerpt { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.news-link { color: var(--accent-cyan); font-size: 0.875rem; font-weight: 600; }

/* Sidebar news */
.sidebar-news-item {
    display: flex; gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none; color: inherit;
    transition: all 0.2s ease;
}
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-item:hover { transform: translateX(4px); }
.sidebar-news-img {
    width: 70px; height: 70px;
    background-size: cover; background-position: center;
    border-radius: 8px; flex-shrink: 0;
    background-color: var(--bg-tertiary);
}
.sidebar-news-item small { color: var(--accent-cyan); font-size: 0.75rem; }
.sidebar-news-item h5 {
    font-size: 0.9rem; color: var(--text-light);
    margin: 0.25rem 0 0; font-weight: 500; line-height: 1.4;
}

/* Article */
.article-meta-top {
    display: flex; gap: 1.5rem;
    color: var(--text-muted); font-size: 0.875rem;
    margin-top: 1rem;
}
.article-meta-top span { display: flex; align-items: center; gap: 0.4rem; }
.article-body {
    color: var(--text-secondary); line-height: 1.85;
    font-size: 1.05rem;
}

/* Empty state */
.empty-state {
    text-align: center; padding: 5rem 2rem;
    color: var(--text-muted);
}
.empty-state i { font-size: 4rem; color: var(--accent-cyan); opacity: 0.4; margin-bottom: 1rem; display: block; }

/* Pagination */
.pagination-custom .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    margin: 0 0.25rem;
    border-radius: 8px;
}
.pagination-custom .page-item.active .page-link {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-primary); font-weight: 600;
}

/* Contact */
.contact-info-block { padding-right: 1rem; }
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.contact-info-card:hover { border-color: var(--accent-cyan); transform: translateX(5px); }
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.contact-info-card h5 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.25rem; }
.contact-info-card p { color: var(--text-light); margin: 0; font-weight: 500; }
.contact-info-card a { color: var(--text-light); text-decoration: none; }
.contact-info-card a:hover { color: var(--accent-cyan); }

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
}
.contact-form-title {
    font-size: 1.5rem; color: var(--text-light);
    margin-bottom: 1.5rem; font-weight: 700;
}
.form-label { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.4rem; }
.form-control-custom {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.7rem 1rem;
    border-radius: 8px;
}
.form-control-custom:focus {
    background: var(--bg-primary);
    border-color: var(--accent-cyan);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.alert-success-custom {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80; border-radius: 10px;
}
.alert-error-custom {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171; border-radius: 10px;
}

.map-container { box-shadow: 0 20px 50px -20px rgba(0, 212, 255, 0.2); }
