/* === BASE STYLES === */:root {
  --primary: #00D9FF;
  --secondary: #FF006B;
  --accent: #FFD600;
  --dark: #0A0E27;
  --light: #F8F9FF;
  --gradient-1: linear-gradient(135deg, #00D9FF 0%, #0066FF 100%);
  --gradient-2: linear-gradient(135deg, #FF006B 0%, #FF6B00 100%);
  --gradient-3: linear-gradient(135deg, #FFD600 0%, #FF006B 100%);
  --shadow-sm: 0 4px 20px rgba(0, 217, 255, 0.15);
  --shadow-md: 0 8px 40px rgba(0, 217, 255, 0.25);
  --shadow-lg: 0 16px 60px rgba(0, 217, 255, 0.35);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  font-size: 16px;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

h1 {
  font-size: 3.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.25rem;
  color: rgba(248, 249, 255, 0.85);
}

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

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

.btn, .cta-button, .btn-primary {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  background: var(--gradient-2);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
}

.btn::before, .cta-button::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before, .cta-button:hover::before, .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover, .cta-button:hover, .btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.card p {
  color: rgba(248, 249, 255, 0.8);
}

.content-image {
  max-width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid rgba(0, 217, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.content-image.portrait img {
  max-height: 350px;
  max-width: 300px;
}

.content-image.wide img {
  max-height: 300px;
  max-width: 100%;
}

.content-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.7;
  color: var(--primary);
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

table thead {
  background: var(--gradient-1);
}

table th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 249, 255, 0.85);
}

table tbody tr {
  transition: all 0.3s ease;
}

table tbody tr:hover {
  background: rgba(0, 217, 255, 0.1);
}

/* === LAYOUT STYLES === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background: var(--accent);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav .nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
}

nav .nav-menu li a {
  color: rgba(248, 249, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

nav .nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav .nav-menu li a:hover {
  color: var(--primary);
}

nav .nav-menu li a:hover::after {
  width: 100%;
}

header .cta-button {
  padding: 12px 32px;
  font-size: 1rem;
  white-space: nowrap;
  max-width: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
}

footer {
  background: rgba(10, 14, 39, 0.98);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(248, 249, 255, 0.6);
  font-size: 0.95rem;
}

.footer-nav h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 0.75rem;
}

.footer-nav ul li a {
  color: rgba(248, 249, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-nav ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(248, 249, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 767px) {
  header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  nav {
    order: 3;
    width: 100%;
  }

  nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: rgba(10, 14, 39, 0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
  }

  nav .nav-menu.active {
    display: flex;
  }

  nav .nav-menu li {
    width: 100%;
  }

  nav .nav-menu li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header .cta-button {
    order: 4;
    width: 100%;
    margin-top: 1rem;
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  nav {
    order: 3;
    width: 100%;
  }

  nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: rgba(10, 14, 39, 0.98);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
  }

  nav .nav-menu.active {
    display: flex;
  }

  nav .nav-menu li {
    width: 100%;
  }

  nav .nav-menu li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header .cta-button {
    order: 4;
    width: 100%;
    margin-top: 1rem;
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  .btn, .cta-button, .btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
  }
}