@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141416;
    --bg-card2: #1a1a1e;
    --accent-blue: #007AFF;
    --accent-red: #e50914;
    --accent-green: #00CF80;
    --accent-yellow: #FFB400;
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-red: rgba(229, 9, 20, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
a { text-decoration: none; color: var(--text-main); transition: color 0.2s; }

/* ─── NAVBAR ─── */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.logo { font-size: 1.1rem; font-weight: 900; letter-spacing: 2px; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }
.lang-switch a {
    padding: 4px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 700;
    border: 1px solid var(--border-color);
}
.lang-switch a.active { background: var(--text-main); color: var(--bg-dark); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-badge   { animation: fadeIn 0.6s ease both; animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.hero h2      { animation: fadeUp 0.7s ease both; animation-delay: 0.25s; opacity: 0; animation-fill-mode: forwards; }
.hero p       { animation: fadeUp 0.7s ease both; animation-delay: 0.4s;  opacity: 0; animation-fill-mode: forwards; }
.hero-actions { animation: fadeUp 0.7s ease both; animation-delay: 0.55s; opacity: 0; animation-fill-mode: forwards; }
.hero-stats   { animation: fadeUp 0.7s ease both; animation-delay: 0.7s;  opacity: 0; animation-fill-mode: forwards; }

/* scroll-reveal base */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HERO ─── */
.hero {
    min-height: calc(100vh - 70px);
    display: flex; align-items: center;
    background: #080808;
    position: relative;
    background-image: url('/static/hero-bg.jpg');
    background-size: cover;
    background-position: center right;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}
.hero-inner {
    position: relative; z-index: 1;
    width: 100%;
    max-width: 680px;
    margin-left: 80px;
    padding: 0 40px;
}
.hero-content { text-align: left; }

.hero-badge {
    display: inline-block;
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.35);
    color: #ff4d57;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 30px;
    margin-bottom: 1.25rem;
}
.hero h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900; margin-bottom: 1.25rem;
    line-height: 1.08;
}
.hero p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 460px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
    display: inline-flex; align-items: center; gap: 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px; padding: 1rem 1.75rem;
    backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* ─── BUTTONS ─── */
.btn-primary {
    background: var(--accent-red);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px var(--glow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--glow-red); }

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ─── SECTIONS ─── */
.section { padding: 6rem 5%; }
.section-dark { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { text-align: center; font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 3rem; max-width: 620px; margin-inline: auto; }

/* ─── FEATURE CARDS ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    background: #0d0d0d;
    padding: 36px 28px;
    overflow: hidden;
    cursor: default;
    transition: background 0.3s ease;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUpCard 0.5s ease forwards;
}

.feature-card::before {
    content: attr(data-index);
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3.5rem;
    font-weight: 900;
    color: #e8c96d;
    opacity: 0.06;
    line-height: 1;
    transition: opacity 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #e8c96d;
    transition: width 0.4s ease;
}

.feature-card:hover { background: #111; }
.feature-card:hover::before { opacity: 0.14; }
.feature-card:hover::after { width: 100%; }

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.12s; }
.feature-card:nth-child(3) { animation-delay: 0.19s; }
.feature-card:nth-child(4) { animation-delay: 0.26s; }
.feature-card:nth-child(5) { animation-delay: 0.33s; }
.feature-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes fadeUpCard {
    to { opacity: 1; transform: translateY(0); }
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: #e8c96d;
    opacity: 0.85;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1rem; font-weight: 600; color: #ffffff; margin: 0 0 10px 0; line-height: 1.3; }
.feature-card p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin: 0; }

/* ─── OPERATOR SECTION ─── */
.operator-section {
  padding: 40px 24px;
  background: #0d0d0d;
  border-top: 1px solid #1e1e1e;
}
.operator-section h2 { font-size: 1.4rem; margin-bottom: 12px; }
.operator-section p { 
  font-size: 0.9rem; 
  color: rgba(255,255,255,0.6); 
  line-height: 1.6;
}

/* ─── GALLERY SECTION - 3 IMAGES ─── */
.gallery-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ─── IN ACTION GALLERY ─── */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e8c96d;
    margin-bottom: 12px;
}

.inaction-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
}

.inaction-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.inaction-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    margin-top: 40px;
}

.inaction-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}

.inaction-card--wide { grid-row: 1 / 3; }

.inaction-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
    min-height: 220px;
}

.inaction-card--wide img { min-height: 460px; }

.inaction-card:hover img { transform: scale(1.03); }

.inaction-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── USE CASES ─── */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px; margin: 0 auto;
}
.usecase-card {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}
.usecase-card::before {
    content: attr(data-index);
    position: absolute;
    top: 16px; right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: #e8c96d;
    opacity: 0.07;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.usecase-card:hover { border-color: rgba(232, 201, 109, 0.15); }
.usecase-icon {
    width: 40px; height: 40px;
    margin-bottom: 1.2rem;
    color: #e8c96d;
    opacity: 0.85;
}
.usecase-icon svg { width: 100%; height: 100%; }
.usecase-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.usecase-card ul { list-style: none; padding: 0; }
.usecase-card ul li {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    padding: 0.4rem 0;
}

/* ─── OFFER BANNER ─── */
.offer-banner {
    background: linear-gradient(135deg, rgba(229,9,20,0.12) 0%, rgba(10,10,12,0) 100%);
    border-top: 1px solid rgba(229,9,20,0.2);
    border-bottom: 1px solid rgba(229,9,20,0.2);
    padding: 4rem 5%;
}
.offer-content {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.offer-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.offer-text p { color: var(--text-muted); max-width: 500px; }

/* ─── EQUIPMENT GRID ─── */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}
.equipment-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.equipment-item:hover { border-color: rgba(232, 201, 109, 0.3); }
.equipment-check {
    color: #e8c96d;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}

/* ─── SPECS ─── */
.specs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px; margin: 0 auto;
}
.specs-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}
.specs-subtitle {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--text-muted); }
.specs-table td:last-child { font-family: 'SF Mono', 'Fira Code', monospace; color: var(--accent-green); font-size: 0.95rem; text-align: right; }

/* ─── BOOKING ─── */
.booking-container {
    max-width: 520px; margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem; border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.form-group { margin-bottom: 1.25rem; }
.form-control {
    width: 100%; padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main); font-size: 0.95rem;
    transition: all 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent-blue); background: rgba(0,122,255,0.06); }
.success-message {
    background: rgba(0, 207, 128, 0.1); color: var(--accent-green);
    padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; text-align: center;
    border: 1px solid rgba(0, 207, 128, 0.25);
}

/* ─── FOOTER ─── */
footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.8rem; border-top: 1px solid var(--border-color); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .hero::before { background: linear-gradient(105deg, rgba(10,10,12,0.95) 0%, rgba(10,10,12,0.8) 55%, rgba(10,10,12,0.3) 100%); }
}
@media (max-width: 768px) {
    .hero {
      min-height: 80vh;
      padding: 80px 24px 60px;
      background: #080808 !important;
      background-image: none !important;
    }
    .hero h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero-inner { margin-left: 0; padding: 0; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid {
      grid-template-columns: 1fr;
      gap: 4px;
    }
    .gallery-item {
      aspect-ratio: 16/9;
    }
    .inaction-section { padding: 60px 20px; }
    .inaction-grid { grid-template-columns: 1fr; }
    .inaction-card--wide { grid-row: auto; }
    .inaction-card--wide img { min-height: 260px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .hero-content { max-width: 100%; text-align: left; }
    .hero h2 { font-size: 2rem; }
    .hero-actions { justify-content: flex-start; }
    .hero-stats { width: 100%; justify-content: flex-start; }
    .usecases-grid { grid-template-columns: 1fr; }
    .offer-content { flex-direction: column; text-align: center; }
    .nav-links { gap: 1rem; }
    .booking-container { padding: 2rem 1.5rem; }
    .specs-container { grid-template-columns: 1fr; }
}
