/* ========================================
   Hi-Tech Printing Services - Coming Soon
   ======================================== */

/* CSS Variables */
:root {
  --purple: #6046aa;
  --purple-light: rgba(96, 70, 170, 0.1);
  --purple-dark: #4a3590;
  --yellow: #fcd33d;
  --teal: #3bddbf;
  --black: #000000;
  --white: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Animation variables */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   Keyframe Animations
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes floatReverse {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Page Wrapper */
.page-wrapper {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* ========================================
   Header
   ======================================== */
.header {
  background: var(--white);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 124px;
  height: auto;
  object-fit: contain;
  animation: fadeInDown 0.6s ease-out;
  transition: transform var(--transition-medium);
}

.logo:hover {
  transform: scale(1.05);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  padding: 60px 20px 40px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background decorations (grid patterns) */
.hero-bg-left,
.hero-bg-right {
  position: absolute;
  width: 800px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-left {
  left: -180px;
  top: -20px;
  animation: pulse 6s ease-in-out infinite;
}

.hero-bg-right {
  right: -180px;
  bottom: -20px;
  top: auto;
  animation: pulse 6s ease-in-out infinite 1s;
}

/* Side images (printer photos) */
.hero-image-left,
.hero-image-right {
  position: absolute;
  width: 280px;
  height: auto;
  object-fit: cover;
  z-index: 2;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.hero-image-left {
  left: 0;
  bottom: 30px;
  top: auto;
  border-radius: 0 12px 12px 0;
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.hero-image-left:hover {
  transform: scale(1.02);

}

.hero-image-right {
  right: 0;
  top: 0;
  bottom: auto;
  border-radius: 12px 0 0 12px;
  animation: slideInFromRight 0.8s ease-out forwards;

}

.hero-image-right:hover {
  transform: scale(1.02);

}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
  display: inline-block;
  background: var(--black);
  padding: 12px 24px;
  border-radius: 4px;
  margin-bottom: 32px;
  animation: scaleIn 0.6s ease-out 0.3s both;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.hero-tagline:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-tagline span {
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Email Form */
.email-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: var(--purple-light);
  border: 1px solid var(--purple);
  border-radius: 4px;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.5s both;
  transition: box-shadow var(--transition-medium), transform var(--transition-medium);
}

.email-form:focus-within {
  box-shadow: 0 8px 32px rgba(96, 70, 170, 0.25);
  transform: translateY(-2px);
}

.email-input {
  flex: 1;
  padding: 16px 24px;
  font-size: 16px;
  background: transparent;
  color: var(--black);
  transition: background var(--transition-medium);
}

.email-input:focus {
  background: rgba(255, 255, 255, 0.5);
}

.email-input::placeholder {
  color: rgba(96, 70, 170, 0.5);
  transition: color var(--transition-medium);
}

.email-input:focus::placeholder {
  color: rgba(96, 70, 170, 0.3);
}

.submit-btn {
  padding: 16px 32px;
  background: var(--purple);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-medium), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  background: var(--purple-dark);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: scale(0.98);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
  padding: 60px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow var(--transition-medium);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-purple {
  background: var(--purple);
}

.stat-purple .stat-number,
.stat-purple .stat-label {
  color: var(--white);
}

.stat-yellow {
  background: var(--yellow);
}

.stat-yellow .stat-number,
.stat-yellow .stat-label {
  color: var(--purple);
}

.stat-teal {
  background: var(--teal);
}

.stat-teal .stat-number,
.stat-teal .stat-label {
  color: var(--purple);
}

.stat-number {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  transition: transform var(--transition-bounce);
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 16px;
  font-weight: 400;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
  padding: 40px 20px 80px;
  text-align: center;
}

.section-header {
  display: inline-block;
  background: var(--black);
  padding: 12px 24px;
  border-radius: 4px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow var(--transition-medium);
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.section-header span {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  border-radius: 12px;
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow var(--transition-medium);
  cursor: default;
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.service-purple {
  background: var(--purple);
}

.service-purple .service-title,
.service-purple .service-desc {
  color: var(--white);
}

.service-yellow {
  background: var(--yellow);
}

.service-yellow .service-title,
.service-yellow .service-desc {
  color: var(--purple);
}

.service-teal {
  background: var(--teal);
}

.service-teal .service-title,
.service-teal .service-desc {
  color: var(--purple);
}

.service-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  transition: transform var(--transition-medium);
}

.service-card:hover .service-title {
  transform: scale(1.02);
}

.service-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-top: auto;
  transition: transform var(--transition-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.composite-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-bounce);
}

.service-card:hover .composite-icon {
  transform: scale(1.15) rotate(5deg);
}

.composite-icon img {
  width: 100%;
  height: auto;
  position: absolute;
}

.composite-icon img:first-child {
  position: relative;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--black);
  margin-top: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-container {
  margin: 0 auto;
  padding: 48px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: clamp(16px, 1.5vw, 24px);
  transition: transform var(--transition-medium), color var(--transition-medium);
  cursor: pointer;
}

.footer-item:hover {
  transform: translateY(-3px);
  color: var(--teal);
}

.footer-icon,
.footer-icon-wrapper {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-medium);
}

.footer-item:hover .footer-icon,
.footer-item:hover .footer-icon-wrapper {
  transform: scale(1.2);
}

.footer-icon-wrapper img {
  width: 100%;
  height: 100%;
}

.footer-divider {
  width: 1px;
  height: 24px;
  background: var(--white);
  opacity: 0.5;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Large screens */
@media (min-width: 1440px) {

  .hero-image-left,
  .hero-image-right {
    width: 320px;
  }
}

@media (max-width: 1340px) {
  .hero-title {
    font-size: clamp(32px, 5vw, 40px);
    max-width: 500px;
    margin: 15px auto;
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {

  .hero-image-left,
  .hero-image-right {
    width: 200px;
  }

  .hero-bg-left,
  .hero-bg-right {
    width: 300px;
    opacity: 0.3;
  }



  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 280px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .header-container {
    padding: 12px 20px;
  }

  .logo {
    width: 100px;
  }

  .hero-section {
    padding: 40px 16px;
    min-height: auto;
  }

  .hero-image-left,
  .hero-image-right,
  .hero-bg-left,
  .hero-bg-right {
    display: none;
  }

  .hero-content {
    padding: 0;
  }

  .hero-tagline {
    padding: 10px 16px;
  }

  .email-form {
    flex-direction: column;
    border-radius: 8px;
  }

  .email-input {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--purple);
  }

  .submit-btn {
    padding: 14px 24px;
    border-radius: 0 0 4px 4px;
  }

  .stats-section {
    padding: 40px 16px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 32px 20px;
  }

  .services-section {
    padding: 32px 16px 60px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 32px 20px 28px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-header span {
    font-size: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .footer-divider {
    display: none;
  }

  .footer-item {
    font-size: 16px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-tagline span {
    font-size: 14px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 14px;
  }

  .service-title {
    font-size: 18px;
  }

  .service-desc {
    font-size: 13px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .footer-item {
    font-size: 14px;
  }
}