/* ===================================================
   CRAZEON DIGI SOLUTION — Global Styles
   =================================================== */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* — CSS Variables — */
:root {
  --bg: #03050f;
  --bg2: #060810;
  --card: #0a0d1a;
  --card-glass: rgba(10, 13, 26, 0.65);
  --border: #1a2240;
  --border-glow: rgba(0, 229, 255, 0.25);
  --cyan: #00e5ff;
  --green: #00ff9c;
  --purple: #b060ff;
  --text: #b8d0e8;
  --heading: #ddeeff;
  --muted: #4a6880;
  --white: #ffffff;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --max-width: 1200px;
  --section-pad: 120px 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* — Responsive Images Global — */
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

img[src],
picture img {
  max-width: 100%;
  height: auto;
}

/* Custom cursor only on devices with mouse/trackpad */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  .btn {
    cursor: none;
  }

  a {
    cursor: none;
  }
}

/* — Dot Grid Background — */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* — Custom Cursor — */
.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease;
  mix-blend-mode: screen;
  box-shadow: 0 0 20px var(--cyan), 0 0 60px rgba(0, 229, 255, 0.3);
  transform: translate(-50%, -50%);
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(3);
  background: var(--green);
  box-shadow: 0 0 30px var(--green), 0 0 80px rgba(0, 255, 156, 0.3);
}

.cursor-dot.click {
  transform: translate(-50%, -50%) scale(0.5);
  background: var(--white);
  box-shadow: 0 0 20px var(--white);
}

.cursor-ripple {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  animation: shockwave 0.6s ease-out forwards;
}

/* — Selection — */
::selection {
  background: rgba(0, 229, 255, 0.25);
  color: var(--heading);
}

/* — Links — */
a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* — Typography — */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  max-width: min(680px, 100%);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 600px;
}

/* — Layout — */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: var(--section-pad);
  position: relative;
}

/* — Glassmorphism Card — */
.glass-card {
  background: var(--card-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 50px rgba(0, 229, 255, 0.12);
  z-index: 10;
}

/* ===================================================
   NAVBAR
   =================================================== */
/* mobile-bottom-nav visibility is controlled by responsive.css */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 5, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo .logo-main {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 2px;
  line-height: 1;
}

.nav-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 2px;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--heading);
}

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

.nav-links a.active {
  color: var(--cyan);
}

.nav-links a.active::after {
  width: 100%;
}

/* — CTA Button — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  min-width: 44px;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--bg);
}

.btn-primary:hover {
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4), 0 0 60px rgba(0, 255, 156, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
  color: var(--cyan);
}

.btn-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* — Hamburger — */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01); /* Invisible bg to fix iOS touch bug */
  border: none;
  padding: 12px; /* Larger touch target */
  margin-right: -12px; /* Offset the padding */
  touch-action: manipulation;
  border-radius: 8px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--heading);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(176, 96, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 255, 156, 0.05) 0%, transparent 50%);
  animation: gradientShift 12s ease-in-out infinite alternate;
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 12px;
  animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(1) {
  width: clamp(40px, 8vw, 80px);
  aspect-ratio: 1;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 10s;
  transform: rotate(30deg);
}

.hero-shapes .shape:nth-child(2) {
  width: clamp(60px, 12vw, 120px);
  aspect-ratio: 1;
  top: 60%;
  right: 8%;
  animation-delay: 2s;
  animation-duration: 12s;
  transform: rotate(60deg);
  border-color: rgba(176, 96, 255, 0.1);
}

.hero-shapes .shape:nth-child(3) {
  width: clamp(30px, 5vw, 50px);
  aspect-ratio: 1;
  bottom: 20%;
  left: 25%;
  animation-delay: 4s;
  animation-duration: 9s;
  transform: rotate(15deg);
  border-color: rgba(0, 255, 156, 0.1);
}

.hero-shapes .shape:nth-child(4) {
  width: clamp(45px, 9vw, 90px);
  aspect-ratio: 1;
  top: 25%;
  right: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
  transform: rotate(45deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s forwards;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Social Proof Strip */
.social-proof {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-item .number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
}

.proof-item .label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ===================================================
   SERVICES OVERVIEW
   =================================================== */
.services-overview {
  background: var(--bg2);
}

.services-overview .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-overview .section-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  padding: 36px 28px;
  text-align: left;
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(176, 96, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.65;
}

.service-card .price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
}

.card-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
  gap: 12px;
  color: var(--green);
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works .section-header .section-desc {
  margin: 0 auto;
}

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

.step-card {
  text-align: center;
  padding: 48px 28px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 auto;
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-us {
  background: var(--bg2);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.stat-card {
  padding: 28px;
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.benefits-list .check {
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials .section-header .section-desc {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 28px;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

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

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
}

.testimonial-info .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  font-size: 0.95rem;
}

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

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  padding: 80px 0;
}

.cta-card {
  background: var(--card-glass);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  animation: gradientShift 6s ease-in-out infinite alternate;
}

.cta-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-card p {
  color: var(--text);
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--bg2);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-size: 1rem;
  margin-bottom: 20px;
}

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

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

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

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: all var(--transition);
}

.social-icons a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===================================================
   SERVICES PAGE — Detailed
   =================================================== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(176, 96, 255, 0.05) 0%, transparent 50%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 auto;
  max-width: 600px;
}

/* Service detail block */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  background: var(--bg2);
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.service-detail-header .detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(176, 96, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-detail-header h2 {
  margin-bottom: 8px;
}

.service-detail-header p {
  color: var(--text);
  font-size: 1rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.detail-block h4 {
  color: var(--heading);
  margin-bottom: 16px;
  font-size: 1rem;
}

.detail-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-block ul li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.detail-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* — Pricing Table — */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card .tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-card .price-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 4px;
}

.pricing-card .price-usd {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}

.pricing-card ul li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* — FAQ Accordion — */
.faq-section {
  margin-top: 48px;
}

.faq-section h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--card);
  border: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--heading);
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(0, 229, 255, 0.04);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 18px 24px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ===================================================
   PORTFOLIO
   =================================================== */
.filter-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

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

.portfolio-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(180px, 50vw, 280px);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(176, 96, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.portfolio-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card) 0%, transparent 60%);
}

.portfolio-card .card-body {
  padding: 24px 28px;
}

.portfolio-card .card-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.portfolio-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.portfolio-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-font-size-adjust: 100%;
  font-size-adjust: none;
  -webkit-appearance: none;
  appearance: none;
}

@supports (font-size: 1rem) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6880' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--card);
  color: var(--text);
}

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

.form-group .error-msg {
  font-size: 0.8rem;
  color: #ff4d6a;
  margin-top: 6px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ff4d6a;
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 28px;
}

.contact-info-card .info-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.contact-info-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--cyan);
}

.map-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===================================================
   UTILITIES
   =================================================== */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.mb-24 {
  margin-bottom: 24px;
}

.mt-48 {
  margin-top: 48px;
}