/* CSS Reset & Variables */
:root {
  /* Ultra Modern Dark Theme */
  --bg-primary: #050510;
  --bg-secondary: #0a0a1f; /* A bit lighter */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;

  /* Vibrant Accents */
  --accent-color: #3b82f6; /* Blue 500 */
  --accent-purple: #8b5cf6; /* Violet 500 */
  --accent-cyan: #06b6d4; /* Cyan 500 */

  --gradient-primary: linear-gradient(
    135deg,
    var(--accent-color),
    var(--accent-purple)
  );
  --gradient-text: linear-gradient(90deg, #60a5fa, #c084fc);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-highlight: rgba(255, 255, 255, 0.1);

  --font-main: "Inter", system-ui, -apple-system, sans-serif;

  --container-width: 1200px;
  --spacing-md: 2rem;
  --spacing-lg: 6rem;

  --radius-md: 16px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 40%
    );
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.25rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
  height: 48px; /* Slightly larger */
}

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

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-contact {
  background: var(--gradient-primary);
  padding: 0.6rem 1.8rem;
  border-radius: 99px;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-contact:hover {
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: white;
  margin: 6px 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.12) 0%,
    transparent 60%
  );
  z-index: -1;
  pointer-events: none;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.badge {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.hero-text p {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-glow {
  background: var(
    --gradient-primary
  ); /* Override for primary look if desired, but sticking to white for contrast or gradient */
  color: white;
  background: var(--accent-color);
}
.btn-glow:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(5px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.glass-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* bouncy effect */
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  opacity: 0; /* JS can toggle this for spotlight effect, or just keep simple hover */
  transition: opacity 0.3s;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.glass-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* About Section */
.about-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.about-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.about-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: #fff;
}

.check-icon {
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.contact-info {
  max-width: 100%; /* Allow full width for grid */
  width: 100%;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.info-item {
  background: var(--glass-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column; /* Stack icon and text for better vertical grid look, or keep row? row is better for 3 cols if wide enough */
  align-items: center; /* Center content in the card */
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: 0.3s;
  width: 100%;
  margin: 0;
  height: 100%;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  border-color: var(--accent-color);
}

.info-item .icon {
  width: 48px;
  height: 48px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.info-item h4 {
  color: #fff;
  margin-bottom: 0.2rem;
}

.info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--glass-bg);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.form-group label {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  display: block;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 2rem;
  }

  .about-list {
    flex-direction: column;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .contact-grid-container {
    grid-template-columns: 1fr;
  }
}
