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

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

:root {
  --background: 0 0% 100%;
  --foreground: 192 85% 8%;
  --card: 0 0% 100%;
  --card-foreground: 192 85% 8%;
  --popover: 0 0% 100%;
  --popover-foreground: 192 85% 8%;
  --primary: 192 85% 8%;
  --primary-foreground: 0 0% 98%;
  --secondary: 21 78% 52%;
  --secondary-foreground: 0 0% 100%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 21 78% 52%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 192 85% 8%;
  --radius: 0.5rem;
  --infinity-blue-dark: 192 85% 8%;
  --infinity-blue-mid: 197 91% 28%;
  --infinity-blue-light: 199 28% 61%;
  --infinity-orange: 21 78% 52%;
  --infinity-text-light: 0 0% 98%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p, span, li, h1, h2, h3, h4, h5, h6, a, button, label, td, th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre, code {
  overflow-x: auto;
  white-space: pre;
}

/* Main Container */
.main-container {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #011925;
}

/* Fixed Background */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 0%, transparent 100%);
  opacity: 1;
  z-index: 10;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  display: block;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.nav-content {
  display: flex;
  align-items: center;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 17px;
  gap: 70px;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 7rem;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .logo-img {
    height: 8rem;
  }
}

@media (min-width: 768px) {
  .logo-img {
    height: 9rem;
  }
}

@media (min-width: 1024px) {
  .logo-img {
    height: 10rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 70px;
}

.nav-link {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.125rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

@media (min-width: 640px) {
  .nav-link {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .nav-link {
    font-size: 1.5rem;
  }
}

.nav-link:hover {
  color: hsl(var(--infinity-orange));
}

.nav-link.active {
  color: hsl(var(--infinity-orange));
}

.license-text {
  position: absolute;
  right: 32px;
  top: 8px;
  color: #FFB78E;
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .license-text {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .license-text {
    font-size: 1.25rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 80px;
  padding-left: 16px;
  padding-right: 16px;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-content-spacing {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 768px) {
  .hero-content-spacing {
    gap: 80px;
  }
}

@media (min-width: 1024px) {
  .hero-content-spacing {
    gap: 112px;
  }
}

.logo-container {
  display: flex;
  justify-content: center;
}

.logo-main {
  width: 100%;
  max-width: 28rem;
  height: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .logo-main {
    max-width: 56rem;
  }
}

@media (min-width: 1024px) {
  .logo-main {
    max-width: 76rem;
  }
}

.about-text-wrapper {
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .about-text-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 768px) {
  .about-text-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .about-text-wrapper {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.about-text {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.25rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .about-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .about-text {
    font-size: 2rem;
  }
}

/* Footer */
footer {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, rgba(1, 25, 37, 0) 0%, rgba(153, 153, 153, 0) 100%);
  margin-top: 80px;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-content {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.divider {
  width: 100%;
  height: 4px;
  background: hsl(var(--infinity-orange));
  margin-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.footer-section h3 {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.5rem;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-section h3 {
    font-size: 1.875rem;
  }
}

.footer-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-item.center {
  align-items: center;
}

.footer-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-item.center .footer-icon {
  margin-top: 0;
}

.footer-text {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .footer-text {
    font-size: 1.5rem;
  }
}

.footer-link {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.125rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .footer-link {
    font-size: 1.5rem;
  }
}

.footer-link:hover {
  color: hsl(var(--infinity-orange));
}

.copyright {
  text-align: center;
}

@media (min-width: 768px) {
  .copyright {
    text-align: right;
  }
}

.copyright-text {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1rem;
}

@media (min-width: 768px) {
  .copyright-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .copyright-text {
    font-size: 1.25rem;
  }
}

/* Contact Page */
.contact-section {
  position: relative;
  padding-top: 192px;
  padding-bottom: 80px;
  padding-left: 16px;
  padding-right: 16px;
  z-index: 10;
}

.contact-header {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .contact-header {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .contact-header {
    font-size: 3.75rem;
  }
}

.contact-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 32px;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-box {
    padding: 48px;
  }
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item-content h4 {
  font-family: 'Jura', sans-serif;
  font-weight: 700;
  color: hsl(var(--infinity-text-light));
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.contact-item-content p,
.contact-item-content a {
  font-family: 'Jura', sans-serif;
  color: hsl(var(--infinity-text-light));
  font-size: 1.125rem;
  line-height: 1.5;
}

.contact-item-content a {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-item-content a:hover {
  color: hsl(var(--infinity-orange));
}

.social-icon {
  color: #1877F2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-content {
    flex-wrap: wrap;
  }
}
