/* ==========================================================================
   DEVSITE — Premium Modern Light Support Theme
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #faf9f6;         /* Extremely soft, warm cream/gray */
  --bg-secondary: #ffffff;       /* Pure clean white */
  --bg-soft-green: #eafbf1;      /* Delicate pastel mint green */
  --bg-soft-blue: #f0f6ff;       /* Delicate pastel ice blue */
  --bg-soft-purple: #f6f1ff;     /* Delicate pastel lavender */
  --bg-soft-yellow: #fffdf0;     /* Delicate pastel warm yellow */
  
  --text-primary: #0f172a;       /* Slate 900 — Deep elegant ink */
  --text-secondary: #475569;     /* Slate 600 — Balanced readable body */
  --text-muted: #64748b;         /* Slate 500 — Subtle labels and metadata */
  
  /* Borders and Dividers */
  --border: rgba(15, 23, 42, 0.05);          /* Ultra-fine border */
  --border-strong: rgba(16, 185, 129, 0.12); /* Subtle green-tinted border */
  --border-focus: #10b981;                    /* Focus emerald */
  
  /* Brand Accents */
  --green: #10b981;              /* Modern сочный emerald green */
  --green-dark: #059669;         /* Sophisticated deep emerald */
  --blue: #3b82f6;               /* Radiant blue */
  --indigo: #6366f1;             /* Modern indigo */
  --yellow: #f59e0b;             /* Elegant gold-yellow */
  --danger: #ef4444;             /* Vibrant rose-red */
  
  /* Shadow Systems */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.01), 0 4px 20px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.03), 0 24px 60px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.01);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.04), 0 40px 100px rgba(15, 23, 42, 0.04);
  
  /* Border Radii */
  --radius-lg: 24px;             /* Premium rounded containers */
  --radius-md: 16px;             /* Cards, panels and major elements */
  --radius-sm: 12px;             /* Sub-elements, inputs, chips */
  --radius-btn: 9999px;          /* Perfectly rounded pill shapes */
  
  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Global Animations */
  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base resets and document structure
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.625;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Typography styles */
.section-label {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.68;
  max-width: 680px;
}

.section-header {
  margin: 0 auto 56px;
  max-width: 800px;
  text-align: center;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header Component
   ========================================================================== */

.header {
  left: 0;
  padding: 24px 0;
  position: fixed;
  top: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), border-color var(--transition);
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.logo img {
  display: block;
  height: auto;
  width: clamp(170px, 22vw, 190px);
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--green-dark);
  background: var(--bg-soft-green);
}

/* Custom design for header CTA */
.nav-links .btn {
  padding: 10px 24px;
  min-height: 42px;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.nav-contact-icons {
  display: none;
  gap: 8px;
}

.nav-contact-icons a:not(.btn) {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  display: inline-flex;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.nav-contact-icons a:not(.btn):hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.nav-toggle span {
  background: var(--text-primary);
  border-radius: 4px;
  display: block;
  height: 2px;
  transition: var(--transition);
  width: 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  align-items: center;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.16);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary,
.btn-outline {
  background: var(--bg-secondary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--bg-soft-green);
  transform: translateY(-2px);
}

.btn-secondary:active,
.btn-outline:active {
  transform: translateY(0);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: auto;
  overflow: hidden;
  padding: 170px 0 100px;
}

.hero-light {
  background: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1.38fr;
}

/* Bento Grid Layout */
.hero-bento-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.bento-ticket {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.bento-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Bento Color Schemes */
.bento-purple {
  background: #f7f6ff;
  border-color: rgba(139, 92, 246, 0.08);
}

.bento-purple:hover {
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.04);
}

.bento-green {
  background: var(--bg-soft-green);
  border-color: rgba(16, 185, 129, 0.08);
}

.bento-green:hover {
  border-color: rgba(16, 185, 129, 0.2);
}

/* Bento Illust Card */
.bento-illust-wrap {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.bento-illust-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bento-illust-inner img {
  max-width: 90%;
  max-height: 150px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.bento-illust-wrap:hover img {
  transform: scale(1.05) translateY(-2px);
}

/* Interactive Bento Tags in Hero Content */
.hero-tags-container {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.hero-tags-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tag-pill {
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
  cursor: pointer;
}

.hero-tag-pill:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--bg-soft-green);
  color: var(--green-dark);
}

.hero-tag-pill i {
  color: var(--green);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 660px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-proof {
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 12px;
}

.hero-proof span {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  display: inline-flex;
  min-height: 38px;
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  gap: 8px;
}

.hero-proof span::before {
  content: '✦';
  color: var(--green);
  font-weight: 900;
}

/* Hero support ticket panel (Interactive design showcase) */
.support-panel {
  flex: 1.15;
  min-width: 280px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.support-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.support-panel-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 16px;
}

.status-dot {
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  position: relative;
  width: 8px;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 2.2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { opacity: 0.3; }
  100% { transform: scale(2.5); opacity: 0; }
}

.ticket-card {
  background: var(--bg-soft-green);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
}

.ticket-card strong {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.4;
  margin: 6px 0 8px;
  font-weight: 700;
}

.ticket-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ticket-label {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticket-meta {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}

.ticket-meta div {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(15, 23, 42, 0.01);
}

.ticket-meta span {
  color: var(--text-muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ticket-meta strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.ticket-note {
  background: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  color: #15803d;
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 16px;
}

/* ==========================================================================
   Problem Section & Service Cards
   ========================================================================== */

.problem-section,
.process-section,
.platforms-section {
  background: var(--bg-primary);
}

.services-section,
.plans-section {
  background: var(--bg-secondary);
}

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

.service-card,
.blog-card,
.plan-card,
.blog-card-lg {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.blog-card:hover,
.plan-card:hover,
.blog-card-lg:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-icon {
  align-items: center;
  background: var(--bg-soft-green);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  margin-bottom: 24px;
  width: 52px;
  position: relative;
}

/* Alternate colors for visual rich aesthetics */
.service-card:nth-child(2) .service-icon {
  background: var(--bg-soft-blue);
  color: var(--blue);
}

.service-card:nth-child(3) .service-icon {
  background: var(--bg-soft-purple);
  color: var(--indigo);
}

.service-card h3,
.plan-card h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p,
.plan-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ==========================================================================
   Services Section (Split format)
   ========================================================================== */

.split-section {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 0.8fr 1.2fr;
}

.split-copy {
  position: sticky;
  top: 130px;
}

.scope-grid {
  display: grid;
  gap: 16px;
}

.scope-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  gap: 8px;
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.scope-item:hover {
  transform: translateX(4px);
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.scope-item strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.scope-item span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   Process Section (Timeline)
   ========================================================================== */

.timeline {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 40px;
}

.timeline-step {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 240px;
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-dot {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  margin-bottom: 24px;
  width: 42px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Plans Section
   ========================================================================== */

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  position: relative;
}

.plan-card.featured {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-md);
}

.plan-card.featured::before {
  background: var(--green);
  border-radius: var(--radius-btn);
  color: #ffffff;
  content: 'Найчастіший вибір';
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 14px;
  position: absolute;
  right: 28px;
  top: 28px;
}

.plan-name {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.plan-price {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: normal;
}

.plan-hours {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.plan-card ul {
  color: var(--text-secondary);
  list-style: none;
  margin-top: 24px;
}

.plan-card li {
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-card li::before {
  color: var(--green);
  content: '✓';
  font-weight: 900;
  font-size: 1.05rem;
}

.plan-card .btn {
  justify-content: center;
  margin-top: auto;
  width: 100%;
}

.request-status-test-mode {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(234, 179, 8, 0.45);
  color: #713f12;
}

/* ==========================================================================
   Platforms tag cloud
   ========================================================================== */

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.platform-list span {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.platform-list span:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: var(--bg-soft-green);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: var(--bg-secondary);
  text-align: center;
}

.cta-box {
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 40%), linear-gradient(135deg, #f7faf8 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  max-width: 960px;
  padding: 64px 32px;
}

.cta-box .section-subtitle {
  margin: 0 auto 36px;
}

/* ==========================================================================
   Portfolio items & Showcase
   ========================================================================== */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--bg-soft-green);
}

.portfolio-item {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.portfolio-placeholder {
  align-items: center;
  background: var(--bg-soft-green);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.portfolio-placeholder-icon {
  color: var(--green);
  font-size: 2.8rem;
}

.portfolio-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  bottom: 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  opacity: 0;
  padding: 28px;
  position: absolute;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .tag {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ==========================================================================
   Blog listing & single page
   ========================================================================== */

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.blog-grid-2col {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 64px;
}

.blog-card,
.blog-card-lg {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.blog-card:hover,
.blog-card-lg:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

/* Image zoom effect */
.blog-card-image {
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  transition: transform 0.5s ease !important;
}

.blog-card:hover .blog-card-image img,
.blog-card-lg:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  align-items: center;
  background: var(--bg-soft-green);
  color: var(--green);
  display: flex;
  height: 220px;
  justify-content: center;
  transition: background-color var(--transition);
}

.blog-card:hover .blog-card-placeholder,
.blog-card-lg:hover .blog-card-placeholder {
  background-color: #d1fae5;
}

.blog-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  gap: 16px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-meta .blog-tag {
  color: var(--green-dark);
}

.blog-card h3,
.blog-card-lg h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-card h3 a,
.blog-card-lg h2 a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.blog-card h3 a:hover,
.blog-card-lg h2 a:hover {
  color: var(--green);
}

.blog-card p,
.blog-card-lg p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: auto;
  transition: transform var(--transition), color var(--transition);
}

.read-more:hover {
  color: var(--green-dark);
  transform: translateX(4px);
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}

.pagination-item {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  height: 44px;
  justify-content: center;
  transition: var(--transition);
  width: 44px;
  font-family: var(--font-display);
  font-weight: 700;
}

.pagination-item.active,
.pagination-item:hover {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.breadcrumbs-bar {
  border-bottom: 1px solid var(--border);
  margin-top: 80px;
  padding: 16px 0;
  background: var(--bg-primary);
}

.breadcrumbs {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb-link {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb-link:hover {
  color: var(--green);
}

.breadcrumb-separator {
  color: var(--border-strong);
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-current {
  color: var(--text-secondary);
}

.article-page {
  padding: 64px 0 100px;
}

.article-header,
.article-prose,
.article-share,
.author-card {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.article-header {
  margin-bottom: 56px;
  text-align: center;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 32px auto 44px;
  max-width: 760px;
  overflow: hidden;
}

.article-featured-image img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.article-lead {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.65;
}

.article-prose {
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 48px 0 20px;
}

.article-prose h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 36px 0 16px;
}

.article-prose blockquote {
  background: var(--bg-soft-yellow);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #854d0e;
  font-size: 1.15rem;
  margin: 40px 0;
  padding: 24px;
}

.author-card {
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 24px;
  margin-bottom: 80px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.related-articles {
  margin: 72px auto 0;
  max-width: 1100px;
}

.related-articles .blog-grid {
  gap: 24px;
}

/* ==========================================================================
   Forms & Wizard Styling
   ========================================================================== */

.contact-layout {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-form-wrap,
.contact-info-card,
.type-card-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap {
  padding: 44px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-input {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  outline: none;
}

.form-group.error .form-input {
  border-color: var(--danger);
}

.form-error {
  color: var(--danger);
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

.form-group.error .form-error {
  display: block;
}

.form-success,
.wizard-success {
  display: none;
  padding: 56px 0;
  text-align: center;
}

.form-success.show,
.wizard-success.show {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.wizard-container.is-success .wizard-form,
.wizard-container.is-success .wizard-progress,
.wizard-container.is-success .wizard-steps-labels {
  display: none !important;
}

.success-icon,
.success-icon-lg {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 2rem;
  height: 64px;
  justify-content: center;
  margin: 0 auto 24px;
  width: 64px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.success-icon-lg {
  font-size: 3rem;
  height: 88px;
  width: 88px;
}

.contact-info-card {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  padding: 24px;
  transition: transform var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-2px);
}

.contact-info-icon {
  align-items: center;
  background: var(--bg-soft-green);
  border-radius: var(--radius-sm);
  color: var(--green);
  display: flex;
  font-size: 1.4rem;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Multi-step Wizard */
.wizard-container {
  max-width: 860px;
  margin: 0 auto;
}

.devsite-request-status {
  animation: requestStatusIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 38%), #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 32px auto 0;
  max-width: 760px;
  overflow: hidden;
  padding: 34px;
}

.request-status-head {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.request-status-kicker {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.request-status-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

.request-status-badge {
  background: var(--bg-soft-green);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  color: var(--green-dark);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
}

.request-progress {
  margin-bottom: 32px;
}

.request-status-summary {
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px;
}

.request-status-summary-icon {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.26);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.request-status-summary span {
  color: var(--green-dark);
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.request-status-summary strong {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
}

.request-status-summary p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 5px 0 0;
}

.request-progress-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-btn);
  height: 10px;
  overflow: hidden;
  position: relative;
}

.request-progress-fill {
  animation: requestProgressFill 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: inherit;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.22);
  height: 100%;
  width: 0;
}

.request-progress-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 18px;
}

.request-progress-step {
  color: var(--text-muted);
  min-width: 0;
  text-align: center;
}

.request-progress-step span {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  height: 32px;
  justify-content: center;
  margin-bottom: 8px;
  transition: var(--transition);
  width: 32px;
}

.request-progress-step strong {
  color: inherit;
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.request-progress-step.is-complete span,
.request-progress-step.is-current span {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.request-progress-step.is-current span {
  animation: requestStatusPulse 1.8s ease-in-out infinite;
}

.request-progress-step.is-complete,
.request-progress-step.is-current {
  color: var(--text-primary);
}

.request-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.request-status-tabs {
  margin-top: 22px;
}

.request-status-tablist {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
  padding: 4px;
}

.request-status-tablist button {
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius-btn) - 4px);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 12px;
  transition: var(--transition);
}

.request-status-tablist button.is-active {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.request-status-tabpanel[hidden] {
  display: none;
}

.request-status-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  min-width: 0;
  padding: 16px;
}

.request-status-item span {
  color: var(--text-secondary);
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.request-status-item strong {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.request-payment-item--paid,
.request-payment-item--success,
.request-payment-item--approved,
.request-payment-item--completed {
  border-color: rgba(16, 185, 129, 0.24);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.06);
}

.request-payment-item--pending,
.request-payment-item--created,
.request-payment-item--processing {
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.06);
}

.request-payment-item--failed,
.request-payment-item--declined,
.request-payment-item--expired,
.request-payment-item--canceled,
.request-payment-item--cancelled {
  border-color: rgba(239, 68, 68, 0.22);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.05);
}

.request-payment-meta {
  display: grid;
  gap: 3px;
  margin-top: 10px;
}

.request-payment-meta small {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.request-status-note {
  background: var(--bg-soft-blue);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 14px;
  padding: 18px;
}

.request-status-extra-payment {
  background: #fff7ed;
  border-color: rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--yellow);
  color: #7c2d12;
  padding: 16px 18px;
}

.request-status-extra-payment strong,
.request-status-extra-payment span {
  display: block;
}

.request-status-extra-payment strong {
  font-weight: 700;
  margin-bottom: 4px;
}

.request-status-extra-payment span {
  color: #9a3412;
  font-size: 0.96rem;
}

.request-status-approval {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.22);
  border-left: 4px solid var(--green);
  color: #065f46;
  padding: 16px 18px;
}

.request-status-approval strong,
.request-status-approval span {
  display: block;
}

.request-status-approval strong {
  color: #047857;
  font-weight: 700;
  margin-bottom: 4px;
}

.request-status-feedback {
  background: #fff7ed;
  border-color: rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--yellow);
  color: #7c2d12;
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px 18px;
}

.request-status-feedback strong,
.request-status-feedback span {
  display: block;
}

.request-status-feedback strong {
  color: #9a3412;
  font-weight: 700;
  margin-bottom: 2px;
}

.request-status-feedback label {
  color: #7c2d12;
  display: grid;
  font-size: 0.95rem;
  gap: 8px;
}

.request-status-feedback textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font: inherit;
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

.request-status-feedback .btn {
  justify-self: start;
}

.request-status-feedback .btn-secondary {
  background: #fff7ed;
  border-color: rgba(245, 158, 11, 0.72);
  color: #9a3412;
}

.request-status-feedback .btn-secondary:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.24);
}

.request-status-action {
  margin-top: 16px;
}

.request-work-log {
  margin-top: 22px;
}

.request-work-log h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.request-work-log-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 6px 12px;
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
  padding: 14px;
}

.request-work-log-item span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.request-work-log-item strong {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.request-work-log-item p {
  color: var(--text-primary);
  grid-column: 1 / -1;
  margin: 0;
}

@keyframes requestStatusIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes requestProgressFill {
  to {
    width: var(--request-progress);
  }
}

@keyframes requestStatusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.28);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.wizard-progress {
  background: var(--border);
  border-radius: 999px;
  height: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.wizard-progress-bar {
  background: var(--green);
  height: 100%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.wizard-steps-labels {
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: space-between;
  margin-bottom: 44px;
}

.wizard-step-label.active {
  color: var(--green-dark);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.45s ease forwards;
}

.wizard-question {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: -0.02em;
}

.type-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.type-card {
  cursor: pointer;
  position: relative;
  height: 100%;
}

.type-card input,
.style-option input {
  opacity: 0;
  position: absolute;
}

.type-card-inner {
  height: 100%;
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.type-card input:checked + .type-card-inner {
  border-color: var(--green);
  background: var(--bg-soft-green);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.08);
  transform: translateY(-4px);
}

.type-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.type-card:hover .type-icon {
  transform: scale(1.1);
}

.type-name {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.type-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.style-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.style-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.style-option input:checked + .style-chip {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.form-range {
  accent-color: var(--green);
  margin: 24px 0;
  width: 100%;
  cursor: pointer;
}

.range-labels {
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: space-between;
}

.budget-value {
  color: var(--green-dark);
  font-weight: 800;
}

.wizard-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 44px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
  background: #0f172a;        /* Deep midnight slate background */
  color: #94a3b8;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-copy {
  color: #64748b;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  height: 42px;
  justify-content: center;
  transition: var(--transition);
  width: 42px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-socials a:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-scale {
  transform: scale(0.96) translateY(16px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-tags-container {
    max-width: 600px;
    margin: 40px auto 0;
  }

  .hero-tags-list {
    justify-content: center;
  }

  .hero-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 520px;
    margin: 0 auto;
    gap: 20px;
  }

  .bento-ticket {
    grid-row: auto;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 980px) {
  section {
    padding: 80px 0;
  }

  .hero-layout,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
    margin-bottom: 24px;
  }

  .pain-grid,
  .plans-grid,
  .blog-grid,
  .portfolio-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero {
    padding: 130px 0 70px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .support-panel {
    padding: 24px;
  }

  .ticket-meta,
  .pain-grid,
  .plans-grid,
  .blog-grid,
  .portfolio-grid,
  .timeline,
  .blog-grid-2col,
  .type-cards {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 24px;
  }

  /* Navigation for tablet/mobile */
  .nav-links {
    align-items: center;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    position: fixed;
    right: -100vw;
    top: 0;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100vw;
    z-index: 100;
    padding: 40px 24px;
    gap: 36px;
  }

  .nav-links a:not(.btn) {
    font-size: 1.12rem;
  }

  .nav-links .btn {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .nav-contact-icons {
    display: flex;
    gap: 14px;
  }

  .nav-contact-icons a:not(.btn) {
    font-size: 1.25rem;
    height: 48px;
    width: 48px;
  }

  .devsite-request-status {
    margin-top: 20px;
    padding: 20px;
  }

  .request-status-head {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .request-status-badge {
    align-self: flex-start;
  }

  .request-progress-steps {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .request-progress-step {
    align-items: center;
    display: flex;
    gap: 12px;
    text-align: left;
  }

  .request-progress-step span {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .request-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-status-tablist button {
    font-size: 0.82rem;
    padding: 9px 8px;
  }

  .request-status-item {
    padding: 14px;
  }

  .request-status-summary {
    align-items: flex-start;
    padding: 16px;
  }

  .request-status-summary strong {
    font-size: 1rem;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer .container,
  .article-share,
  .author-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 380px) {
  .request-status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.72rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .wizard-steps-labels {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .wizard-steps-labels::-webkit-scrollbar {
    height: 2px;
  }
  
  .wizard-steps-labels::-webkit-scrollbar-thumb {
    background: var(--border);
  }
}

/* Font Awesome helpers for rich iconography */
.service-icon i {
  font-size: 1.25rem;
}
.type-icon i {
  font-size: 2.25rem;
  transition: transform var(--transition);
}
.type-card:hover .type-icon i {
  transform: scale(1.1);
}
.contact-info-icon i {
  font-size: 1.35rem;
}

/* Illustrations and custom graphics layouts */
.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-illust-card {
  flex: 0.85;
  min-width: 200px;
  overflow: hidden;
  transition: transform var(--transition);
}

.hero-illust-card img {
  width: 100%;
  height: auto;
  display: block;
}

.split-illust-wrap,
.cta-image-wrap {
  transition: transform var(--transition);
}

.hero-illust-card:hover,
.split-illust-wrap:hover,
.cta-image-wrap:hover {
  transform: translateY(-4px);
}

/* Hero direction: editorial white sheet with one clear illustration */
.hero.hero-light {
  background: var(--bg-primary);
  padding: 120px 0 80px;
}

.hero .hero-layout {
  align-items: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
    #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 600px;
  padding: 68px 80px;
}

.hero .section-label {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero .section-label::before {
  background: var(--green);
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  width: 8px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero .hero-title {
  color: var(--text-primary);
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero .hero-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero .hero-buttons {
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.hero .btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.16);
}

.hero .btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.28);
}

.hero .btn-secondary {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
  min-height: 46px;
  padding-left: 0;
  padding-right: 0;
}

.hero .btn-secondary:hover {
  background: transparent;
  border-color: transparent;
  color: var(--green);
  transform: none;
}

.hero .hero-tags-container {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 0;
  max-width: 560px;
  padding-top: 20px;
}

.hero .hero-tags-title {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hero .hero-tags-list {
  gap: 8px;
}

.hero .hero-tag-pill {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.84rem;
  padding: 0;
  transition: color var(--transition);
}

.hero .hero-tag-pill:not(:last-child)::after {
  color: #cbd5e1;
  content: '/';
  margin-left: 8px;
  margin-right: 8px;
  pointer-events: none;
  cursor: default;
}

.hero .hero-tag-pill:hover {
  background: transparent;
  border-color: transparent;
  color: var(--green);
  transform: none;
}

.hero .hero-tag-pill:hover::after {
  color: #cbd5e1;
}

.hero-platforms {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 430px;
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  transform: rotate(10deg);
  transition: transform var(--transition);
}

.hero-visual::before {
  border: 2px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 6px;
  height: 22px;
  left: 10%;
  top: 20%;
  width: 22px;
}

.hero-visual::after {
  border: 2px solid rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.05);
  border-radius: 50%;
  bottom: 22%;
  height: 16px;
  right: 4%;
  width: 16px;
}

.hero-visual img {
  border-radius: 0;
  max-height: 420px;
  object-fit: contain;
  width: min(100%, 520px);
}

@media (max-width: 1120px) {
  .hero.hero-light {
    padding: 100px 0 50px;
  }

  .hero .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: auto;
    padding: 56px 44px;
    text-align: left;
  }

  .hero-content {
    order: 2;
    width: 100%;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    min-height: auto;
    justify-content: center;
    padding: 20px 0 10px;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }

  .hero-visual img {
    max-height: 320px;
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .hero .hero-buttons {
    justify-content: flex-start;
  }

  .hero .hero-tags-container {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 620px) {
  .hero.hero-light {
    padding: 80px 0 40px;
  }

  .hero .hero-layout {
    border-radius: 0;
    gap: 32px;
    padding: 36px 20px;
    box-shadow: var(--shadow-md);
  }

  .hero-visual {
    padding-top: 0;
  }

  .hero-visual img {
    max-height: 240px;
    width: min(100%, 360px);
  }

  .hero .hero-title {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .hero .hero-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero .hero-buttons .btn {
    width: 100%;
  }

  .hero .hero-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hero .hero-tag-pill {
    display: inline-flex;
    line-height: 1.5;
  }

  .hero .hero-tag-pill:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-text {
    text-align: center !important;
  }
}
