/* 引入 Space Grotesk 字體 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables for theme colors - 科技感配色 */
:root {
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f8;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-tertiary: #737373;
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-light: rgba(0, 102, 255, 0.1);
  --border: #e5e5e5;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.1);
  
  /* Service colors */
  --steam-color: #00ff88;
  --embedded-color: #0066ff;
  --design-color: #ff0066;
}

[data-theme="dark"] {
  /* Dark mode colors - 純黑科技風 */
  --bg-primary: #0a0a0a;
  --bg-secondary: #171717;
  --text-primary: #fafafa;
  --text-secondary: #d4d4d4;
  --text-tertiary: #a3a3a3;
  --accent: #00ff88;
  --accent-hover: #00cc6e;
  --accent-light: rgba(0, 255, 136, 0.1);
  --border: #262626;
  --card-bg: #171717;
  --shadow: rgba(255, 255, 255, 0.03);
  --shadow-hover: rgba(255, 255, 255, 0.08);
  
  --steam-color: #00ff88;
  --embedded-color: #00b4ff;
  --design-color: #ff0080;
}

/* Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .header {
  background-color: rgba(10, 10, 10, 0.9);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo - eiku studio brand */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: lowercase;
  transition: all 0.3s ease;
  position: relative;
}

.logo::before {
  content: '▸';
  color: var(--accent);
  margin-right: 0.3rem;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: rotate(180deg);
}

.theme-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

[data-theme="dark"] .theme-icon {
  background: transparent;
  box-shadow: inset 8px -8px 0 0 var(--text-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, transparent 0%, var(--accent-light) 100%);
  opacity: 0.3;
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-services {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-tag {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.hero-tag:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--shadow);
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

/* Section Styling */
section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: 0.02em;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1.5rem auto 0;
}

/* Services Section */
.services-section {
  background: var(--bg-secondary);
}

.service-block {
  margin-bottom: 4rem;
  padding: 4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow-hover);
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  transition: all 0.4s ease;
}

.service-block.steam::before {
  background: var(--steam-color);
}

.service-block.embedded::before {
  background: var(--embedded-color);
}

.service-block.design::before {
  background: var(--design-color);
}

.service-number {
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: 'JetBrains Mono', monospace;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.service-tagline {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.service-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.service-cta:hover {
  background: var(--accent);
  color: white;
  transform: translateX(5px);
}

/* Portfolio Section */
.portfolio-section {
  background: var(--bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .placeholder-image {
  transform: scale(1.05);
}

.steam-bg {
  background: linear-gradient(135deg, var(--steam-color) 0%, #00cc6e 100%);
}

.embedded-bg {
  background: linear-gradient(135deg, var(--embedded-color) 0%, #0052cc 100%);
}

.design-bg {
  background: linear-gradient(135deg, var(--design-color) 0%, #cc0052 100%);
}

.mixed-bg {
  background: linear-gradient(135deg, var(--accent) 0%, var(--design-color) 50%, var(--steam-color) 100%);
}

.portfolio-info {
  padding: 2rem;
}

.portfolio-category {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

/* Booking Section */
.booking-section {
  background: var(--bg-secondary);
  text-align: center;
}

.booking-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.booking-container {
  max-width: 900px;
  margin: 0 auto;
}

.booking-placeholder {
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
}

.booking-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.booking-placeholder h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.booking-placeholder p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.booking-placeholder a {
  color: var(--accent);
  text-decoration: underline;
}

.booking-code {
  display: block;
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-align: left;
  overflow-x: auto;
  color: var(--text-secondary);
  margin-top: 2rem;
}

/* About Section */
.about-section {
  background: var(--bg-primary);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-intro {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Section */
.contact-section {
  background: var(--bg-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateX(5px);
}

.contact-icon {
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  font-size: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-container {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.form-note a {
  color: var(--accent);
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card-bg);
}

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

.form-submit {
  padding: 1.25rem 2.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--shadow);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

/* ========================================
   SERVICE DETAIL PAGES STYLES
   ======================================== */

/* Service Hero Section */
.service-hero {
  padding: 10rem 2rem 6rem;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
}

.service-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.service-number-large {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  line-height: 1;
}

.service-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-hero-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 600;
}

.service-hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Details Section */
.service-details-section {
  padding: 6rem 2rem;
}

.service-details-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-intro {
  max-width: 900px;
  margin: 0 auto 6rem;
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Service Offerings Grid */
.service-offerings,
.service-cases,
.service-process,
.service-tech,
.service-audience,
.service-packages {
  margin-bottom: 6rem;
}

.offerings-grid,
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.offering-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-hover);
  border-color: var(--accent);
}

.offering-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.offering-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.offering-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.offering-features {
  list-style: none;
  padding: 0;
}

.offering-features li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.offering-features li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.offering-features li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--accent);
}

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

.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Case Studies */
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.case-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.case-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-card.featured .case-image {
  aspect-ratio: 1 / 1;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.case-content {
  padding: 2rem;
}

.case-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.case-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.case-info,
.case-outcomes,
.case-tech,
.case-deliverables {
  margin-top: 1.5rem;
}

.info-item {
  display: inline-block;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.case-outcomes strong,
.case-tech strong,
.case-deliverables strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.case-outcomes ul,
.case-tech ul,
.case-deliverables ul {
  list-style: none;
  padding-left: 0;
}

.case-outcomes li,
.case-tech li,
.case-deliverables li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.case-outcomes li::before,
.case-tech li::before,
.case-deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Technology Categories */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tech-category h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-category p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.audience-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.audience-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.audience-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.audience-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Package Cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.package-card.highlight {
  border-color: var(--accent);
  background: var(--accent-light);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.package-name {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.package-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.package-includes {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.package-includes li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.package-includes li:last-child {
  border-bottom: none;
}

.package-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.package-suitable {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  font-style: italic;
}

.packages-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Service CTA Section */
.service-cta-section {
  background: var(--bg-secondary);
  padding: 6rem 2rem;
  text-align: center;
}

.service-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.cta-button.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-button.secondary:hover {
  background: var(--accent);
  color: white;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .service-block {
    padding: 2.5rem 1.5rem;
  }

  .service-number {
    font-size: 3rem;
    top: 1rem;
    right: 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  /* Service Detail Pages - Tablet */
  .case-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 8rem 2rem 5rem;
  }

  .process-timeline {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-services {
    flex-direction: column;
  }

  .hero-tag {
    width: 100%;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  /* Service Detail Pages - Mobile */
  .service-hero {
    padding: 7rem 1.5rem 4rem;
  }

  .service-number-large {
    font-size: 5rem;
    top: -2rem;
  }

  .offerings-grid,
  .cases-grid,
  .audience-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .offering-card,
  .process-step,
  .audience-item,
  .package-card {
    padding: 2rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }
}
