/* --- Inter Font Family --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400; /* Regular */
  src: url('../fonts/Inter_28pt-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500; /* Medium */
  src: url('../fonts/Inter_28pt-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600; /* SemiBold */
  src: url('../fonts/Inter_28pt-SemiBold.ttf') format('truetype');
}


/* --- Orbitron Font Family --- */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400; /* Regular */
  src: url('../fonts/Orbitron-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 600; /* SemiBold */
  src: url('../fonts/Orbitron-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700; /* Bold */
  src: url('../fonts/Orbitron-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900; /* Black */
  src: url('../fonts/Orbitron-Black.ttf') format('truetype');
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Elements */
#animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.canvas-layer {
    position: absolute;
    top: 0;
    left: 0;
}

.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    z-index: -2;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    will-change: transform;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 127, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff7f00;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ff7f00;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #ff7f00;
    background: rgba(255, 127, 0, 0.1);
}

/* Main Content */
main {
    margin-top: 80px;
    flex: 1;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding-top: 0;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 2rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 60%;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff7f00, #ffb366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 127, 0, 0.3);
}

.hero-content .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: #cccccc;
}

.hero-content .description {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 0 2rem 0;
    color: #aaaaaa;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff7f00, #ffb366);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: #ff7f00;
    border: 2px solid #ff7f00;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.3);
}

.back-btn {
    margin-bottom: 2rem;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 127, 0, 0.2);
    color: #ff7f00;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ff7f00;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(255, 127, 0, 0.3);
    transform: translateY(-2px);
}

/* Common Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff7f00;
}

/* Footer */
footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(255, 127, 0, 0.3);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(10px);
    margin-top: auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}