/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Ink Journal', cursive;
  background: #000;
  color: #7f068a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Lucida Handwriting Font */
body#contact {
  font-family: 'Lucida Handwriting', cursive;
}

/* ============================= */
/* Liquid Metal Background Effect */
/* ============================= */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('purple 1.jpg') center/cover no-repeat;
  background-size: 110% 110%;
  animation: backgroundZoomPan 20s ease-in-out infinite;
  z-index: -1;
  opacity: 0.8;
}

@keyframes backgroundZoomPan {
  0% {
    background-position: 0% 50%;
    background-size: 100% 100%;
  }
  25% {
    background-position: 100% 50%;
    background-size: 110% 110%;
  }
  50% {
    background-position: 100% 100%;
    background-size: 120% 120%;
  }
  75% {
    background-position: 0% 100%;
    background-size: 110% 110%;
  }
  100% {
    background-position: 0% 50%;
    background-size: 100% 100%;
  }
}

@keyframes liquidMetal {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header */
header {
  background: linear-gradient(90deg, #27063f, #444443, #000);
  color: #ce05f7;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header h1 {
  font-family: 'Ink Journal', cursive;
  font-size: 3rem;
  color: #6A0DAD;
  display: inline-block;
  transition: all 0.4s ease;
  font-weight: bold;
  text-shadow:
    0 0 5px #b80ab8,
    0 0 10px #d8a7d8,
    0 0 20px #ffffff;
  animation: morphText 8s ease-in-out infinite alternate;
}

/* Metallic silver span */
header h1 span {
  background: linear-gradient(
    90deg,
    #000000,
    #434343,
    #C0C0C0,
    #E0E0E0,
    #C0C0C0,
    #000000
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  animation: liquidMetal 10s linear infinite;
}

header p {
  font-family: 'Ink Journal', cursive;
  font-size: 1.5rem;
  background: linear-gradient(
    90deg,
    #000000,
    #434343,
    #C0C0C0,
    #E0E0E0,
    #000000
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
/* Navigation: desktop-first layout. On desktop the menu is horizontal across the page.
   On tablet/phone the UL hides and a hamburger toggle is shown. */
nav {
  background: #111;
  display: flex;
  justify-content: center; /* center nav contents on desktop */
  align-items: center;
  padding: 1rem;
  position: relative;
  transition: all 0.5s ease;
}

/* hamburger toggle (hidden on desktop) */
.menu-toggle {
  display: none; /* shown in media queries for tablet/phone */
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  margin-left: auto; /* align to right when visible */
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #999;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* main nav list - horizontal on desktop */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: center;
}

nav ul li { list-style: none; }

nav a {
  color: #707070;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.5s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover {
  color: #6A0DAD;
  background: linear-gradient(90deg, #434343, #C0C0C0, #E0E0E0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: url('https://via.placeholder.com/1200x400') no-repeat center center/cover;
  color: #fff;
  transition: all 0.8s ease;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #C0C0C0;
  transition: font-size 0.8s ease;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  transition: font-size 0.8s ease;
}

/* Page-specific hero backgrounds */
#support .hero {
  background: url('https://via.placeholder.com/1200x400/000000/6A0DAD?text=Support+Center') no-repeat center center/cover;
}

#portfolio .hero {
  background: url('https://via.placeholder.com/1200x400/6A0DAD/ffffff?text=Portfolio') no-repeat center center/cover;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #1a1a1a;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(106, 13, 173, 0.5);
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
  opacity: 0.3;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.9), rgba(184, 10, 184, 0.9));
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Ink Journal', cursive;
}

.portfolio-overlay p {
  color: #E0E0E0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  background: #0d0d0d;
  transition: all 0.8s ease;
}

.service {
  margin: 0;
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 8px;
  text-align: center;
  min-width: 250px;
  transition: transform 0.6s ease, border-radius 0.6s ease;
}

.service:hover {
  transform: scale(1.05);
  border-radius: 20px;
}

.service h3 {
  color: #6A0DAD;
  margin-bottom: 1rem;
}

.service img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.service:nth-child(1) {
  box-shadow: 0 0 15px #6A0DAD, 0 0 30px #b80ab8;
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  from { box-shadow: 0 0 10px #6A0DAD; }
  to   { box-shadow: 0 0 30px #b80ab8; }
}

.service:nth-child(2) {
  background: linear-gradient(135deg, #1a1a1a, #434343, #C0C0C0, #E0E0E0);
  background-size: 300% 300%;
  animation: liquidShift 8s ease infinite;
}

@keyframes liquidShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.service:nth-child(3) {
  transition: border-radius 1s ease, transform 1s ease;
}

/* Contact Form Styles */
.contact-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 8px;
}

.contact-container h2 {
  color: #6A0DAD;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-container label {
  color: #C0C0C0;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.contact-container input,
.contact-container textarea {
  padding: 0.75rem;
  background: #0d0d0d;
  border: 1px solid #434343;
  border-radius: 4px;
  color: #C0C0C0;
  font-family: 'Ink Journal', cursive;
}

.contact-container input:focus,
.contact-container textarea:focus {
  outline: none;
  border-color: #6A0DAD;
  box-shadow: 0 0 5px #6A0DAD;
}

.contact-container button {
  padding: 0.75rem 2rem;
  background: linear-gradient(90deg, #6A0DAD, #b80ab8);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-container button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #6A0DAD;
}

.contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #434343;
}

.contact-info h3 {
  color: #6A0DAD;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: #C0C0C0;
}

/* Section Styles */
section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  color: #6A0DAD;
  margin-bottom: 1rem;
}

section h3 {
  color: #b80ab8;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

section a {
  color: #6A0DAD;
  text-decoration: none;
  transition: color 0.3s ease;
}

section a:hover {
  color: #b80ab8;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #C0C0C0;
}

footer a {
  color: #6A0DAD;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #b80ab8;
}

/* CTA Button */
.cta-button {
  background: linear-gradient(90deg, #6A0DAD, #b80ab8);
  padding: 1rem 2rem;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.6);
}

/* ============================= */
/* Breakpoint Morphing */
/* ============================= */

/* Smartphones (320px–640px) */
@media only screen and (min-width: 320px) and (max-width: 640px) {
  body { font-size: 14px; padding: 10px; }
  nav ul { display: none; flex-direction: column; text-align: center; width: 100%; }
  nav ul.show { display: flex; }
  .menu-toggle { display: flex; }
  .hero h2 { font-size: 1.8rem; transform: scale(0.95); }
  .services { grid-template-columns: 1fr; }
  .service { margin: 10px 0; transform: rotate(0deg); }
  .service:nth-child(3) {
    border-radius: 50px;
    transform: scale(0.95);
  }
  .portfolio-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1rem; }
}
/* Tablets (641px–1024px) */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
  body { font-size: 16px; padding: 20px; }
  /* Use hamburger on tablet as well */
  nav ul { display: none; flex-direction: column; justify-content: center; width: 100%; }
  .menu-toggle { display: flex; }
  nav ul.show {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.5rem 0;
    z-index: 50;
    flex-direction: column;
    gap: 0;
    background: #111;
  }
  nav ul.show li a { padding: 0.8rem 1rem; display: block; text-align: center; }
  .hero h2 { font-size: 2rem; transform: scale(1.05); }
  .services { grid-template-columns: 2fr 1fr; }
  .service { margin: 15px 0; transform: rotate(2deg); }
  .service:nth-child(3) {
    border-radius: 20px;
    transform: rotate(2deg);
  }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* Desktops (1025px and up) */
@media only screen and (min-width: 1025px) {
  .hero h2 { font-size: 2.5rem; transform: scale(1.1); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { transform: rotate(0deg); }
  .service:nth-child(3) {
    border-radius: 8px;
    transform: scale(1.05);
  }
}

/* Morphing Text Animation */
@keyframes morphText {
  0% { letter-spacing: 1px; transform: scale(1); }
  50% { letter-spacing: 4px; transform: scale(1.1); }
  100% { letter-spacing: 1px; transform: scale(1); }
}

/* ============================= */
/* Hero Animated Section (About Page) */
/* ============================= */
.hero-animated {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #6A0DAD, #b80ab8, #434343, #1a1a1a);
  background-size: 400% 400%;
  animation: heroGradient 10s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('silver 2.png') center center/cover;
  opacity: 0.3;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 20px #b80ab8, 0 0 40px #6A0DAD;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  color: #C0C0C0;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite, fadeInUp 2s ease-out;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 0 20px #6A0DAD, 0 0 40px #b80ab8;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px #6A0DAD, 0 0 60px #b80ab8, 0 0 80px #d8a7d8;
    transform: scale(1.05);
  }
}

/* ============================= */
/* Typewriter Section (About Page) */
/* ============================= */
.typewriter-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.typewriter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.1), transparent);
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { left: -100%; }
  100% { left: 100%; }
}

.typewriter-section h2 {
  font-size: 2.5rem;
  color: #C0C0C0;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px #6A0DAD;
}

/* Typewriter Article Container */
.typewriter-article {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  padding: 0 2rem;
}

/* Typewriter Animation with Text Wrapping */
.typewriter-article .typewriter-text {
  font-size: 1rem;
  color: #b80ab8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  overflow: hidden;
  animation: revealText 3s steps(1, end) forwards;
}

.typewriter-article .typewriter-text::after {
  content: '';
  position: absolute;
  right: 0;
  width: 3px;
  height: 1.2em;
  background-color: #6A0DAD;
  animation: blink 0.75s step-end infinite;
}

.typewriter-article .typewriter-text:nth-child(1) {
  animation-delay: 0s;
  opacity: 1;
}

.typewriter-article .typewriter-text:nth-child(2) {
  opacity: 0;
  animation: revealText 3s steps(1, end) 1s forwards, fadeInText 0.3s ease-in 1s forwards;
}

.typewriter-article .typewriter-text:nth-child(3) {
  opacity: 0;
  animation: revealText 3s steps(1, end) 2s forwards, fadeInText 0.3s ease-in 2s forwards;
}

.typewriter-article .typewriter-text:nth-child(4) {
  opacity: 0;
  animation: revealText 3s steps(1, end) 3s forwards, fadeInText 0.3s ease-in 3s forwards;
}

.typewriter-article .typewriter-text:nth-child(5) {
  opacity: 0;
  animation: revealText 3s steps(1, end) 4s forwards, fadeInText 0.3s ease-in 4s forwards;
}

.typewriter-article .typewriter-text:nth-child(6) {
  opacity: 0;
  animation: revealText 3s steps(1, end) 5s forwards, fadeInText 0.3s ease-in 5s forwards;
}

@keyframes fadeInText {
  to { opacity: 1; }
}

@keyframes revealText {
  from { max-height: 0; }
  to { max-height: 500px; }
}

@keyframes blink {
  from, to { background-color: transparent; }
  50% { background-color: #6A0DAD; }
}

/* Responsive adjustments for typewriter */
@media only screen and (max-width: 1024px) {
  .typewriter-article {
    padding: 0 1rem;
  }

  .typewriter-article .typewriter-text {
    font-size: 0.95rem;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 640px) {
  .hero-animated {
    min-height: 400px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .typewriter-section h2 {
    font-size: 2rem;
  }

  .typewriter-article .typewriter-text {
    font-size: 0.9rem;
  }
}

/* ============================= */
/* Support Page Styles */
/* ============================= */
.support-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.warranty-card,
.support-card,
.faq-card,
.contact-support {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(106, 13, 173, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warranty-card:hover,
.support-card:hover,
.faq-card:hover,
.contact-support:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(106, 13, 173, 0.4);
}

.warranty-card h3,
.support-card h3,
.faq-card h3,
.contact-support h3 {
  color: #6A0DAD;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.warranty-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.warranty-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #0d0d0d;
  border-left: 3px solid #6A0DAD;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.warranty-list li:hover {
  background: #27063f;
  border-left-color: #b80ab8;
  transform: translateX(5px);
}

.warranty-note {
  background: #27063f;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid #b80ab8;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

/* Support Tiers */
.support-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tier {
  background: #0d0d0d;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid #434343;
  transition: all 0.3s ease;
}

.tier:hover {
  border-color: #6A0DAD;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.5);
}

.tier-featured {
  border-color: #6A0DAD;
  background: linear-gradient(135deg, #27063f, #0d0d0d);
  position: relative;
}

.tier-featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6A0DAD, #b80ab8);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

.tier h4 {
  color: #b80ab8;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 1.8rem;
  color: #6A0DAD;
  font-weight: bold;
  margin: 1rem 0;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  text-align: left;
}

.tier ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #434343;
  color: #C0C0C0;
}

.tier ul li:last-child {
  border-bottom: none;
}

.tier ul li::before {
  content: "✓ ";
  color: #6A0DAD;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* FAQ Items */
.faq-item {
  background: #0d0d0d;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 3px solid #6A0DAD;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: #27063f;
  border-left-color: #b80ab8;
  transform: translateX(5px);
}

.faq-item h4 {
  color: #b80ab8;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #C0C0C0;
  line-height: 1.7;
}

.faq-item a {
  color: #6A0DAD;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.faq-item a:hover {
  color: #b80ab8;
  text-decoration: underline;
}

/* Support Channels */
.support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.channel {
  background: #0d0d0d;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 2px solid #434343;
  transition: all 0.3s ease;
}

.channel:hover {
  border-color: #6A0DAD;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

.channel strong {
  display: block;
  color: #b80ab8;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.channel p {
  color: #C0C0C0;
  margin: 0;
}

.channel a {
  color: #6A0DAD;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.channel a:hover {
  color: #b80ab8;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive Support Page */
@media only screen and (max-width: 768px) {
  .support-tiers {
    grid-template-columns: 1fr;
  }

  .support-channels {
    grid-template-columns: 1fr;
  }

  .tier-featured::before {
    top: -10px;
    font-size: 0.7rem;
    padding: 0.2rem 0.75rem;
  }

  .warranty-card,
  .support-card,
  .faq-card,
  .contact-support {
    padding: 1.5rem;
  }
}

/* ============================= */
/* Services Page - Product Features & Pricing */
/* ============================= */
.services-intro {
  text-align: center;
  padding: 3rem 2rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.services-intro h2 {
  font-size: 2.5rem;
  color: #6A0DAD;
  margin-bottom: 1rem;
}

.services-intro p {
  font-size: 1.2rem;
  color: #C0C0C0;
}

.service-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.package {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(106, 13, 173, 0.2);
  transition: all 0.4s ease;
  border: 2px solid #434343;
}

.package:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(106, 13, 173, 0.5);
  border-color: #6A0DAD;
}

.package-featured {
  border-color: #6A0DAD;
  background: linear-gradient(135deg, #27063f, #1a1a1a);
  transform: scale(1.05);
}

.package-featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.package-header {
  position: relative;
  overflow: hidden;
}

.package-header img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.package:hover .package-header img {
  transform: scale(1.1);
}

.package-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(90deg, #6A0DAD, #b80ab8);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: badgePulse 2s ease-in-out infinite;
}

.package-badge.featured {
  background: linear-gradient(90deg, #b80ab8, #6A0DAD);
  animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.package-content {
  padding: 2rem;
}

.package-content h3 {
  font-size: 2rem;
  color: #6A0DAD;
  margin-bottom: 1rem;
  font-family: 'Ink Journal', cursive;
}

.package-description {
  color: #C0C0C0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.package-price {
  font-size: 1.1rem;
  color: #b80ab8;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.package-price .price {
  font-size: 2.5rem;
  color: #6A0DAD;
  display: block;
  margin-top: 0.5rem;
  text-shadow: 0 0 10px rgba(106, 13, 173, 0.5);
}

.package-content h4 {
  color: #b80ab8;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.feature-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #0d0d0d;
  border-radius: 6px;
  color: #C0C0C0;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.feature-list li:hover {
  background: #27063f;
  border-left-color: #6A0DAD;
  transform: translateX(5px);
}

.package-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #6A0DAD, #b80ab8);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(106, 13, 173, 0.3);
}

.package-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(106, 13, 173, 0.6);
}

/* Additional Services Section */
.additional-services {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  text-align: center;
}

.additional-services h2 {
  font-size: 2.5rem;
  color: #6A0DAD;
  margin-bottom: 2rem;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.addon-item {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #434343;
  transition: all 0.3s ease;
}

.addon-item:hover {
  border-color: #6A0DAD;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(106, 13, 173, 0.4);
}

.addon-item h4 {
  color: #b80ab8;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.addon-item p {
  color: #C0C0C0;
  margin-bottom: 0.5rem;
}

.addon-price {
  color: #6A0DAD;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Services CTA Section */
.services-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #6A0DAD, #b80ab8);
  color: #fff;
}

.services-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #E0E0E0;
}

/* Responsive Services Page */
@media only screen and (max-width: 1024px) {
  .service-packages {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .package-featured {
    transform: scale(1);
  }

  .addon-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media only screen and (max-width: 768px) {
  .services-intro h2 {
    font-size: 2rem;
  }

  .services-intro p {
    font-size: 1rem;
  }

  .service-packages {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .package-content h3 {
    font-size: 1.7rem;
  }

  .package-price .price {
    font-size: 2rem;
  }

  .addon-grid {
    grid-template-columns: 1fr;
  }

  .services-cta h2 {
    font-size: 2rem;
  }

  .services-cta p {
    font-size: 1rem;
  }
}

/* ============================= */
/* Contact Section with Journal Background */
/* ============================= */
.contact {
  background: linear-gradient(rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.9)),
    url('journal page 1.png') center/cover no-repeat;
  animation: bg-zoom 20s ease-in-out infinite;
  padding: 80px 20px;
  text-align: center;
  color: #C0C0C0;
  position: relative;
}

/* Add subtle paper texture */
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(192, 192, 192, 0.05) 0px,
    rgba(192, 192, 192, 0.05) 1px,
    transparent 2px,
    transparent 40px
  ); /* faint horizontal lines like notebook paper */
  opacity: 0.2;
  pointer-events: none;
}

.contact h2 {
  font-family: 'Lucida Handwriting', cursive;
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #6A0DAD, #C0C0C0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s infinite linear;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact .intro {
  font-style: italic;
  margin-bottom: 40px;
  color: #C0C0C0;
  font-family: 'Lucida Handwriting', cursive;
}

/* Journal Form */
.journal {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.85);
  border: 2px dashed #6A0DAD;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
  text-align: left;
  position: relative;
  z-index: 1; /* ensures form sits above background lines */
}

.journal label {
  display: block;
  margin: 15px 0 5px;
  font-family: 'Lucida Handwriting', cursive;
  color: #6A0DAD;
}

/* Inputs styled like diary lines */
.journal input,
.journal textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #C0C0C0;
  color: #C0C0C0;
  font-family: 'Lucida Handwriting', cursive;
  font-size: 1rem;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
}

.journal input:focus,
.journal textarea:focus {
  border-color: #6A0DAD;
}

/* Button */
.journal button {
  background: linear-gradient(90deg, #6A0DAD, #C0C0C0);
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-family: 'Lucida Handwriting', cursive;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(106, 13, 173, 0.8);
}

/* Journal signature */
.signature {
  margin-top: 20px;
  font-family: 'Lucida Handwriting', cursive;
  font-size: 1.5rem;
  color: #6A0DAD;
  text-shadow: 1px 1px 4px #C0C0C0;
  font-style: italic;
}

/* Shimmer Animation for Heading */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes bg-zoom {
  0%, 100% {
    background-size: 100% auto;
  }
  50% {
    background-size: 110% auto;
  }
}

/* ============================= */
/* Testimonials Section */
/* ============================= */
.testimonials {
  background: linear-gradient(rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.9)),
    url('abstract purple flower.png') center/cover no-repeat;
  animation: bg-zoom 20s ease-in-out infinite;
  padding: 60px 20px;
  text-align: center;
  color: #C0C0C0;
}

.testimonials h2 {
  font-family: 'Lucida Handwriting', cursive;
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #6A0DAD, #C0C0C0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s infinite linear;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonials blockquote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  margin: 0 auto 20px;
  max-width: 700px;
  background: rgba(106, 13, 173, 0.2);
  padding: 20px;
  border-left: 4px solid #6A0DAD;
  border-radius: 8px;
  color: #C0C0C0;
  font-family: 'Lucida Handwriting', cursive;
}

.testimonials cite {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  color: #C0C0C0;
  font-style: normal;
  font-family: 'Lucida Handwriting', cursive;
}

