@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Syncopate:wght@400;700&display=swap');

:root {
  /* Colors - Glassmorphism Aurora Theme */
  --bg-primary: #02010a;
  --bg-secondary: #060414;
  --bg-dark: #000000;
  
  --text-primary: #f8f9fa;
  --text-secondary: #b1b5c0;
  --text-light: #ffffff;
  
  --color-1: #4facfe; /* Soft Light Blue */
  --color-2: #00f2fe; /* Bright Cyan */
  --color-3: #7b2cbf; /* Deep Purple */
  --color-4: #f72585; /* Soft Magenta */
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  
  --accent-gradient: linear-gradient(135deg, var(--color-1), var(--color-3));
  --accent-gradient-hover: linear-gradient(135deg, var(--color-2), var(--color-4));
  
  --shadow-glow: 0 10px 30px rgba(79, 172, 254, 0.2);
  --shadow-glow-hover: 0 15px 40px rgba(123, 44, 191, 0.3);
  
  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Utility */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(2, 1, 10, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  height: 70px;
  background: rgba(2, 1, 10, 0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  position: relative;
}

.nav-links a:not(.btn):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover:after,
.nav-links a.active:after {
  width: 100%;
}

.nav-links a:not(.btn):hover {
  color: var(--color-1);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px; 
  font-weight: 600;
  font-family: 'Syncopate', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: none;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-light);
  box-shadow: var(--shadow-glow);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-highlight);
  color: var(--text-light);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-1);
  transform: translateY(-3px) scale(1.02);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: none;
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--nav-height) + 6rem);
  padding-bottom: 8rem;
  background-color: transparent;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float-aurora 25s infinite ease-in-out alternate;
}

.nebula-1 {
  width: 80vw;
  height: 80vh;
  background: var(--color-3);
  top: -20vh;
  left: -20vw;
  animation-delay: 0s;
}

.nebula-2 {
  width: 60vw;
  height: 60vh;
  background: var(--color-1);
  bottom: -10vh;
  right: -10vw;
  animation-delay: -5s;
}

.nebula-3 {
  width: 70vw;
  height: 70vh;
  background: var(--color-4);
  top: 30%;
  left: 40%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
  opacity: 0.3;
}

@keyframes float-aurora {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(100px, -50px) scale(1.2) rotate(15deg); }
  100% { transform: translate(-50px, 100px) scale(0.9) rotate(-15deg); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  max-width: 90%;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Glass Panels Element in Hero */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.aurora-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.glass-panel {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  animation: float-panel 10s infinite ease-in-out alternate;
}

.panel-1 {
  width: 250px;
  height: 350px;
  z-index: 3;
  transform: translateZ(50px) rotate(-5deg);
  border-top: 1px solid rgba(255,255,255,0.4);
  border-left: 1px solid rgba(255,255,255,0.4);
}

.panel-2 {
  width: 200px;
  height: 300px;
  z-index: 2;
  left: 20px;
  top: 40px;
  transform: translateZ(0px) rotate(10deg);
  background: rgba(255, 255, 255, 0.05);
  animation-delay: -2s;
}

.panel-3 {
  width: 180px;
  height: 250px;
  z-index: 1;
  right: 40px;
  bottom: 60px;
  transform: translateZ(-50px) rotate(-15deg);
  background: rgba(255, 255, 255, 0.02);
  animation-delay: -4s;
}

@keyframes float-panel {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-30px) rotate(2deg); }
}

/* --- Brand Marquee --- */
.marquee-section {
  background: transparent;
  padding: 3rem 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
}

.marquee-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-block;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 3rem;
  transition: color 0.3s ease;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Services Section --- */
.services {
  padding: 8rem 0;
  background-color: transparent;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(-10px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.service-icon.color-1 { color: var(--color-1); }
.service-icon.color-2 { color: var(--color-2); }
.service-icon.color-3 { color: var(--color-3); }

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- About Section --- */
.about {
  padding: 8rem 0;
  background-color: transparent;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.15rem;
  font-weight: 300;
}

.stats-container {
  display: flex;
  gap: 3rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease;
  filter: saturate(1.2) brightness(0.9);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* --- Tech Stack Section --- */
.tech-stack {
  padding: 8rem 0;
  background-color: transparent;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.tech-item {
  padding: 2.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  cursor: none;
}

.tech-item i {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.tech-item p {
  font-weight: 600;
  font-family: 'Syncopate', sans-serif;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.8rem;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.tech-item:hover i {
  color: var(--color-1);
}
.tech-item:nth-child(even):hover i {
  color: var(--color-3);
}

/* --- Contact Section --- */
.contact {
  padding: 8rem 0;
  background-color: transparent;
  position: relative;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 4rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contact-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-1);
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
  background: rgba(0,0,0,0.4);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

/* --- Footer --- */
footer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-about p {
  max-width: 400px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-family: 'Syncopate', sans-serif;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
}

/* --- Utilities & Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- ColtsCarriers Custom Cursor --- */
@media (pointer: fine) {
  body, a, button, input, select, textarea, .tech-item {
    cursor: none;
  }
}

.cursor-center {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--text-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}

.cursor-trio {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s;
}

.cursor-trio .dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform-origin: 20px 20px;
  transition: transform 0.2s ease;
}

/* Initial static state */
.dot-1 { background: var(--color-1); box-shadow: 0 0 8px var(--color-1); transform: translate(-50%, -50%) translate(0, -15px); }
.dot-2 { background: var(--color-2); box-shadow: 0 0 8px var(--color-2); transform: translate(-50%, -50%) translate(13px, 7px); }
.dot-3 { background: var(--color-3); box-shadow: 0 0 8px var(--color-3); transform: translate(-50%, -50%) translate(-13px, 7px); }

/* Rotating animation container */
.cursor-trio-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Adjust hovered state */
.cursor-trio.hovered {
  width: 60px;
  height: 60px;
}
.cursor-trio.hovered .dot-1 { transform: translate(-50%, -50%) translate(0, -25px); }
.cursor-trio.hovered .dot-2 { transform: translate(-50%, -50%) translate(22px, 12px); }
.cursor-trio.hovered .dot-3 { transform: translate(-50%, -50%) translate(-22px, 12px); }
.cursor-trio.hovered .cursor-trio-inner { animation-duration: 2s; }

/* Responsive */
@media (max-width: 992px) {
  .hero .container, .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(2, 1, 10, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-about p {
    margin: 0 auto;
  }
}
