:root {
  --orange: #FF7A1F;
  --blue: #3D6AFE;
  --black: #050507;
  --dark-gray: #0F1014;
  --white: #FFFFFF;
  --muted: #A0A0B0;
  --border: #2A2D36;
  --primary-glow: 0 0 30px rgba(255, 122, 31, 0.3);
  --secondary-glow: 0 0 30px rgba(61, 106, 254, 0.3);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Orbitron', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--white);
  background-color: var(--black);
  padding-top: 70px;
  background-image: 
    linear-gradient(rgba(15, 16, 20, 0.95), rgba(15, 16, 20, 0.95)),
    linear-gradient(0deg, transparent 24%, rgba(61, 106, 254, .03) 25%, rgba(61, 106, 254, .03) 26%, transparent 27%, transparent 74%, rgba(61, 106, 254, .03) 75%, rgba(61, 106, 254, .03) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(61, 106, 254, .03) 25%, rgba(61, 106, 254, .03) 26%, transparent 27%, transparent 74%, rgba(61, 106, 254, .03) 75%, rgba(61, 106, 254, .03) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  border-radius: 8px;
  color: white;
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
}

@media(min-width: 768px) {
  .nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
  }
  .nav a:hover {
    color: var(--orange);
  }
  .cta-small {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s;
  }
  .cta-small:hover {
    border-color: var(--orange);
    box-shadow: var(--primary-glow);
  }
}

/* Hero */
.hero {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.hero-art {
  max-width: 560px;
  justify-self: center;
}

.hero-copy .title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  margin: 0 0 24px;
  background: linear-gradient(to right, #fff, #9aa3b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: white;
  box-shadow: var(--primary-glow);
  border: none;
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}

.btn.secondary:hover {
  border-color: var(--blue);
  background: rgba(61, 106, 254, 0.1);
}

.hero-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.hero-img:hover {
  transform: scale(1.01);
}

/* Sections */
.section {
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 2px;
}

/* About */
.grid-2 {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.about-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--dark-gray);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--secondary-glow);
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
}

.card-body p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn.tertiary {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: white;
}

.btn.tertiary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-item {
  display: block;
  background: var(--dark-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.video-item:hover {
  transform: scale(1.02);
  border-color: var(--orange);
  box-shadow: var(--primary-glow);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-meta {
  padding: 16px;
}

.video-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.video-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  background: rgba(61, 106, 254, 0.1);
  color: var(--blue);
  border-radius: 4px;
  font-weight: 600;
}

/* Newsletter */
.newsletter-inner {
  background: linear-gradient(135deg, rgba(255, 122, 31, 0.05), rgba(61, 106, 254, 0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  gap: 30px;
}

.benefits {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.benefits li::before {
  content: '✓';
  color: var(--orange);
  font-weight: bold;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  color: white;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--dark-gray);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.socials a:hover {
  background: var(--blue);
  color: white;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 100px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .newsletter-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
