/* ==========================================================================
   THINK180 - DESIGN SYSTEM & STYLESHEET
   Theme: Cyber-Corporate Dark Neón Mode
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07070B;
  --bg-card: rgba(18, 18, 28, 0.7);
  --bg-card-hover: rgba(28, 28, 45, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 240, 255, 0.3);

  /* Neon Accents */
  --neon-cyan: #00F0FF;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);
  --neon-purple: #7000FF;
  --neon-purple-glow: rgba(112, 0, 255, 0.4);
  --neon-pink: #FF007A;

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #A0A0B8;
  --text-dim: #64647D;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.35);
  --glow-purple: 0 0 25px rgba(112, 0, 255, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Grids & Ambient Lighting */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: pulseOrb 8s infinite alternate ease-in-out;
}

.ambient-orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
}

.ambient-orb-2 {
  top: 30%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--neon-cyan), transparent 70%);
  animation-delay: -4s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
  100% { transform: scale(1.15) translate(30px, -20px); opacity: 0.4; }
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--neon-cyan) 60%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), #4900B3);
  color: #FFFFFF;
  box-shadow: var(--glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(112, 0, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(7, 7, 11, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
  padding: 0.85rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFF;
  text-decoration: none;
}

.logo-badge {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--neon-cyan);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-neon);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services Section */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-card:nth-child(2) .service-icon {
  background: rgba(112, 0, 255, 0.1);
  border-color: rgba(112, 0, 255, 0.3);
  color: var(--neon-purple);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(255, 0, 122, 0.1);
  border-color: rgba(255, 0, 122, 0.3);
  color: var(--neon-pink);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.service-features li i {
  color: var(--neon-cyan);
  font-size: 0.8rem;
}

.service-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Accordion Details Drawer for Services */
.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  margin-top: 1rem;
  padding: 0 1.25rem;
}

.service-details.open {
  padding: 1.25rem;
  max-height: 500px;
}

.details-title {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

/* Methodology / Process Section */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  position: relative;
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Interactive Calculator Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 650px;
  background: #0E0E17;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #FFF;
  border-color: var(--neon-cyan);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 4rem 0 2rem 0;
  background: #040407;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h5 {
  color: #FFF;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
