/* ==========================================================================
   GEGEBASKI — Single-Page Business Card
   Design system, component styles, and responsive layout.

   Structure:
     1. Fonts & Variables
     2. Reset & Base
     3. Animations (scroll-reveal)
     4. Navbar
     5. Hero
     6. Shared section styles
     7. Components (services, printer, materials, process, community, gallery, faq)
     8. Contact & Footer
     9. Floating WhatsApp CTA
    10. Responsive breakpoints (900px, 640px)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. FONTS & VARIABLES
   -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Palette — dark base with blue/purple accents */
  --bg-primary:            #07070f;
  --bg-secondary:          #0d0d1a;
  --bg-card:               rgba(15, 15, 30, 0.7);
  --bg-card-hover:         rgba(25, 25, 50, 0.8);
  --bg-glass:              rgba(255, 255, 255, 0.03);

  --accent-blue:           #4f7df5;
  --accent-blue-light:     #6b94ff;
  --accent-purple:         #9b6dff;
  --accent-purple-light:   #b48aff;
  --accent-gradient:       linear-gradient(135deg, #4f7df5, #9b6dff);
  --accent-gradient-hover: linear-gradient(135deg, #6b94ff, #b48aff);
  --accent-subtle:         linear-gradient(135deg, rgba(79,125,245,0.15), rgba(155,109,255,0.15));

  --text-primary:          #e8e8f0;
  --text-secondary:        #9a9ab0;
  --text-muted:            #5a5a74;

  --border-color:          rgba(255, 255, 255, 0.06);
  --border-glow:           rgba(79, 125, 245, 0.2);

  --whatsapp-green:        #25D366;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --section-padding:   100px 0;
  --container-width:   1100px;
  --card-radius:       16px;
  --card-radius-sm:    12px;

  /* Motion */
  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Ambient background glow — two fixed radial gradients */
body::before {
  content: '';
  position: fixed;
  top: -40%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(ellipse, rgba(79,125,245,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(ellipse, rgba(155,109,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------------------------------------
   3. ANIMATIONS — Scroll-reveal system
   Applied via .reveal class; JS adds .visible on intersection.
   .reveal-stagger staggers child elements with incremental delays.
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Shared pulsing dot animation — used by hero badge + printer status */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(79,125,245,0.5); }
  50%      { opacity: 0.8; box-shadow: 0 0 0 6px rgba(79,125,245,0); }
}


/* --------------------------------------------------------------------------
   4. NAVBAR
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

/* Glassmorphic background — toggled by JS on scroll */
.navbar.scrolled {
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-color);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

/* CTA button in nav */
.nav-cta {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  transition: opacity var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background: var(--accent-gradient-hover) !important;
}

/* Mobile hamburger — hidden by default, shown at 640px */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hamburger → X animation */
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue-light);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Shared button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--whatsapp-green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

.btn-primary:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

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

.btn-icon { font-size: 1.15rem; line-height: 1; }


/* --------------------------------------------------------------------------
   6. SHARED SECTION STYLES
   -------------------------------------------------------------------------- */

.section { padding: var(--section-padding); }

.section + .section { border-top: 1px solid var(--border-color); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 12px auto 0;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   7A. SERVICES
   -------------------------------------------------------------------------- */

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-medium);
  backdrop-filter: blur(8px);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(79, 125, 245, 0.08);
}

.service-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: var(--accent-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   7B. PRINTER
   -------------------------------------------------------------------------- */

.printer-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.printer-image-wrap {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.printer-image-wrap img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(79,125,245,0.15));
}

/* Subtle bottom gradient overlay on printer image */
.printer-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,7,15,0.4));
  pointer-events: none;
}

.printer-status-badge {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #25D366;
  z-index: 2;
}

.printer-status-badge .dot {
  width: 6px; height: 6px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.printer-details h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.printer-details .printer-subtitle {
  font-size: 0.95rem;
  color: var(--accent-blue-light);
  font-weight: 500;
  margin-bottom: 24px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius-sm);
  padding: 16px;
}

.spec-item .spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-item .spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.printer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.printer-features .tag {
  padding: 5px 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-blue-light);
}


/* --------------------------------------------------------------------------
   7C. MATERIALS
   -------------------------------------------------------------------------- */

.materials-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.material-category {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition-medium);
}

.material-category:hover { border-color: var(--border-glow); }

.material-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.material-category-icon {
  width: 40px; height: 40px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.material-category h3     { font-size: 1rem; font-weight: 700; }
.material-category h3 + p { font-size: 0.8rem; color: var(--text-muted); }

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

.material-tags span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.material-tags span:hover {
  background: var(--accent-subtle);
  border-color: var(--border-glow);
  color: var(--accent-blue-light);
}

.materials-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.materials-note strong { color: var(--text-secondary); }


/* --------------------------------------------------------------------------
   7D. PROCESS (How It Works)
   -------------------------------------------------------------------------- */

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

/* Connecting line between step numbers */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

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

.step-number {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--accent-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(79,125,245,0.2);
}

.process-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }

.process-step p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}


/* --------------------------------------------------------------------------
   7E. COMMUNITY (Masaüstü Ekibi)
   Gradient border achieved via padding trick on outer card.
   -------------------------------------------------------------------------- */

.community-card {
  border-radius: var(--card-radius);
  padding: 2px;                          /* acts as border width */
  background: var(--accent-gradient);    /* the visible "border" */
}

.community-card-inner {
  background: var(--bg-secondary);
  border-radius: calc(var(--card-radius) - 2px);
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.community-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.community-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.community-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-content > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.community-tags span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-blue-light);
}

/* Instagram-branded CTA link */
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(214,41,118,0.15), rgba(79,91,213,0.15));
  border: 1px solid rgba(214,41,118,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e1306c;
  transition: all var(--transition-fast);
}

.community-link:hover {
  background: linear-gradient(135deg, rgba(214,41,118,0.25), rgba(79,91,213,0.25));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(214,41,118,0.15);
}

.community-link svg { fill: #e1306c; }


/* --------------------------------------------------------------------------
   7F. GALLERY
   Placeholder section — replace with photo grid when ready.
   -------------------------------------------------------------------------- */

.gallery-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-glow);
  border-radius: var(--card-radius);
  padding: 60px 24px;
  text-align: center;
}

.gallery-placeholder .gallery-icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.5; }
.gallery-placeholder h3            { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.gallery-placeholder p             { font-size: 0.875rem; color: var(--text-muted); }


/* --------------------------------------------------------------------------
   7G. FAQ
   Accordion: .active class toggled via JS controls max-height + chevron rotation.
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   8. CONTACT & FOOTER
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(79, 125, 245, 0.08);
}

.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Brand-colored icon backgrounds */
.contact-card-whatsapp .contact-card-icon  { background: rgba(37, 211, 102, 0.12); }
.contact-card-instagram .contact-card-icon { background: linear-gradient(135deg, rgba(254,218,117,0.12), rgba(214,41,118,0.12), rgba(79,91,213,0.12)); }

.contact-card-info     { min-width: 0; }
.contact-card-info .label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.contact-card-info .value { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }

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

.footer-copyright { font-size: 0.8rem; color: var(--text-muted); }

.footer-file-formats       { display: flex; align-items: center; gap: 8px; }
.footer-file-formats span  { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }
.footer-file-formats code  { padding: 3px 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: 4px; font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); font-family: var(--font-family); }


/* --------------------------------------------------------------------------
   9. FLOATING WHATSAPP CTA
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg { width: 22px; height: 22px; fill: #fff; }


/* --------------------------------------------------------------------------
   10. RESPONSIVE
   -------------------------------------------------------------------------- */

/* --- Tablet (≤900px) --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Stack icon + text side-by-side on smaller screens */
  .service-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
  }

  .service-icon { margin: 0; flex-shrink: 0; }

  .printer-showcase { grid-template-columns: 1fr; gap: 24px; }

  .materials-categories { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }

  .community-card-inner { flex-direction: column; padding: 28px; gap: 20px; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Mobile (≤640px) --- */
@media (max-width: 640px) {
  :root { --section-padding: 64px 0; }

  /* Slide-in nav panel */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(7, 7, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition-medium);
    border-left: 1px solid var(--border-color);
  }

  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; padding: 14px 16px; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .spec-grid { grid-template-columns: 1fr; }

  /* Collapse floating CTA to icon-only */
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }
}
