/**
 * Tech-Cloud Modern Design System
 * Enterprise Cloud & IT Infrastructure Theme
 */

:root {
  --bg-darkest: #050811;
  --bg-main: #0a0f1d;
  --bg-card: rgba(16, 24, 46, 0.75);
  --bg-card-hover: rgba(22, 34, 66, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 210, 255, 0.3);
  --border-accent-bright: #00d2ff;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #00d2ff;
  --accent-blue: #3a7bd5;
  --accent-indigo: #6366f1;
  --accent-glow: rgba(0, 210, 255, 0.25);
  --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #6366f1 100%);
  --accent-gradient-text: linear-gradient(135deg, #38bdf8 0%, #00d2ff 50%, #818cf8 100%);
  
  --card-radius: 16px;
  --pill-radius: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover, a:focus {
  color: #7dd3fc;
  text-decoration: none;
}

/* Gradient Text Helper */
.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Subtle Grid Background Pattern */
.bg-grid-pattern {
  position: relative;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Top Quick Info Bar */
.top-bar {
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  padding: 8px 0;
  color: var(--text-muted);
}

.top-bar .info-item {
  display: inline-flex;
  align-items: center;
  margin-right: 24px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.top-bar .info-item:hover {
  color: var(--accent-cyan);
}

.top-bar .info-item i {
  color: var(--accent-cyan);
  margin-right: 8px;
}

.top-bar .status-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--pill-radius);
}

.top-bar .status-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Sticky Glassmorphic Navbar */
.tc-navbar {
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition-smooth);
}

.tc-navbar.scrolled {
  background: rgba(6, 10, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 210, 255, 0.15);
  padding: 8px 0;
}

.tc-navbar .navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}

.tc-navbar .navbar-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.2));
  transition: var(--transition-smooth);
}

.tc-navbar .navbar-brand:hover img {
  transform: scale(1.03);
}

.tc-navbar .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.tc-navbar .nav-link:hover,
.tc-navbar .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.04);
}

.tc-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.tc-btn-nav {
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px !important;
  border-radius: var(--pill-radius);
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
  margin-left: 12px;
  border: none;
  transition: var(--transition-smooth);
}

.tc-btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  color: #ffffff !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 100px 0;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 6px 16px;
  border-radius: var(--pill-radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-hero-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--pill-radius);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.35);
  border: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.5);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--pill-radius);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

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

/* Stats Counter Row */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card {
  text-align: center;
  padding: 8px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Common Styling */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Modern Card Layouts */
.tc-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 36px 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition-smooth);
}

.tc-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 210, 255, 0.12);
}

.tc-card:hover::before {
  background: var(--accent-gradient);
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-cyan);
  font-size: 26px;
  transition: var(--transition-smooth);
}

.tc-card:hover .card-icon-wrapper {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.35);
}

.tc-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tc-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}

.card-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.card-feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-feature-list li i {
  color: var(--accent-cyan);
  font-size: 12px;
}

/* Technical Expertise Section */
.expertise-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--pill-radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.tech-pill:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.4);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Partners Showcase */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.partner-card {
  background: rgba(16, 24, 46, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none !important;
  height: 120px;
}

.partner-card img {
  max-height: 44px;
  max-width: 100px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%) brightness(1.4);
  transition: var(--transition-smooth);
}

.partner-card .partner-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.partner-card:hover {
  background: rgba(22, 34, 66, 0.9);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 210, 255, 0.15);
}

.partner-card:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}

.partner-card:hover .partner-name {
  color: var(--accent-cyan);
}

/* Contact Section & Form */
.contact-container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.contact-info-panel {
  background: linear-gradient(135deg, rgba(14, 23, 47, 0.95) 0%, rgba(8, 14, 30, 0.95) 100%);
  padding: 48px 40px;
  height: 100%;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-meta h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.contact-meta p, .contact-meta a {
  font-size: 15px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 500;
}

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

.contact-form-panel {
  padding: 48px 40px;
}

.form-group-modern {
  margin-bottom: 20px;
}

.form-label-modern {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.form-label-modern .required {
  color: #f43f5e;
}

.form-control-modern {
  width: 100%;
  background: rgba(5, 8, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-control-modern:focus {
  background: rgba(5, 8, 17, 0.85);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2);
  outline: none;
}

.form-control-modern::placeholder {
  color: #475569;
}

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

.btn-submit-modern {
  width: 100%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.3);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-modern:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.5);
}

.btn-submit-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modern Form Feedback Alert */
.tc-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.tc-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.tc-alert-error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

/* Footer */
.tc-footer {
  background: #03060c;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  font-size: 14px;
  color: var(--text-muted);
}

.tc-footer .footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.tc-footer p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.tc-footer h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.tc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.tc-footer ul li a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 13px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 70px 0 60px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .stats-container {
    grid-template-columns: 1fr;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 20px;
  }
  .top-bar {
    display: none;
  }
  .section-title {
    font-size: 28px;
  }
}
