/* Force Coefficient LLC — C Force
   Dark theme, mobile-first */

:root {
  --bg: #1a1a1c;
  --bg-soft: #222224;
  --text: #f5f5f5;
  --text-muted: #a0a0a8;
  --accent: #e8e8ec;
  --radius: 12px;
  --space: clamp(1.5rem, 5vw, 3rem);
  --font: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space) var(--space) calc(var(--space) * 1.5);
  text-align: center;
}

.hero-content {
  animation: fadeUp 0.8s ease-out both;
}

.logo {
  display: block;
  margin: 0 auto 1.25rem;
  width: clamp(120px, 28vw, 160px);
  height: auto;
  animation: logoReveal 1s ease-out 0.2s both;
}

.company-name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.abbrev {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: fadeUp 0.6s ease-out 0.4s both;
}

.tagline {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s ease-out 0.5s both;
}

/* About */
.about {
  padding: calc(var(--space) * 1.5) 0;
  background: var(--bg-soft);
}

.about .container {
  animation: fadeUp 0.7s ease-out both;
}

.about h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: calc(var(--space) * 1.5) 0 calc(var(--space) * 2);
}

.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-intro {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.7s ease-out both;
}

.contact-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

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

.btn {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--text);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

/* Footer */
.site-footer {
  padding: var(--space) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle motion on scroll (reduce for prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: fadeUp 0.8s ease-out both;
  }

  .about .container,
  .contact-form {
    opacity: 0;
    transform: translateY(16px);
  }

  .about .container.visible,
  .contact-form.visible {
    animation: fadeUp 0.6s ease-out forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .logo,
  .company-name,
  .abbrev,
  .tagline {
    animation: none;
  }
}
