/* ==========================================================================
   IKOSIA STUDIO — DESIGN SYSTEM & STYLES
   Inspired by sandeep.design : Minimalist, Craft-Driven, Monospace Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #0a0b0d;
  --bg-secondary: #111215;
  --bg-tertiary: #17181d;
  --bg-card: rgba(23, 24, 29, 0.7);
  --bg-card-hover: rgba(30, 32, 38, 0.9);
  --bg-glass: rgba(10, 11, 13, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-active: rgba(255, 255, 255, 0.24);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0b0d;

  /* Accent Colors */
  --accent-orange: #ea580c;
  --accent-orange-hover: #f97316;
  --accent-glow: rgba(234, 88, 12, 0.15);
  --accent-green: #10b981;
  --accent-blue: #3b82f6;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --max-width: 1240px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #faf9f6;
  --bg-secondary: #f3f2ee;
  --bg-tertiary: #e9e8e3;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(250, 249, 246, 0.85);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-active: rgba(0, 0, 0, 0.28);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --accent-glow: rgba(234, 88, 12, 0.1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  selection-background-color: var(--accent-orange);
}

::selection {
  background: var(--accent-orange);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --- Utility Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-label .num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-orange);
  font-weight: 700;
}

.section-label .name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* --- Pill & Badges --- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-orange), #f59e0b);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Toggle Button */
.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.theme-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: rotate(15deg);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: var(--text-inverse);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: #ffffff;
  color: #000000;
}

[data-theme="light"] .btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  max-width: 1050px;
}

.hero-h1 .gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 40px;
}

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

.hero-response-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Metrics Row */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Marquee / Ticker --- */
.ticker-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker-content {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: scroll-ticker 28s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-orange);
}

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Structure --- */
.site-section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* --- 01 / Selected Work Showcase --- */
/* Featured Spotlight Card */
.spotlight-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  margin-bottom: 40px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spotlight-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.spotlight-info {
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pill-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.spotlight-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.spotlight-desc {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.bullet-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.bullet-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.bullet-points li::before {
  content: '・';
  color: var(--accent-orange);
  font-weight: bold;
}

.spotlight-visual {
  background: linear-gradient(135deg, #181b22, #0d0e12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-left: 1px solid var(--border-subtle);
}

.mockup-frame {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.spotlight-card:hover .mockup-frame {
  transform: translateY(-4px) scale(1.02);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.circle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
}
.circle-dot.red { background: #ef4444; }
.circle-dot.yellow { background: #eab308; }
.circle-dot.green { background: #22c55e; }

.mockup-screen {
  padding: 24px;
  min-height: 220px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-pill {
  width: 70px;
  height: 14px;
  background: var(--border-subtle);
  border-radius: 4px;
}

.mock-chart {
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.2), rgba(59, 130, 246, 0.15));
  border: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Projects Grid (P. 01 to P. 04) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.project-index {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.project-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.project-link-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.project-card:hover .project-link-cta svg {
  transform: translate(3px, -3px);
}

/* --- 02 / Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

/* --- 03 / Philosophy Cards (A / B / C) --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.philosophy-letter {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 18px;
  line-height: 1;
}

.philosophy-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

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

/* --- 04 / Methodology (H. 01 to H. 04) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--border-medium);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-orange);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* --- 05 / Testimonials & Trust --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-orange);
  font-family: var(--font-mono);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- 06 / Large CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* --- Contact Page Specific Styles --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.contact-card-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
}

#contact-form {
  scroll-margin-top: 110px;
}

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

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

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.form-label span.req {
  color: var(--accent-orange);
}

/* Chip Selectors */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-chip {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.choice-chip:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.choice-chip.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

/* Form Inputs */
.input-field, .textarea-field, .select-field {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.select-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 42px;
}

.input-field:focus, .textarea-field:focus, .select-field:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

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

/* Live Summary Card */
.summary-card {
  position: sticky;
  top: 110px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.summary-row .key {
  color: var(--text-muted);
}

.summary-row .val {
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.summary-channels {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direct-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  white-space: nowrap;
}

.direct-link-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.direct-link-content {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--text-primary);
  white-space: nowrap !important;
  flex-shrink: 1;
  min-width: 0;
}

.direct-link-content svg {
  display: inline-block !important;
  color: var(--accent-orange);
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

.direct-link-content span {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}

.copy-feedback-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* --- Interactive Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* --- Toast Feedback --- */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  .spotlight-visual {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-actions .status-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .nav-links, .nav-actions .btn-primary, .nav-actions .status-pill {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 24px;
    border-bottom: 1px solid var(--border-medium);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 48px 24px;
  }
  .contact-card-box {
    padding: 28px 20px;
  }
  .summary-card {
    position: static;
  }
}
