/* contact.html */
/* =====================
   RESET & BASE
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #f39c12;
  --orange-light: #ffb400;
  --dark: #111111;
  --gray: #f5f5f5;
  --gray-mid: #eaeaea;
  --text: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.09);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--gray);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================
   NAVBAR
======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  border-bottom: 1px solid #eee;
}

.nav-logo a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* =====================
   HERO
======================== */
.contact-hero {
  position: relative;
  padding: 90px 60px 140px;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
}

/* Grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}


.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 88px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title em {
  color: var(--orange);
  font-style: italic;
}

.hero-sub {
  font-size: 17px;
  color: #aaa;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* STAT TAGS */
.stat-tag {
  position: absolute;
  background: var(--white);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  animation: bubbleFloat 5s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tag-one { top: 80px; left: 7%; animation-delay: 0s; }
.tag-two { top: 160px; right: 7%; animation-delay: 1.5s; }
.tag-three { bottom: 80px; left: 9%; animation-delay: 0.8s; }

/* DECO CIRCLES */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.circle-orange {
  width: 320px;
  height: 320px;
  background: var(--orange);
  bottom: -100px;
  right: -80px;
}

.circle-dark {
  width: 180px;
  height: 180px;
  background: var(--orange-light);
  top: -60px;
  left: -40px;
}

/* =====================
   OFFER STRIP (MARQUEE)
======================== */
.offer-strip {
  background: var(--white);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  padding: 18px 0;
}

.offer-marquee {
  width: 100%;
  overflow: hidden;
}

.offer-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeMove 8s linear infinite;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: #111;
}

.offer-content span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-content b {
  color: var(--orange);
  font-size: 18px;
}

@keyframes marqueeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   CONTACT MAIN LAYOUT
======================== */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 70px 6%;
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}

/* =====================
   LEFT: INFO PANEL
======================== */
.info-title {
  font-family: var(--font-display);
  font-size: 40px;
  margin-bottom: 14px;
  color: var(--dark);
}

.orange { color: var(--orange); }

.info-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.info-card.no-link {
  cursor: default;
}

.info-card.no-link:hover {
  transform: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.info-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* =====================
   VISUAL COLLAGE
   (Marketing Metrics Cards)
======================== */
.visual-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.collage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s;
}

.collage-card:hover {
  transform: translateY(-4px);
}

.collage-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.collage-card .metric {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

/* ANALYTICS BAR CHART */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 50px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--orange-light);
  animation: barGrow 1.5s ease-out both;
}

@keyframes barGrow {
  from { height: 0; }
}

.b1 { height: 40%; animation-delay: 0.1s; }
.b2 { height: 65%; animation-delay: 0.2s; }
.b3 { height: 80%; animation-delay: 0.3s; }
.b4 { height: 55%; animation-delay: 0.4s; }
.b5 { height: 100%; animation-delay: 0.5s; background: var(--orange); }

/* SEO RING */
.seo-rings {
  position: relative;
  width: 56px;
  height: 56px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--orange);
  opacity: 0.3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.r1 { width: 56px; height: 56px; }
.r2 { width: 38px; height: 38px; opacity: 0.6; }
.r3 { width: 22px; height: 22px; opacity: 1; background: var(--orange); }

.ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
}

/* SOCIAL ICONS MINI */
.social-icons-mini {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ROAS DISPLAY */
.roas-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.roas-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-display);
}

.roas-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* =====================
   RIGHT: FORM CARD
======================== */
.contact-form-wrapper {
  position: relative;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
}

.form-title {
  font-family: var(--font-display);
  font-size: 34px;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-title em {
  color: var(--orange);
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* FORM LAYOUT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: var(--gray);
  color: var(--dark);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243,156,18,0.12);
  background: var(--white);
}

input.error,
select.error,
textarea.error {
  border-color: #e74c3c;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.error-msg {
  font-size: 12px;
  color: #e74c3c;
  min-height: 16px;
  display: block;
}

.char-count {
  font-size: 11px;
  color: #bbb;
  text-align: right;
}

/* SUBMIT BUTTON */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  display: block;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* SUCCESS POPUP */
.success-popup {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.success-popup[aria-hidden="false"] {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.success-inner {
  text-align: center;
  padding: 40px;
}

.success-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.success-inner h3 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--dark);
}

.success-inner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.reset-btn {
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.3s;
}

.reset-btn:hover {
  background: var(--dark);
}

/* =====================
   FAQ SECTION
======================== */
.faq-section {
  padding: 80px 6%;
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 42px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--dark);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-q[aria-expanded="true"] {
  color: var(--orange);
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================
   FOOTER
======================== */
.footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 60px;
  font-size: 14px;
  color: #302e2e;
  background: #0e0d0d;
}

/* =====================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .contact-main {
    grid-template-columns: 1fr;
    padding: 50px 5%;
  }

  .navbar {
    padding: 14px 24px;
  }

  .nav-logo img {
    height: 34px;
  }

  .nav-links {
    gap: 20px;
    font-size: 14px;
  }

  .contact-hero {
    padding: 70px 24px 120px;
  }

  .stat-tag {
    display: none;
  }

  .form-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .visual-collage {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding: 20px 24px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 42px;
  }

  .nav-links {
    display: none;
  }

  .visual-collage {
    grid-template-columns: 1fr;
  }
}
