/* 
  KieFIT – Kieler Förde IT Beratung
  Design System & Stylesheet
*/

:root {
  /* Color Palette */
  --navy-deep: #071527;
  --navy-main: #0f2b48;
  --navy-card: #15385d;
  --navy-light: #1e4a78;

  --cyan-bright: #00b4d8;
  --cyan-glow: rgba(0, 180, 216, 0.25);
  --blue-vibrant: #3a86ff;
  --gold-accent: #f39c12;

  --slate-dark: #0f172a;
  --slate-body: #334155;
  --slate-muted: #64748b;
  --slate-light: #f8fafc;
  
  --white: #ffffff;
  --border-light: rgba(148, 163, 184, 0.2);
  --border-glow: rgba(0, 180, 216, 0.3);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 43, 72, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(0, 180, 216, 0.15);
  --shadow-card-hover: 0 20px 35px -10px rgba(0, 180, 216, 0.22);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Decorative Layers */
.bg-waves-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 200%;
  height: 600px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.07), transparent 70%);
  border-radius: 43%;
  animation: rotateWave 25s infinite linear;
}

.wave1 {
  top: -200px;
  left: -50%;
  opacity: 0.8;
}

.wave2 {
  top: 800px;
  right: -50%;
  animation-duration: 35s;
  animation-direction: reverse;
  opacity: 0.5;
}

@keyframes rotateWave {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p {
  color: #cbd5e1;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--cyan-bright);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan-bright);
  background: rgba(0, 180, 216, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 180, 216, 0.3);
  margin-bottom: 16px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section-desc {
  margin-top: 16px;
  font-size: 1.1rem;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 18px 0;
  background: rgba(7, 21, 39, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 21, 39, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo-wrapper {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.brand-logo-svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--cyan-bright);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-bright);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.phone-cta-btn:hover {
  background: var(--cyan-bright);
  color: var(--navy-deep);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.phone-cta-btn .icon {
  width: 16px;
  height: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--blue-vibrant) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.btn-full {
  width: 100%;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-bright);
  margin-bottom: 24px;
}

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

.hero-lead {
  font-size: 1.2rem;
  margin: 20px 0 32px 0;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Trust Badges Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.trust-item small {
  font-size: 0.8rem;
  color: var(--slate-muted);
}

/* Tech Card Visual */
.hero-visual {
  position: relative;
}

.tech-card-wrapper {
  position: relative;
}

.tech-card-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue-vibrant));
  filter: blur(25px);
  opacity: 0.3;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.tech-card {
  position: relative;
  z-index: 1;
  background: var(--navy-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card-header-bar {
  background: rgba(7, 21, 39, 0.6);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-title-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 8px;
}

.card-body {
  padding: 24px;
}

.pc-illustration {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background: rgba(7, 21, 39, 0.4);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.status-item.ok .status-icon {
  color: #10b981;
  font-weight: bold;
}

/* Apple Disclaimer Box */
.apple-disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-top: 24px;
  font-size: 0.9rem;
  color: #fca5a5;
  text-align: left;
}

.apple-disclaimer-box .info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ef4444;
  margin-top: 2px;
}

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

.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(58, 134, 255, 0.15) 100%);
  border: 1px solid rgba(0, 180, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  margin-bottom: 20px;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.service-checklist li {
  font-size: 0.88rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-checklist li span {
  color: var(--cyan-bright);
  font-weight: bold;
}

/* About Section */
.about-section {
  background: rgba(15, 43, 72, 0.3);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-card-frame {
  background: var(--navy-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-avatar-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px auto;
}

.avatar-svg {
  width: 100%;
  height: 100%;
}

.about-badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--white);
}

.about-badge span {
  font-size: 0.95rem;
  color: var(--cyan-bright);
}

.exp-tag {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem !important;
  color: var(--slate-muted) !important;
  background: rgba(7, 21, 39, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.about-text-column .lead-text {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 16px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.principle-item {
  display: flex;
  gap: 14px;
  background: rgba(7, 21, 39, 0.4);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.p-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--cyan-bright);
}

.principle-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.principle-item p {
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Pricing Section */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 50px;
}

.price-card {
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--navy-card) 0%, rgba(15, 43, 72, 0.95) 100%);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue-vibrant));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.rate-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card h3 {
  margin: 8px 0 16px 0;
  font-size: 1.25rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-amount .num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.price-amount .unit {
  font-size: 1rem;
  color: var(--slate-muted);
}

.price-note {
  font-size: 0.82rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-features li span {
  color: var(--cyan-bright);
  font-weight: bold;
}

.price-facts-card {
  background: rgba(7, 21, 39, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fact-row {
  display: flex;
  gap: 12px;
}

.fact-icon {
  width: 22px;
  height: 22px;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.fact-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.fact-row p {
  font-size: 0.8rem;
}

.payment-methods {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.pay-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;

}

.pay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  color: #cbd5e1;
}

.vat-note {
  font-size: 0.75rem;
  color: var(--slate-muted);
  display: block;
}

/* Calculator Box */
.calc-box {
  background: var(--navy-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-icon {
  width: 36px;
  height: 36px;
  color: var(--cyan-bright);
}

.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-select, .calc-slider {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--navy-deep);
  border: 1px solid var(--border-light);
  color: var(--white);
  font-family: var(--font-body);
}

.calc-result {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.calc-result strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--cyan-bright);
}

/* Remote Support Section */
.remote-banner {
  background: linear-gradient(135deg, var(--navy-card) 0%, rgba(0, 180, 216, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.remote-download-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-btn-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(7, 21, 39, 0.6);
  border: 1px solid var(--border-light);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--white);
  transition: all 0.25s ease;
}

.download-btn-card:hover {
  background: var(--navy-deep);
  border-color: var(--cyan-bright);
  transform: translateX(5px);
}

.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.dl-icon svg {
  width: 22px;
  height: 22px;
}

.dl-info strong {
  display: block;
  font-size: 1.05rem;
}

.dl-info span {
  font-size: 0.8rem;
  color: var(--slate-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-intro {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--navy-card);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--white);
  transition: all 0.25s ease;
}

.contact-method-card:hover {
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
}

.cm-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cm-icon svg {
  width: 22px;
  height: 22px;
}

.cm-icon.phone { background: rgba(0, 180, 216, 0.15); color: var(--cyan-bright); }
.cm-icon.wa { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.cm-icon.email { background: rgba(58, 134, 255, 0.15); color: var(--blue-vibrant); }

.cm-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan-bright);
  margin: 2px 0;
}

.location-notice-box {
  display: flex;
  gap: 14px;
  background: rgba(7, 21, 39, 0.5);
  border: 1px solid var(--border-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.loc-icon {
  width: 24px;
  height: 24px;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  background: var(--navy-card);
  border: 1px solid var(--border-glow);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: 6px;
}

.contact-form p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-deep);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-bright);
}

.form-success-msg {
  margin-top: 16px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #a7f3d0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-light);
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-svg {
  width: 38px;
  height: 38px;
}

.footer-logo strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
}

.footer-logo span {
  font-size: 0.75rem;
  color: var(--slate-muted);
}

.footer-tagline {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-inner h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-inner ul a, .modal-link-btn {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.footer-inner ul a:hover, .modal-link-btn:hover {
  color: var(--cyan-bright);
}

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fb-icon {
  width: 16px;
  height: 16px;
  color: #1877f2;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--slate-muted);
}

/* Legal Modal */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal {
  background: var(--navy-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.legal-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-modal-content h2 {
  margin-bottom: 20px;
}

.legal-modal-content h3, .legal-modal-content h4 {
  margin: 20px 0 10px 0;
}

.legal-modal-content p, .legal-modal-content address {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container, .about-grid, .contact-grid, .remote-banner {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

  .calc-controls {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy-deep);
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .trust-grid, .principles-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
