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

:root {
  --bg-color: #0b0c10;
  --bg-color-light: #15171e;
  --text-main: #ffffff;
  --text-muted: #a0a6b5;
  --accent-orange: #ff5722;
  --accent-orange-glow: rgba(255, 87, 34, 0.4);
  --accent-gold: #f39c12;
  --accent-gold-glow: rgba(243, 156, 18, 0.4);
  --gradient-flame: linear-gradient(135deg, #ff5722, #f5b041);
  --glass-bg: rgba(21, 23, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html, body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* --- Layout Defaults --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Utility Classes --- */
.text-gradient {
  background: var(--gradient-flame);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-flame);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px var(--accent-orange-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 87, 34, 0.6);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
}

/* --- Header / Navbar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-wrapper img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.5));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

nav ul li a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

nav ul li a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Offset for fixed header */
  position: relative;
  overflow: hidden;
}

/* Ambient Background Glow */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255,87,34,0.15) 0%, rgba(11,12,16,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(243,156,18,0.1) 0%, rgba(11,12,16,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-mission {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--accent-orange);
  padding-left: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 20px 40px rgba(255, 87, 34, 0.4));
  position: relative;
  z-index: 2;
}

/* --- Services Section --- */
.services {
  padding: 6rem 0;
  background-color: var(--bg-color);
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.service-card {
  background: var(--bg-color-light);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-flame);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 87, 34, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 87, 34, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Tech Stack Banner (Optional nice addition) --- */
.tech-banner {
  background: var(--bg-color-light);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 3rem 0;
  text-align: center;
}

.tech-banner h4 {
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* --- Legal / Privacy Page Content --- */
.legal-page {
  padding-top: 150px;
  padding-bottom: 6rem;
}

.legal-content {
  background: var(--bg-color-light);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin: 2rem 0 1rem 0;
}

.legal-content p, .legal-content ul {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
  background: #07080a;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

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

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

.footer-links ul li a:hover {
  color: var(--accent-orange);
}

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

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-mission {
    border-left: none;
    border-top: 4px solid var(--accent-orange);
    padding-left: 0;
    padding-top: 1.5rem;
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    grid-row: 1; /* Move image to top on mobile */
  }

  .nav-container ul {
    display: none; /* simple mobile menu hidden for now */
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .legal-content {
    padding: 2rem;
  }
}
