/* ===== C3Corp — HTML Version Stylesheet ===== */

:root {
  /* Brand Colors */
  --primary: 20, 55%, 40%;
  --primary-foreground: 0, 0%, 100%;
  --primary-light: 20, 40%, 94%;
  --primary-glow: 22, 55%, 52%;

  --foreground: 220, 25%, 10%;
  --background: 0, 0%, 100%;
  --muted-foreground: 220, 10%, 48%;
  --border: 220, 14%, 90%;
  --section-dark: 220, 25%, 10%;
  --section-gray: 220, 14%, 97%;

  --gradient-hero: linear-gradient(135deg, hsla(220,25%,8%,0.88), hsla(20,50%,22%,0.55));
  --gradient-primary: linear-gradient(135deg, hsl(20,55%,40%), hsl(22,50%,52%));
  --gradient-card: linear-gradient(145deg, hsl(0,0%,100%), hsl(30,40%,98%));

  --shadow-card: 0 4px 24px -4px hsla(20,55%,40%,0.12);
  --shadow-button: 0 4px 16px hsla(20,55%,40%,0.30);
  --shadow-header: 0 2px 20px hsla(220,25%,10%,0.08);

  --radius: 0.75rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

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

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: hsl(var(--primary));
  background: hsl(var(--primary-light));
  margin-bottom: 1rem;
}
.badge-dark {
  color: hsl(var(--primary-glow));
  background: hsla(var(--primary), 0.2);
  border: 1px solid hsla(var(--primary), 0.3);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { transform: scale(1.05) translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; padding: 1rem; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: hsla(var(--background), 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-header);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.navbar-logo-img {
  height: 8rem;
  width: auto;
  transition: all 0.3s;
}
.navbar-logo-img.inverted { filter: brightness(0) invert(1); }
.navbar-links { display: flex; gap: 2rem; }
.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.navbar-links a:hover { color: #fff; }
.navbar.scrolled .navbar-links a { color: hsl(var(--muted-foreground)); }
.navbar.scrolled .navbar-links a:hover { color: hsl(var(--foreground)); }

.navbar-right { display: flex; align-items: center; gap: 0.75rem; }

/* Language switch */
.lang-switch {
  display: flex;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.3);
  overflow: hidden;
}
.navbar.scrolled .lang-switch { border-color: hsl(var(--border)); }
.lang-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--gradient-primary); color: hsl(var(--primary-foreground)); }
.navbar.scrolled .lang-btn { color: hsl(var(--muted-foreground)); }
.navbar.scrolled .lang-btn:hover { color: hsl(var(--foreground)); }
.navbar.scrolled .lang-btn.active { color: hsl(var(--primary-foreground)); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: hsl(var(--foreground)); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  padding: 0.25rem 0;
}
.mobile-menu.open { display: flex; }
.mobile-bottom { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.25rem; }
.mobile-bottom .lang-switch { border-color: hsl(var(--border)); }
.mobile-bottom .lang-btn { color: hsl(var(--muted-foreground)); }
.mobile-bottom .lang-btn.active { color: hsl(var(--primary-foreground)); }
.flex-1 { flex: 1; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  background: hsla(var(--primary), 0.2);
  border: 1px solid hsla(var(--primary), 0.4);
  color: hsl(var(--primary-glow));
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary-glow));
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}
.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-desc strong { color: #fff; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.stat { text-align: center; }
.stat-value { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: hsl(var(--primary-glow)); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: pulse 2s infinite;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section-gray { background: hsl(var(--section-gray)); }
.section-dark { background: hsl(var(--section-dark)); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 1rem; }
.section-dark .section-header h2 { color: #fff; }
.section-header p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ===== SERVICES CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); }
.service-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  transition: transform 0.3s;
}
.service-card:hover .service-card-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.5rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.75rem; }
.service-card > p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; line-height: 1.7; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.service-card li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: hsl(var(--foreground)); }
.service-card li .check {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  background: hsl(var(--primary-light));
  color: hsl(var(--primary));
}
.service-card .accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 1rem 1rem;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover .accent-bar { opacity: 1; }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: hsla(var(--primary), 0.3); box-shadow: var(--shadow-card); }
.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: hsl(var(--primary-light));
  color: hsl(var(--primary));
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 0.25rem; font-size: 1rem; }
.feature-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; }
.about-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  opacity: 0.2;
  filter: blur(24px);
  background: var(--gradient-primary);
}
.about-card-inner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  background: var(--gradient-primary);
  height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.about-logo { height: 6rem; width: auto; margin-bottom: 2rem; filter: brightness(0) invert(1); opacity: 0.9; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; color: hsl(var(--primary-foreground)); }
.stat-value-white { font-size: 1.5rem; font-weight: 700; }
.stat-label-white { font-size: 0.75rem; opacity: 0.75; }
.about-text h2 { font-size: 2.5rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 1.5rem; }
.about-text > p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1.5rem; }
.about-text > p:first-of-type { font-size: 1.125rem; }
.regime-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.regime-tag {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsla(var(--primary), 0.3);
  color: hsl(var(--primary));
  background: hsl(var(--primary-light));
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.contact-info > p { color: rgba(255,255,255,0.6); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: hsla(var(--primary), 0.2);
  color: hsl(var(--primary-glow));
}
.contact-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-value { color: #fff; font-weight: 500; }

.contact-form-wrapper {
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.contact-form-wrapper h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: hsla(var(--primary), 0.5);
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}

.form-success { text-align: center; padding: 3rem 0; }
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
}
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.form-success p { color: rgba(255,255,255,0.6); }

/* ===== FOOTER ===== */
.footer {
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo { height: 7rem; width: auto; }
.footer-inner p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); text-align: center; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.footer-links a:hover { color: hsl(var(--foreground)); transition: color 0.2s; }

/* ===== SVG ICONS ===== */
.icon-svg { width: 26px; height: 26px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-right { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .cards-grid, .features-grid { grid-template-columns: 1fr; }
  .section-header h2, .about-text h2, .contact-info h2 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
