/* ===== Brutalist Maximalist — Sections ===== */
/* BROKEN GRID. PUNK. CHAOS. MAXIMUM VISUAL AGGRESSION. */

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

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--nav-height) + 50px);
  overflow: visible;
  background: #000000;
  border-bottom: 6px solid #FFE500;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

/* Grid background — harsher, more visible, BIGGER grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 229, 0, 0.1) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 229, 0, 0.1) 2px, transparent 2px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Kill glow circles */
.hero-glow {
  display: none;
}

.hero-glow-1,
.hero-glow-2 {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 20px;
  align-items: center;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
}

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

/* BROKEN GRID — photo breaks out of its container DRAMATICALLY */
.hero-photo-broken {
  transform: translate(40px, -30px) rotate(6deg);
  margin-inline-start: -50px;
}

/* PHOTO — rotated polaroid style with THICK border and RED SHADOW */
.hero-photo-frame {
  width: 320px;
  height: 360px;
  overflow: hidden;
  border: 7px solid #FFE500;
  box-shadow: 10px 10px 0 #FF3300, 20px 20px 0 rgba(255, 229, 0, 0.25);
  transform: rotate(5deg);
  animation: none;
  background: #111;
  position: relative;
}

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

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #FFE500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 900;
  color: #000000;
}

.hero .badge {
  margin-bottom: 24px;
}

/* HERO H1 — ENORMOUS, chaotic, BREAKS THE GRID */
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-inline-end: -80px;
  position: relative;
  z-index: 6;
  color: #FFE500;
  text-shadow: 4px 4px 0 #FF3300;
}

.hero h1 br + span,
.hero h1 .gradient-text-animated {
  display: block;
  margin-top: -0.05em;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 560px;
  color: #CCCCCC;
  line-height: 1.7;
  font-size: 1.15rem;
}

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

/* Code decoration — brutalist monospace feel */
.hero-code {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(255, 229, 0, 0.2);
  opacity: 1;
  white-space: pre;
  line-height: 1.6;
  pointer-events: none;
  user-select: none;
  border-left: 3px solid rgba(255, 229, 0, 0.15);
  padding-left: 16px;
}

[dir="rtl"] .hero-code {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 3px solid rgba(255, 229, 0, 0.15);
  padding-left: 0;
  padding-right: 16px;
}

/* ===== Stats Bar — LOUD FORMAT ===== */

.stats-bar {
  background: #FFE500;
  border-top: 6px solid #000000;
  border-bottom: 6px solid #000000;
  padding: 36px 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0, 0, 0, 0.03) 20px,
    rgba(0, 0, 0, 0.03) 40px
  );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 8px 20px;
}

.stat-item:not(:last-child)::after {
  content: '//';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  font-weight: 900;
  color: #000000;
  opacity: 0.3;
}

[dir="rtl"] .stat-item:not(:last-child)::after {
  left: auto;
  right: 0;
}

.stat-item h3 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: #000000;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #000000;
  background-clip: unset;
  margin-bottom: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.stat-item p {
  font-size: 1rem;
  color: #000000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Services Section — NUMBERED, BOLD, AGGRESSIVE ===== */

.services {
  background: #000000;
  border-top: 5px solid #FFE500;
  position: relative;
}

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

/* Service cards — alternating yellow/black with thick borders */
.service-card {
  border: 4px solid #FFE500 !important;
  position: relative;
  padding: 36px 32px !important;
  background: rgba(255, 229, 0, 0.03) !important;
}

.service-card:nth-child(odd) {
  background: rgba(255, 229, 0, 0.06) !important;
}

.service-card:hover {
  background: rgba(255, 229, 0, 0.1) !important;
  border-color: #FF3300 !important;
  box-shadow: 8px 8px 0 #FF3300 !important;
  transform: translate(-4px, -4px) !important;
}

/* Service card numbering */
.service-card::before {
  content: attr(data-number);
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  color: #FF3300;
  letter-spacing: 0.05em;
}

[dir="rtl"] .service-card::before {
  left: auto;
  right: 16px;
}

.service-card .card-icon {
  background: #FFE500;
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 #FF3300;
}

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

.service-card .card-price {
  font-size: 1rem;
  color: #FFE500;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card h3 {
  color: #FFE500;
  margin-bottom: 12px;
  font-size: 1.3rem;
  border-bottom: 3px solid rgba(255, 229, 0, 0.2);
  padding-bottom: 12px;
}

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

.service-card li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-inline-start: 24px;
  border-bottom: 1px solid rgba(255, 229, 0, 0.08);
}

.service-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background: #FFE500;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ===== How It Works — BOLD NUMBERED STEPS ===== */

.process {
  background: #0A0A0A;
  border-top: 5px solid #FF3300;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  border: 4px solid #FFE500;
}

.process-steps::before {
  display: none;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  border-inline-end: 3px solid rgba(255, 229, 0, 0.3);
}

.step:last-child {
  border-inline-end: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: #FFE500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #000000;
  margin: 0 auto 20px;
  box-shadow: 5px 5px 0 #FF3300;
  border: 4px solid #000000;
  font-family: var(--font-mono);
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: #FFE500;
}

.step p {
  font-size: 0.9rem;
}

/* ===== Portfolio Section — MASSIVE TITLE, THICK CARDS ===== */

.portfolio {
  background: #000000;
  border-top: 5px solid #FFE500;
  position: relative;
}

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

.portfolio-card {
  overflow: hidden;
  background: var(--bg-card);
  border: 4px solid #FFE500;
  transition: none;
}

.portfolio-card:hover {
  border-color: #FF3300;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 #FF3300;
}

.portfolio-img {
  aspect-ratio: 16/10;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid #FFE500;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
  filter: grayscale(0.2) contrast(1.1);
}

.portfolio-card:hover .portfolio-img img {
  filter: none;
  transform: none;
}

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

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

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #FFE500;
}

.portfolio-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

.portfolio-tags span {
  padding: 4px 12px;
  background: #FFE500;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 2px solid #000000;
  letter-spacing: 0.03em;
}

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

.advantage {
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #FF3300;
}

.advantage::before {
  display: none;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 4px solid #FFE500;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 3px solid rgba(255, 229, 0, 0.3);
}

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

.comparison-row.header {
  background: #FFE500;
}

.comparison-row.header .comparison-cell {
  color: #000000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

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

.comparison-cell:not(:last-child) {
  border-inline-end: 3px solid rgba(255, 229, 0, 0.3);
}

.comparison-cell.highlight {
  color: #00CC00;
  font-weight: 900;
  font-size: 1rem;
}

.comparison-cell.dim {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #FF3300;
}

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

.testimonials {
  background: #000000;
  border-top: 5px solid #FFE500;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 4px solid #FFE500;
  padding: 36px;
  transition: none;
}

.testimonial-card:hover {
  border-color: #FF3300;
  box-shadow: 8px 8px 0 #FF3300;
  transform: translate(-4px, -4px);
}

.testimonial-stars {
  color: #FFE500;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: normal;
  border-right: 5px solid #FFE500;
  padding-right: 20px;
  font-weight: 500;
}

[dir="ltr"] .testimonial-text {
  border-right: none;
  border-left: 5px solid #FFE500;
  padding-right: 0;
  padding-left: 20px;
}

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

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: #FFE500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: #000000;
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 #FF3300;
}

.testimonial-name {
  font-weight: 900;
  color: #FFE500;
  font-size: 1rem;
  text-transform: uppercase;
}

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

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

.faq {
  background: #0A0A0A;
  border-top: 5px solid #FF3300;
}

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

/* ===== Contact Section — BRUTALIST FORM ===== */

.contact {
  background: #000000;
  border-top: 5px solid #FFE500;
  position: relative;
}

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

.contact-info h2 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #FFE500;
  text-shadow: 3px 3px 0 #FF3300;
}

.contact-info > p {
  margin-bottom: 32px;
  font-size: 1.1rem;
  border-right: 4px solid #FFE500;
  padding-right: 16px;
}

[dir="ltr"] .contact-info > p {
  border-right: none;
  border-left: 4px solid #FFE500;
  padding-right: 0;
  padding-left: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  padding: 12px 16px;
  border: 2px solid rgba(255, 229, 0, 0.15);
  background: rgba(255, 229, 0, 0.03);
}

.contact-detail:hover {
  border-color: #FFE500;
  background: rgba(255, 229, 0, 0.08);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #FFE500;
}

.contact-form {
  background: rgba(255, 229, 0, 0.03);
  border: 4px solid #FFE500;
  padding: 40px;
  box-shadow: 10px 10px 0 #FF3300;
  position: relative;
}

.contact-form::before {
  content: 'CONTACT';
  position: absolute;
  top: -14px;
  left: 20px;
  background: #FF3300;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid #000000;
}

[dir="rtl"] .contact-form::before {
  left: auto;
  right: 20px;
}

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

.footer {
  background: #000000;
  border-top: 8px solid #FFE500;
  padding: 60px 0 24px;
}

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

.footer-brand img {
  height: 48px;
  width: 48px;
  margin-bottom: 16px;
  border: 3px solid #FFE500;
}

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

.footer-col h4 {
  color: #FFE500;
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  border-bottom: 3px solid #FFE500;
  padding-bottom: 8px;
  display: inline-block;
}

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

.footer-col a:hover {
  color: #FFE500;
}

.footer-bottom {
  border-top: 3px solid #FFE500;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

.footer-social a:hover {
  color: #FFE500;
}

/* ===== Dark Mode — everything is already dark, no overrides needed ===== */
[data-theme="dark"] .hero-glow { display: none; }
[data-theme="dark"] .hero-photo-frame {
  border-color: #FFE500;
  box-shadow: 10px 10px 0 #FF3300, 20px 20px 0 rgba(255, 229, 0, 0.25);
}
[data-theme="dark"] .hero-code { color: rgba(255, 229, 0, 0.2); opacity: 1; }
[data-theme="dark"] .portfolio-tags span { background: #FFE500; color: #000000; }
[data-theme="dark"] .comparison-row.header { background: #FFE500; }
[data-theme="dark"] .advantage::before { display: none; }
[data-theme="dark"] .contact-form { background: rgba(255, 229, 0, 0.03); box-shadow: 10px 10px 0 #FF3300; }
[data-theme="dark"] .step-number { box-shadow: 5px 5px 0 #FF3300; }
[data-theme="dark"] .footer-social a img { opacity: 0.8; }
[data-theme="dark"] .footer-social a:hover img { opacity: 1; }

/* Light mode overrides (shouldn't trigger, but just in case) */
.hero-glow { display: none; }
.hero-code { color: rgba(255, 229, 0, 0.2); opacity: 1; }
.portfolio-tags span { background: #FFE500; color: #000000; }
.comparison-row.header { background: #FFE500; }
.advantage::before { display: none; }
.contact-form { box-shadow: 10px 10px 0 #FF3300; }
.step-number { box-shadow: 5px 5px 0 #FF3300; }
.footer-social a img { opacity: 0.8; }
.footer-social a:hover img { opacity: 1; }

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

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  border: 3px solid #FFE500;
  display: inline-flex;
  width: 100%;
}

.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: none;
  border-inline-end: 2px solid rgba(255, 229, 0, 0.3);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
}

.filter-btn:last-child {
  border-inline-end: none;
}

.filter-btn:hover {
  background: rgba(255, 229, 0, 0.15);
  color: #FFE500;
}

.filter-btn.active {
  background: #FFE500;
  color: #000000;
}

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

.portfolio-card.show-extra {
  animation: none;
  opacity: 1;
}

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

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

.video-showcase {
  background: #0A0A0A;
  border-top: 5px solid #FFE500;
}

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

.video-card {
  overflow: hidden;
  background: var(--bg-card);
  border: 4px solid #FFE500;
  transition: none;
}

.video-card:hover {
  border-color: #FF3300;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 #FF3300;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
  cursor: pointer;
  border-bottom: 3px solid #FFE500;
}

.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.5);
  backdrop-filter: none;
  border: none;
  cursor: pointer;
  transition: none;
  pointer-events: none;
}

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

.video-play-btn svg {
  width: 72px;
  height: 72px;
  fill: #FFE500;
  filter: none;
}

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

.video-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #FFE500;
}

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

/* ===== SECTION HEADER — BRUTALIST STYLE ===== */

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  position: relative;
}

.section-divider {
  width: 150px;
  height: 8px;
  background: #FFE500;
  margin: 20px auto 0;
  box-shadow: 3px 3px 0 #FF3300;
}
