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

:root {
  /* Official Brand Colors */
  --deep-space: #080A12;
  --midnight-navy: #111827;
  --solar-gold: #FFC933;
  --electric-blue: #00C8FF;
  --pearl-white: #F7F7F7;
  --text-secondary: #AEB7C2;
  --divider: #222938;

  /* Glassmorphism Variables */
  --glass-bg: rgba(17, 24, 39, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Radii & Shadows */
  --radius-primary: 18px;
  --glow-blue: 0 0 20px rgba(0, 200, 255, 0.4);
  --glow-gold: 0 0 20px rgba(255, 201, 51, 0.4);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--electric-blue), var(--solar-gold));
  --gradient-bg: radial-gradient(circle at top right, rgba(0, 200, 255, 0.08), transparent 40%),
                 radial-gradient(circle at bottom left, rgba(255, 201, 51, 0.05), transparent 40%);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--deep-space);
}

body {
  background-color: var(--deep-space);
  color: var(--pearl-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: var(--gradient-bg);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--pearl-white);
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-space); }
::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* Custom Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--solar-gold);
  color: var(--deep-space);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold), 0 10px 20px rgba(0,0,0,0.2);
  background: #ffdb66;
}

.btn-secondary {
  background: transparent;
  color: var(--pearl-white);
  border: 1px solid var(--solar-gold);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
  background: rgba(255, 201, 51, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Premium Glass UI Components */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-primary);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* --- Section 1: Loading Screen --- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--deep-space);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-out;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loader-logo {
  height: 60px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 20px rgba(255, 201, 51, 0.4));
  animation: pulseGlow 2s infinite;
}
.progress-container {
  width: 200px;
  height: 4px;
  background: var(--divider);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  transition: width 0.2s ease;
}

/* --- Section 2: Navigation --- */
nav {
  position: fixed;
  top: 0; width: 100%;
  padding: 20px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--pearl-white);
  letter-spacing: -0.5px;
}
.nav-logo img { height: 40px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--pearl-white);
}

/* --- Section 3: Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 60px;
  position: relative;
  z-index: 2;
  text-align: center;
  background-image: linear-gradient(to bottom, rgba(8, 10, 18, 0.4) 0%, rgba(8, 10, 18, 1) 100%), url('../assets/hero_bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(8, 10, 18, 0.8) 100%);
  z-index: 0;
}
.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 3;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 30px;
  color: var(--electric-blue);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- Section Layouts --- */
.section-pad {
  padding: 120px 5%;
  position: relative;
  z-index: 2;
}

/* --- Section 4: About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.about-card {
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}
.about-card:hover { transform: translateY(-5px); }
.about-card i {
  font-size: 2rem;
  color: var(--electric-blue);
}
.about-card h4 { margin-bottom: 10px; font-size: 1.2rem; }
.about-card p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* --- Section 5 & 6: Features & Services --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.feature-card {
  padding: 40px;
  transition: all 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: var(--glow-blue), var(--glass-shadow);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(0, 200, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--electric-blue);
  margin-bottom: 24px;
}
.feature-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.feature-card p { color: var(--text-secondary); }

/* --- Section 7: Projects --- */
.project-card {
  border-radius: var(--radius-primary);
  overflow: hidden;
  position: relative;
  group: hover;
}
.project-img {
  width: 100%;
  height: 240px;
  background: var(--midnight-navy);
  object-fit: cover;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 2rem;
}
.project-card:hover .project-img {
  transform: scale(1.05);
}
.project-info {
  padding: 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  position: relative;
}
.project-tag {
  font-size: 0.8rem;
  color: var(--solar-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

/* --- Section 8: Statistics --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-card { padding: 40px 20px; }
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--pearl-white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-number span { color: var(--electric-blue); }
.stat-label { color: var(--text-secondary); font-size: 1.1rem; }

/* --- Section 9: Process Timeline --- */
.process-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.process-wrapper::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--divider);
}
.process-step {
  display: flex;
  gap: 30px;
  position: relative;
}
.step-number {
  width: 60px; height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: var(--deep-space);
  border: 2px solid var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--electric-blue);
  box-shadow: 0 0 15px rgba(0,200,255,0.2);
  z-index: 2;
}
.step-content {
  padding: 30px;
  width: 100%;
}
.step-content h3 { margin-bottom: 10px; font-size: 1.4rem; }
.step-content p { color: var(--text-secondary); margin: 0; }

/* --- Section 10: Slider (Placeholder for now) --- */
.slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.slider-container::-webkit-scrollbar { display: none; }
.slide-item {
  min-width: 300px;
  height: 400px;
  background: var(--midnight-navy);
  border-radius: var(--radius-primary);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

/* --- Section 11: Testimonials --- */
.testimonial-card {
  padding: 40px;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--pearl-white);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.author-info h4 { font-size: 1rem; margin-bottom: 4px; }
.author-info p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* --- Section 12: FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-primary);
  background: var(--glass-bg);
  overflow: hidden;
}
.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--electric-blue);
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 30px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-answer p { color: var(--text-secondary); margin: 0; }

/* --- Section 13: Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-primary);
  padding: 60px;
  backdrop-filter: var(--glass-blur);
}
.contact-info h3 { font-size: 2rem; margin-bottom: 20px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 40px; }
.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.method-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(255, 201, 51, 0.1);
  color: var(--solar-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.method-details h4 { font-size: 1rem; margin-bottom: 4px; }
.method-details p { color: var(--text-secondary); margin: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-control {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--divider);
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--pearl-white);
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- Section 14: Footer --- */
footer {
  padding: 80px 5% 40px;
  background: rgba(8, 10, 18, 0.9);
  border-top: 1px solid var(--divider);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 300px;
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--pearl-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--electric-blue);
  color: var(--deep-space);
  border-color: var(--electric-blue);
  transform: translateY(-3px);
}
.footer-col h4 {
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul a:hover { color: var(--solar-gold); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--divider);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  color: var(--pearl-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--electric-blue);
  color: var(--deep-space);
}
