/* ============================================
   SwiftSite Agency — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fb;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-accent-light: #eff6ff;
  --color-border: #e5e7eb;
  --color-card: #ffffff;
  --color-hero-bg: #0f172a;
  --color-success: #10b981;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);

  --max-w: 1140px;
  --section-pad: 96px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}
.nav-logo span { color: var(--color-accent); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--color-hero-bg);
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mockup {
  background: #1e293b;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 420px;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 22px;
  margin-left: 8px;
}
.mockup-content { display: flex; flex-direction: column; gap: 10px; }
.mockup-hero-block {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  border-radius: var(--radius-sm);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.mockup-line {
  background: rgba(255,255,255,0.35);
  border-radius: 4px;
  height: 8px;
}
.mockup-line.w-60 { width: 60%; }
.mockup-line.w-40 { width: 40%; height: 6px; }
.mockup-line.w-28 { width: 28%; height: 24px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.9); }
.mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.mockup-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  height: 64px;
}
.mockup-row { display: flex; gap: 8px; }
.mockup-row .mockup-line { flex: 1; }

/* ============================================
   VALUE PROPS
   ============================================ */
.value-props {
  padding: var(--section-pad);
  background: var(--color-bg-alt);
}
.value-props-header {
  text-align: center;
  margin-bottom: 64px;
}
.value-props-header .section-subtitle { margin: 0 auto; }
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.prop-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.prop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), #7c3aed);
  opacity: 0;
  transition: opacity 0.3s;
}
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prop-card:hover::before { opacity: 1; }
.prop-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.prop-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.prop-desc {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: var(--section-pad);
}
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.demo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.demo-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--color-accent);
}
.demo-card-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.demo-card-preview-restaurant {
  background: linear-gradient(160deg, #7c1d1d 0%, #92400e 50%, #1c1917 100%);
}
.demo-card-preview-contractor {
  background: linear-gradient(160deg, #1e3a5f 0%, #1e40af 50%, #0f172a 100%);
}
.demo-card-preview-salon {
  background: linear-gradient(160deg, #9d174d 0%, #c4748a 50%, #374151 100%);
}
.demo-preview-inner {
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-preview-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.demo-preview-logo {
  width: 50%; height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 4px;
}
.demo-preview-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.demo-preview-line {
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  height: 7px;
}
.demo-preview-line.lg { width: 70%; }
.demo-preview-line.md { width: 50%; height: 5px; opacity: 0.5; }
.demo-preview-btn {
  width: 80px; height: 22px;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  margin-top: 6px;
}
.demo-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.demo-card-body { padding: 24px; }
.demo-card-industry {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.demo-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.demo-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.demo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}
.demo-card-link::after {
  content: '→';
  transition: transform 0.2s;
}
.demo-card:hover .demo-card-link::after { transform: translateX(4px); }

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: var(--section-pad);
  background: var(--color-bg-alt);
}
.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-header .section-subtitle { margin: 0 auto; }
.pricing-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-card);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-accent);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.pricing-left {
  padding: 52px 48px;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
}
.price-currency { font-size: 28px; font-weight: 700; margin-top: 8px; color: rgba(255,255,255,0.7); }
.price-amount { font-family: var(--font-display); font-size: 80px; font-weight: 800; line-height: 1; }
.pricing-freq {
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  margin-bottom: 28px;
}
.pricing-note {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pricing-right {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-right h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.feature-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #eff6ff 0%, #faf5ff 100%);
  z-index: 0;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.contact-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 28px;
  padding: 14px 28px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.contact-email:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.footer-logo span { color: #60a5fa; }
.footer-copy { font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .props-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-left { padding: 40px 36px; }
  .pricing-right { padding: 40px 36px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px 20px; }
  .props-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
