/* Call Me Famous - Professional business theme */

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

:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --focus: #2563eb;
  --success-bg: #ecfdf5;
  --success-text: #065f46;
  --error-bg: #fef2f2;
  --error-text: #991b1b;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1120px;
  --nav-h: 80px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-inner {
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.hero-desc {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-features {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-anim {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  height: 100%;
  padding: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #334155 100%);
}

.hero-anim .orb,
.hero-anim .ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-anim .orb {
  filter: blur(2px);
  opacity: 0.85;
}

.orb-1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 16%;
  background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb);
  animation: float-a 9s ease-in-out infinite;
}

.orb-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 22%;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, #6366f1);
  animation: float-b 11s ease-in-out infinite;
}

.orb-3 {
  width: 46px;
  height: 46px;
  top: 30%;
  right: 30%;
  background: radial-gradient(circle at 30% 30%, #93c5fd, #38bdf8);
  animation: float-a 7s ease-in-out infinite reverse;
}

.hero-anim .ring {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
}

.ring-1 {
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  margin: -110px 0 0 -110px;
  animation: spin 24s linear infinite;
}

.ring-2 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  margin: -160px 0 0 -160px;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.2);
  animation: spin 36s linear infinite reverse;
}

.hero-anim .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 16px); }
}

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

.hero-feature h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-feature p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
  max-width: 560px;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-header p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* Services */
.services {
  background: var(--bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* Showcase */
.showcase {
  padding-top: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.showcase-card {
  position: relative;
  padding-left: 32px;
}

.showcase-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}

/* Pricing */
.pricing-note {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 6px 12px;
  background: var(--bg-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.offer-banner {
  display: none;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: fit-content;
}

.offer-banner.visible {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.tagline {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 40px;
}

.price-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.price-original {
  display: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-original.visible {
  display: block;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-value {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-value.text-lg {
  font-size: 1.375rem;
}

.price-period,
.price-yearly {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.feature-list {
  margin-top: 20px;
  flex: 1;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}

.pricing-card .btn {
  margin-top: 24px;
}

/* Steps */
.steps {
  background: var(--bg-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-header {
  margin-bottom: 24px;
}

.contact-email {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

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

.contact-email a:hover {
  text-decoration: underline;
}

.form-panel {
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group input[readonly] {
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: default;
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-message {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.form-message.success {
  display: block;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #a7f3d0;
}

.form-message.error {
  display: block;
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid #fecaca;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-subtle);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Legal / support pages */
.page-main {
  padding: 48px 0 80px;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--text);
}

.page-content p,
.page-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 8px;
}

.page-content ul {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}

.page-content a {
  color: var(--focus);
}

.page-content a:hover {
  text-decoration: underline;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.support-cards .card h3 {
  font-size: 1rem;
}

.page-back {
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-media img {
    min-height: 260px;
  }

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

  .hero-features {
    grid-template-columns: 1fr;
  }

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

  .showcase-card {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
  }

  .hero-features {
    display: none;
  }

  .pricing-grid,
  .services-grid,
  .steps-grid,
  .showcase-grid,
  .form-row,
  .support-cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
