/* ============================================================
   ContractorRank.agency — Main Stylesheet
   Bold. Powerful. Dominant.
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --bg-primary:    #07070A;
  --bg-secondary:  #0F0F14;
  --bg-card:       #141419;
  --bg-card-hover: #1C1C24;
  --accent:        #FF4500;
  --accent-light:  #FF6A2A;
  --accent-gold:   #FFB800;
  --text-primary:  #F0F0F0;
  --text-secondary:#AAAAAA;
  --text-muted:    #666680;
  --border:        #1E1E2A;
  --border-accent: #FF4500;
  --shadow-accent: 0 0 40px rgba(255, 69, 0, 0.2);
  --radius:        6px;
  --radius-lg:     12px;
  --transition:    0.25s ease;
  --font-main:     'Segoe UI', 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width:     1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-secondary); }

.text-accent { color: var(--accent); }
.text-gold   { color: var(--accent-gold); }
.text-white  { color: var(--text-primary); }
.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, #FF4500, #FFB800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section {
  padding: 100px 0;
}
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 2px;
  background: var(--accent);
}

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

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 48px;
  color: var(--text-secondary);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 69, 0, 0.4);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 32px rgba(255, 69, 0, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-accent);
}
.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-muted);
}

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(7, 7, 10, 0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom-color: var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  border-radius: var(--radius);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 10, 0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,69,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(255,184,0,0.04) 0%, transparent 60%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,69,0,0.12);
  border: 1px solid rgba(255,69,0,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 44px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-trust-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
}
.hero-trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.hero-trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,69,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.card h3 { margin-bottom: 12px; }
.card p  { font-size: 0.95rem; line-height: 1.7; }

/* ── Services ── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(255,69,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), var(--shadow-accent);
}

.service-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,69,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
  font-family: monospace;
}

.service-card h3 { margin-bottom: 16px; }
.service-card p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.service-feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: rgba(255,69,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 900;
}

/* ── Stats ── */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-secondary);
  padding: 48px 40px;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-item {
  background: var(--bg-card);
  padding: 40px;
  transition: background var(--transition);
}
.why-item:hover { background: var(--bg-card-hover); }

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}

.why-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Portfolio ── */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.portfolio-card:hover {
  border-color: rgba(255,69,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.portfolio-thumb {
  height: 220px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb .mock-browser {
  width: 90%;
  height: 80%;
  background: #1a1a2e;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.mock-browser-bar {
  height: 28px;
  background: #0d0d1a;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.mock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.mock-dot:nth-child(1) { background: #ff5f56; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #27c93f; }
.mock-url {
  flex: 1;
  height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin: 0 8px;
}
.mock-content {
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mock-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.mock-hero-line {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
.mock-hero-line.short { width: 60%; }
.mock-hero-line.long  { width: 80%; }
.mock-hero-line.btn   { width: 40%; background: rgba(255,69,0,0.5); }

.portfolio-info {
  padding: 28px;
}
.portfolio-domain {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.portfolio-info h3 { margin-bottom: 10px; font-size: 1.2rem; }
.portfolio-info p  { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  padding: 4px 12px;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, rgba(255,69,0,0.08) 0%, rgba(255,184,0,0.04) 100%);
  border-top: 1px solid rgba(255,69,0,0.15);
  border-bottom: 1px solid rgba(255,69,0,0.15);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,69,0,0.12), transparent 70%);
}

.cta-section h2 { margin-bottom: 20px; }
.cta-section p  { max-width: 560px; margin: 0 auto 40px; font-size: 1.1rem; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-card {
  background: var(--bg-card);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--transition);
}
.pricing-card:hover { background: var(--bg-card-hover); }

.pricing-card.featured {
  background: var(--bg-card-hover);
  position: relative;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 6px 20px;
  border-radius: 0 0 8px 8px;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-card h3 { margin-bottom: 8px; }

.pricing-price {
  margin: 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 6px;
}
.pricing-amount {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.pricing-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(255,69,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 900;
  margin-top: 1px;
}

/* ── Form ── */
.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}

input::placeholder,
textarea::placeholder { color: var(--text-muted); }

select {
  cursor: pointer;
  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='%23666680' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

select option { background: var(--bg-secondary); color: var(--text-primary); }

textarea { resize: vertical; min-height: 140px; }

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

.contact-info h3 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 32px; line-height: 1.8; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-method-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,69,0,0.1);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-method-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-method-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Preview Page ── */
.preview-controls {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
}

.preview-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.preview-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}

.browser-chrome {
  background: #1a1a2a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.b-red    { background: #ff5f56; }
.b-yellow { background: #ffbd2e; }
.b-green  { background: #27c93f; }
.browser-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-url-bar .lock { color: #27c93f; font-size: 0.7rem; }
.browser-url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.preview-content {
  overflow-y: auto;
  max-height: 700px;
}

/* Preview site styles */
.preview-site {
  font-family: var(--font-main);
  background: #fff;
  color: #111;
  min-height: 600px;
}

.psite-nav {
  background: #111;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.psite-logo {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.psite-logo span { color: #FF4500; }
.psite-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FF4500;
}

.psite-hero {
  padding: 60px 24px;
  text-align: center;
  color: #fff;
  position: relative;
}

.psite-hero h1 {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.psite-hero p {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.85);
}
.psite-btn {
  display: inline-block;
  background: #FF4500;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 4px;
}
.psite-btn.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
}

.psite-services {
  padding: 48px 24px;
  background: #f8f8f8;
}
.psite-services h2 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 28px;
  color: #111;
}
.psite-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.psite-service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.psite-service-icon { font-size: 1.4rem; margin-bottom: 10px; }
.psite-service-card h4 { font-size: 0.85rem; color: #111; margin-bottom: 6px; font-weight: 700; }
.psite-service-card p  { font-size: 0.75rem; color: #666; line-height: 1.5; }

.psite-cta {
  padding: 48px 24px;
  text-align: center;
  color: #fff;
}
.psite-cta h2 { font-size: 1.3rem; margin-bottom: 12px; color: #fff; }
.psite-cta p  { font-size: 0.9rem; opacity: 0.85; margin-bottom: 24px; color: rgba(255,255,255,0.85); }

.psite-footer {
  background: #111;
  padding: 16px 24px;
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

/* ── Page Header ── */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,69,0,0.07), transparent 70%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 20px; }
.page-header p {
  font-size: 1.15rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border-accent); }

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Services Detail Page ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse > *:first-child { order: 1; }
.service-detail.reverse > *:last-child  { order: -1; }

.service-detail-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,69,0,0.06), transparent 70%);
}

.service-detail-content .section-label { margin-bottom: 12px; }
.service-detail-content h2 { margin-bottom: 20px; }
.service-detail-content > p { margin-bottom: 32px; line-height: 1.8; }

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.detail-feature-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(255,69,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 900;
  margin-top: 1px;
}
.detail-feature-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Testimonial (placeholder) ── */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
}
.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: rgba(255,69,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--accent);
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── 404 / Empty States ── */
.notice-box {
  background: rgba(255,184,0,0.06);
  border: 1px solid rgba(255,184,0,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

/* ── Step Indicators ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0;
}
.step {
  flex: 1;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% + 24px - 48px);
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
}
.step:last-child .step-num::after { display: none; }
.step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.step p { font-size: 0.82rem; }

/* ── Utility ── */
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.w-full { width: 100%; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { gap: 40px; }
  .service-detail { gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.reverse > *:first-child { order: unset; }
  .service-detail.reverse > *:last-child  { order: unset; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .detail-features { grid-template-columns: 1fr; }
  .preview-controls-grid { grid-template-columns: 1fr; }
  .psite-services-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-num::after { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .pricing-card { padding: 36px 28px; }
  .hero { padding: 120px 0 80px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-trust-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 32px 24px; }
}
