/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
:root {
  /* Colors */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 36, 0.6);
  --bg-card-hover: rgba(22, 32, 53, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(0, 242, 254, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --color-cyan: #00f2fe;
  --color-purple: #9b51e0;
  --color-blue: #3b82f6;
  --color-green: #10b981;
  --color-yellow: #f59e0b;
  --color-red: #ef4444;
  
  --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 50%, var(--color-purple) 100%);
  --gradient-text: linear-gradient(135deg, var(--color-cyan) 0%, #38bdf8 50%, var(--color-purple) 100%);
  
  /* Fonts */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ----------------------------------------------------
   BASE STYLE Reset
   ---------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* Ambient Background Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--color-cyan);
  top: -100px;
  right: -100px;
  animation: floatBlob 20s infinite alternate;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--color-purple);
  top: 50%;
  left: -200px;
  animation: floatBlob 25s infinite alternate-reverse;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--color-blue);
  bottom: -100px;
  right: 10%;
  animation: floatBlob 18s infinite alternate;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.9); }
}

/* ----------------------------------------------------
   UTILITIES
   ---------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

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

/* ----------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ----------------------------------------------------
   BUTTONS
   ---------------------------------------------------- */
.btn {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  position: relative;
  text-decoration: none;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: #07090e;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-nav {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--color-cyan);
}

.btn-nav:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-spinner {
  border: 2px solid rgba(7, 9, 14, 0.2);
  border-left-color: #07090e;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 0.8s linear infinite;
  display: none;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------
   HEADER
   ---------------------------------------------------- */
.site-header {
  backdrop-filter: blur(12px);
  background-color: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

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

.logo {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
}

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

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

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

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  background: var(--gradient-primary);
  bottom: -6px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  width: 100%;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  height: 24px;
  justify-content: center;
  width: 30px;
  z-index: 200;
}

.menu-toggle span {
  background-color: var(--text-primary);
  border-radius: 2px;
  height: 2px;
  transition: var(--transition-fast);
  width: 100%;
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
  text-align: center;
}

.hero-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 860px;
}

.hero-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-secondary);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 0.5rem 1.2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  height: 8px;
  width: 8px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

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

/* ----------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------- */
.services-section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.2rem;
}

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

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(300px circle at var(--x, 0) var(--y, 0), rgba(255, 255, 255, 0.04), transparent 80%);
  pointer-events: none;
}

.service-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
}

.service-icon {
  align-items: center;
  border-radius: 12px;
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 2rem;
  width: 48px;
  transition: var(--transition-smooth);
}

.card-security .service-icon {
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-cyan);
}

.card-infrastructure .service-icon {
  background: rgba(155, 81, 224, 0.1);
  color: var(--color-purple);
}

.card-development .service-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-blue);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-bullets {
  list-style: none;
}

.service-bullets li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-bullets li::before {
  background: var(--gradient-primary);
  border-radius: 50%;
  content: '';
  height: 6px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
}

/* Highlight Hover Colors on Card Borders */
.card-security:hover { border-color: rgba(0, 242, 254, 0.35); box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05); }
.card-infrastructure:hover { border-color: rgba(155, 81, 224, 0.35); box-shadow: 0 10px 30px rgba(155, 81, 224, 0.05); }
.card-development:hover { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.05); }

/* ----------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------- */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.skill-tag {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Console Simulation Graphic */
.console-box {
  background-color: #0b0f19;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
}

.console-header {
  align-items: center;
  background-color: #0f1524;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 6px;
  padding: 0.8rem 1.2rem;
}

.console-header .dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.console-header .dot.red { background-color: var(--color-red); }
.console-header .dot.yellow { background-color: var(--color-yellow); }
.console-header .dot.green { background-color: var(--color-green); }

.console-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 1rem;
}

.console-body {
  padding: 1.5rem;
  font-size: 0.85rem;
}

.console-line {
  margin-bottom: 0.75rem;
}

.console-line:last-child {
  margin-bottom: 0;
}

.console-line .prompt {
  color: var(--color-cyan);
}

.console-line.success { color: var(--color-green); }
.console-line.warning { color: var(--color-yellow); }
.console-line.info { color: var(--color-blue); }
.console-line.error { color: var(--color-red); }
.font-bold { font-weight: bold; }

/* ----------------------------------------------------
   PROCESS SECTION
   ---------------------------------------------------- */
.process-section {
  padding: 100px 0;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ----------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------- */
.contact-section {
  padding: 100px 0 140px;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
}

.item-icon {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--color-cyan);
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.contact-item h5 {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-item a:hover {
  color: var(--color-cyan);
}

/* Glassmorphism Form */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-group input, .form-group textarea {
  background-color: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  transition: var(--transition-fast);
  width: 100%;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  background-color: rgba(7, 9, 14, 0.85);
}

.captcha-container {
  margin: 0.5rem 0;
}

/* Form Submission Status Box */
.form-status {
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1rem;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  display: block;
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  display: block;
}

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

/* ----------------------------------------------------
   FOOTER
   ---------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background-color: #040508;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-meta {
  font-size: 0.8rem;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ---------------------------------------------------- */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-graphic {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  /* Header & Mobile Menu */
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 3rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 99;
  }
  
  .main-nav.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .btn-nav {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    width: 100%;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Layout grids */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
