/* ===== Hero Section — Electric Minimal ===== */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: 0;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  display: none;
}

/* Hide ALL decorative background elements */
.hero-bg-grid,
.hero-glow,
.hero-glow-1,
.hero-glow-2,
.hero-mesh,
.floating-orb,
.hero-mouse-glow {
  display: none !important;
}

/* Single-column CENTERED layout — photo ABOVE text */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-photo {
  position: relative;
  z-index: 1;
  order: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 2;
}

.hero-photo-frame {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e5e7eb;
  box-shadow: none;
  animation: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-muted);
}

.hero .badge {
  display: none;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  order: 3;
}

/* Hide the code decoration */
.hero-code {
  display: none;
}

/* ===== Stats Bar — Horizontal Row ===== */

.stats-bar {
  background: #fff;
  border-top: none;
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 0 40px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '|';
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  color: #d1d5db;
  font-size: 1.5rem;
  font-weight: 300;
}

.stat-item h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--text-primary);
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ===== Section Labels — "01 SERVICES" style ===== */

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

/* ===== Services Section ===== */

.services {
  background: var(--bg-dark);
  padding: var(--section-py) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--bg-dark);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card .card-icon img {
  width: 24px;
  height: 24px;
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card .card-price {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card li {
  padding: 3px 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  position: relative;
  padding-inline-start: 18px;
}

.service-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
}

/* ===== How It Works — 4 numbered circles with connector line ===== */

.process {
  background: var(--bg-mid);
  padding: var(--section-py) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connector line between step circles */
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: #e5e7eb;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: none;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

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

/* ===== Portfolio Section ===== */

.portfolio {
  background: var(--bg-dark);
  padding: var(--section-py) 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portfolio-img {
  aspect-ratio: 16/10;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.portfolio-body {
  padding: 20px 24px;
}

.portfolio-body h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.portfolio-body p {
  font-size: 0.88rem;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tags span {
  padding: 3px 10px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--accent-purple);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ===== AI Advantage Section ===== */

.advantage {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}

.advantage::before {
  display: none;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background: rgba(124, 58, 237, 0.04);
}

.comparison-cell {
  padding: 14px 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}

.comparison-row.header .comparison-cell {
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-cell:not(:last-child) {
  border-inline-end: 1px solid var(--border-subtle);
}

.comparison-cell.highlight {
  color: var(--accent-green);
  font-weight: 600;
}

.comparison-cell.dim {
  color: var(--text-muted);
}

/* ===== Testimonials ===== */

.testimonials {
  background: var(--bg-dark);
  padding: var(--section-py) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-accent);
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
}

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

/* ===== FAQ Section ===== */

.faq {
  background: var(--bg-mid);
  padding: var(--section-py) 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Contact Section ===== */

.contact {
  background: var(--bg-dark);
  padding: var(--section-py) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.contact-detail svg,
.contact-detail img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-blue);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

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

.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
}

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

.footer-brand img {
  height: 40px;
  width: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-blue);
}

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

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--accent-blue);
}

.footer-social a img {
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer-social a:hover img {
  opacity: 1;
}

/* ===== Dark Mode Section Overrides ===== */

[data-theme="dark"] .hero {
  background: var(--bg-dark);
}

[data-theme="dark"] .stats-bar {
  background: var(--bg-dark);
  border-bottom-color: var(--border-subtle);
}

[data-theme="dark"] .stat-item:not(:last-child)::after {
  color: var(--text-muted);
}

[data-theme="dark"] .stat-item h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .hero h1 {
  color: var(--text-primary);
}

[data-theme="dark"] .portfolio-tags span {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-cyan);
}

[data-theme="dark"] .comparison-row.header {
  background: rgba(124, 58, 237, 0.08);
}

[data-theme="dark"] .contact-form {
  background: var(--bg-card);
  box-shadow: none;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .testimonial-card {
  background: var(--bg-card);
}

[data-theme="dark"] .step-number {
  box-shadow: none;
}

[data-theme="dark"] .footer-social a img {
  opacity: 0.7;
}

[data-theme="dark"] .footer-social a:hover img {
  opacity: 1;
}

[data-theme="dark"] .hero-photo-frame {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ===== Portfolio Filters ===== */

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

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: transparent;
}

.portfolio-card.hidden-extra {
  display: none;
}

.portfolio-card.show-extra {
  animation: fadeInUp 0.5s ease forwards;
}

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

.show-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* ===== Video Showcase ===== */

.video-showcase {
  background: var(--bg-mid);
  padding: var(--section-py) 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 24px;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.video-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  pointer-events: none;
}

.video-play-btn.playing {
  opacity: 0;
}

.video-play-btn svg {
  width: 56px;
  height: 56px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.video-card-body {
  padding: 18px 24px;
}

.video-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.video-card-body p {
  font-size: 0.88rem;
}
