/* Ciccosoft Inc — Official site
   Refined, professional tech aesthetic */

:root {
  --color-bg: #0c0e12;
  --color-surface: #14171f;
  --color-surface-elevated: #1a1e28;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e8eaed;
  --color-text-muted: #9ca3af;
  --color-accent: #3b82f6;
  --color-accent-soft: rgba(59, 130, 246, 0.15);
  --font-display: "Outfit", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Outfit", sans-serif;
  --space-unit: 8px;
  --radius: 12px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);
  background: rgba(12, 14, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: calc(var(--space-unit) * 3);
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-unit) * 8) calc(var(--space-unit) * 3);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-accent-soft), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.06), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.hero-logo {
  display: block;
  width: auto;
  max-width: min(320px, 75vw);
  height: auto;
  max-height: 96px;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.hero-scroll {
  position: absolute;
  bottom: calc(var(--space-unit) * 4);
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
  opacity: 0.6;
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); transform-origin: top; }
}

/* Section common */
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 calc(var(--space-unit) * 4);
  color: var(--color-text);
}

/* About */
.about {
  padding: calc(var(--space-unit) * 12) calc(var(--space-unit) * 3);
  background: var(--color-surface);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 calc(var(--space-unit) * 1);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 0 0 calc(var(--space-unit) * 6);
  padding-bottom: calc(var(--space-unit) * 3);
  border-bottom: 1px solid var(--color-border);
}

.about-story {
  margin-bottom: calc(var(--space-unit) * 6);
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 calc(var(--space-unit) * 2);
}

.about-lead strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-lead-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

.about-lead-sub strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-quote {
  margin: 0 0 calc(var(--space-unit) * 6);
  padding: calc(var(--space-unit) * 3) 0 calc(var(--space-unit) * 3) calc(var(--space-unit) * 4);
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-quote-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.about-business,
.about-values,
.about-company {
  margin-bottom: calc(var(--space-unit) * 6);
}

.about-business:last-of-type,
.about-values:last-of-type,
.about-company:last-of-type {
  margin-bottom: 0;
}

.about-subtitle {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
  margin: 0 0 calc(var(--space-unit) * 2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-business-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: calc(var(--space-unit) * 2);
  padding-left: 1em;
  position: relative;
}

.about-business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

.about-business-item {
  color: var(--color-text);
  font-weight: 500;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: calc(var(--space-unit) * 3);
}

.about-value-item {
  padding: calc(var(--space-unit) * 2) 0;
  border-bottom: 1px solid var(--color-border);
}

.about-value-item:last-child {
  border-bottom: none;
}

.about-value-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: calc(var(--space-unit) * 0.5);
}

.about-value-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(var(--space-unit) * 1) calc(var(--space-unit) * 4);
  margin: 0;
  padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 4);
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  max-width: 420px;
}

.about-dl dt {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
}

.about-dl dd {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

/* Strengths */
.strengths {
  padding: calc(var(--space-unit) * 10) calc(var(--space-unit) * 3);
  background: var(--color-bg);
}

.strengths-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.strengths-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 calc(var(--space-unit) * 5);
  max-width: 48ch;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--space-unit) * 3);
}

.strength-card {
  padding: calc(var(--space-unit) * 4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.strength-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.strength-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(var(--space-unit) * 2);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 10px;
}

.strength-icon svg {
  flex-shrink: 0;
}

.strength-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 calc(var(--space-unit) * 1);
  color: var(--color-text);
}

.strength-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* Contact */
.contact {
  padding: calc(var(--space-unit) * 10) calc(var(--space-unit) * 3);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-text {
  color: var(--color-text-muted);
  margin: 0 0 calc(var(--space-unit) * 2);
}

.contact-email {
  margin: 0;
  font-size: 1.125rem;
}

.contact-email a {
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-email a:hover {
  color: var(--color-text);
}

/* Footer */
.footer {
  padding: calc(var(--space-unit) * 4) calc(var(--space-unit) * 3);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: var(--space-unit);
  }

  .nav {
    width: 100%;
    justify-content: flex-end;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }
}
