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

:root {
  --bg-dark: #050510;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --text-main: #f0f0f5;
  --text-muted: #a0a0b5;
  --accent-cyan: #00e5ff;
  --accent-purple: #d53a9d;
  --gradient-glow: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(213, 58, 157, 0.2));
  --gradient-primary: linear-gradient(135deg, #00e5ff, #d53a9d);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
}

/* Glassmorphism Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-card-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

nav a:hover, nav a.active {
  color: var(--accent-cyan);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Base Sections */
section {
  padding: 120px 0;
  position: relative;
}

/* Typography Enhancements */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213, 58, 157, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.glass-card p {
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glowing Orbs for the background */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.2);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(213, 58, 157, 0.2);
  top: 40%;
  right: -50px;
}
.orb-3 {
  width: 500px;
  height: 500px;
  background: rgba(0, 229, 255, 0.1);
  bottom: -200px;
  left: 20%;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 0 20px;
  border-top: 1px solid var(--bg-card-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  display: inline-block;
  text-decoration: none;
}

.footer-about {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

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

/* Page Headers */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Forms */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Image adjustments */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Home specific hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Custom Content Components */
.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tech-tag:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 40px 0;
  width: 100%;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(213, 58, 157, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-num {
  transform: scale(1.1);
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.step-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    flex-direction: column;
    gap: 40px;
  }
  .process-timeline::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
  }
  .hero {
    text-align: center;
  }
  .hero p {
    margin: 0 auto 30px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: left 0.4s ease;
  }
  
  nav ul.show {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
}

/* Form UI Components */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
}

select.form-control option {
  background: var(--bg-dark);
  color: var(--text-main);
}

.form-section {
  display: none;
  animation: fadeIn 0.4s;
}

.form-section.active {
  display: block;
}

.custom-radio-group, .custom-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.custom-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.custom-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-option .option-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
  height: 100%;
}

.custom-option input:checked ~ .option-card {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.custom-option:hover .option-card {
  background: rgba(255, 255, 255, 0.08);
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--bg-card-border);
  padding-top: 20px;
}

.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  border: 2px dashed var(--bg-card-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-muted);
  transition: all 0.3s;
}

.file-upload-wrapper:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom Mobile Enhancements */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .form-navigation {
    flex-direction: column-reverse;
    gap: 15px;
  }
  .form-navigation .btn {
    width: 100%;
    margin: 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .glass-card {
    padding: 25px 20px;
  }
  .page-header {
    padding-top: 100px;
    padding-bottom: 40px;
  }
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  position: relative;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-body h3 {
  color: var(--accent-cyan);
  margin-bottom: 15px;
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
}

.modal-body li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-body li::before {
  content: '👉';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
}
