/* ===============================
   Digital Buy All Device One Page Website
   Responsive CSS
================================ */

:root {
  --blue: #0052D4;
  --blue-dark: #003A96;
  --green: #00B894;
  --yellow: #FEE500;
  --dark: #101828;
  --gray: #475467;
  --white: #ffffff;
  --line: #EAECF0;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  word-break: keep-all;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 26px;
  font-weight: 700;
  color: #344054;
}

.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  padding: 92px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 184, 148, 0.18), transparent 28%),
    linear-gradient(135deg, #F7FBFF 0%, #EEF6FF 45%, #FFFFFF 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -200px;
  bottom: -220px;
  background: rgba(0, 82, 212, 0.12);
  border-radius: 999px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 82, 212, 0.09);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.hero-sub {
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #243B65;
}

.hero-checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  color: #344054;
  font-size: 17px;
}

.hero-checks li {
  position: relative;
  padding-left: 30px;
}

.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-buttons.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #2979FF);
  box-shadow: 0 14px 28px rgba(0, 82, 212, 0.25);
}

.btn-sms {
  color: white;
  background: linear-gradient(135deg, var(--green), #12B76A);
  box-shadow: 0 14px 28px rgba(0, 184, 148, 0.24);
}

.btn-outline {
  color: var(--blue);
  border: 1px solid rgba(0, 82, 212, 0.3);
  background: white;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.hero-card-top span {
  font-weight: 800;
  color: var(--gray);
}

.hero-card-top strong {
  padding: 8px 14px;
  color: white;
  background: var(--green);
  border-radius: 999px;
}

/* Combined device visual */
.device-combo-visual {
  position: relative;
  height: 280px;
  margin-bottom: 28px;
}

.combo-laptop {
  position: absolute;
  left: 5%;
  top: 46px;
  width: 72%;
  height: 168px;
  border-radius: 22px 22px 10px 10px;
  background: linear-gradient(135deg, #0B1F4D, #0052D4);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.12), 0 20px 34px rgba(0,82,212,0.18);
}

.combo-laptop::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -20px;
  width: 116%;
  height: 20px;
  background: linear-gradient(180deg, #D0D5DD, #98A2B3);
  border-radius: 0 0 24px 24px;
}

.combo-camera {
  position: absolute;
  right: 2%;
  bottom: 30px;
  width: 150px;
  height: 104px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #344054);
  box-shadow: 0 18px 32px rgba(16,24,40,0.2);
}

.combo-camera::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -18px;
  width: 56px;
  height: 28px;
  border-radius: 14px 14px 6px 6px;
  background: #344054;
}

.combo-lens {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 17%, #7DD3FC 18% 36%, #0052D4 37% 58%, #101828 59% 100%);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.16);
}

.combo-tablet {
  position: absolute;
  right: 18%;
  top: 4px;
  width: 82px;
  height: 122px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00B894, #0052D4);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,0.18), 0 14px 28px rgba(0,82,212,0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  padding: 16px 10px;
  border-radius: 18px;
  text-align: center;
  background: #F8FAFC;
  border: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 22px;
  color: var(--blue);
}

.hero-stats span {
  display: block;
  font-size: 13px;
  color: var(--gray);
  font-weight: 700;
}

/* Section */
.section { padding: 92px 0; }
.section-soft { background: #F8FAFC; }

.section-title {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-title span {
  color: var(--blue);
  font-weight: 900;
}

.section-title h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.section-title p {
  margin: 0;
  color: var(--gray);
  font-size: 18px;
}

.item-grid,
.value-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.item-card,
.value-card,
.review-card,
.process-step,
.location-info {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.item-card .icon,
.value-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 82, 212, 0.08);
  font-size: 28px;
  margin-bottom: 18px;
}

.item-card h3,
.value-card h3,
.process-step h3,
.location-info h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.item-card p,
.value-card p,
.process-step p {
  margin: 0;
  color: var(--gray);
}

.notice-box {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #ECFDF3;
  color: #067647;
  font-weight: 800;
  text-align: center;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step b {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 28px;
}

/* Reviews */
.section-dark {
  background: linear-gradient(135deg, #101828, #122B5C);
  color: white;
}

.section-title.light span { color: #7DD3FC; }

.section-title.light p {
  color: rgba(255, 255, 255, 0.72);
}

.review-card { color: var(--dark); }

.stars {
  color: #FFB800;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.review-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.review-card p {
  color: var(--gray);
  margin: 0 0 20px;
}

.review-card span {
  color: var(--blue);
  font-weight: 900;
}

/* Location */
.location-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.map-box {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.location-info ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 14px;
}

.location-info li { color: var(--gray); }

.location-info strong {
  display: block;
  color: var(--dark);
  margin-bottom: 3px;
}

.location-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Final CTA */
.final-cta {
  padding: 78px 0;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.final-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

/* Footer */
.footer {
  padding: 34px 0 110px;
  background: #0B1220;
  color: white;
  text-align: center;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.66);
}

.footer .small { font-size: 14px; }

/* Floating CTA */
.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 10px;
  width: min(560px, calc(100% - 28px));
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.22);
  border: 1px solid rgba(234, 236, 240, 0.9);
}

.floating-cta a {
  flex: 1;
  min-height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.float-call {
  background: linear-gradient(135deg, var(--blue), #2979FF);
  color: white;
}

.float-sms {
  background: linear-gradient(135deg, var(--green), #12B76A);
  color: white;
}

/* Responsive */
@media (max-width: 920px) {
  .nav { display: none; }

  .hero { padding: 64px 0 72px; }

  .hero-inner,
  .location-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .item-grid,
  .value-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }

  .header-inner { height: 64px; }

  .logo { font-size: 22px; }

  .hero h1 { font-size: 36px; }

  .hero-sub { font-size: 18px; }

  .hero-buttons {
    display: grid;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 0 16px;
    font-size: 15px;
  }

  .section { padding: 68px 0; }

  .section-title { margin-bottom: 30px; }

  .section-title h2 { font-size: 30px; }

  .section-title p { font-size: 16px; }

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

  .item-card,
  .value-card,
  .review-card,
  .process-step,
  .location-info {
    padding: 24px;
  }

  .device-combo-visual {
    height: 240px;
  }

  .combo-laptop {
    top: 48px;
    width: 70%;
    height: 142px;
    font-size: 18px;
  }

  .combo-camera {
    width: 118px;
    height: 84px;
    bottom: 26px;
  }

  .combo-lens {
    width: 58px;
    height: 58px;
  }

  .combo-tablet {
    right: 14%;
    width: 62px;
    height: 94px;
  }

  .hero-stats { gap: 8px; }

  .hero-stats div { padding: 12px 6px; }

  .hero-stats strong { font-size: 18px; }

  .hero-stats span { font-size: 12px; }

  .map-box,
  .map-box iframe {
    min-height: 320px;
  }

  .floating-cta {
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .floating-cta a {
    min-height: 52px;
    font-size: 15px;
  }
}


/* FAQ */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-wrap details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.faq-wrap summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.faq-wrap p {
  margin: 14px 0 0;
  color: var(--gray);
}
