/* ==========================================================================
   NEXT CORE COMPUTER - STYLESHEET
   ========================================================================== */

:root {
  --bg-dark: #070c18;
  --bg-card: rgba(14, 23, 42, 0.75);
  --bg-card-hover: rgba(24, 39, 70, 0.85);
  --accent-cyan: #00d2ff;
  --accent-blue: #0066ff;
  --accent-orange: #ff6b00;
  --accent-green: #25d366;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 210, 255, 0.25);
  --border-glow-active: rgba(0, 210, 255, 0.6);
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100% !important;
  height: auto;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background Effects */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(0, 210, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 102, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: -2;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  top: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25), transparent);
}

.orb-2 {
  bottom: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.2), transparent);
}

/* Header */
.site-header {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(7, 12, 24, 0.9);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo-img {
  display: block;
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
  -webkit-object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45));
  -webkit-filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.header-logo-img:hover {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.75));
  -webkit-filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.75));
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 0;
  }

  .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .logo-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .header-logo-img {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 220px !important;
    margin: 0 auto;
  }
}

.header-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: none;
}

@media (min-width: 640px) {
  .header-tagline {
    display: block;
  }
}

/* Hero Section */
.hero-section {
  padding: 40px 0 30px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(0, 210, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Banner Display Frame */
.banner-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.4);
  border-color: var(--border-glow-active);
}

.hero-banner-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: cover;
  -webkit-object-fit: cover;
}

/* Sections & Grids */
.info-section {
  padding: 40px 0;
}

.section-block {
  margin-bottom: 50px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-orange));
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
}

.item-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background-color: var(--bg-card);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.item-card:hover {
  transform: translateY(-6px) scale(1.02);
  -webkit-transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 210, 255, 0.35);
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  -webkit-object-fit: cover !important;
  object-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.item-card:hover .card-bg-img {
  transform: scale(1.12);
  -webkit-transform: scale(1.12);
}

.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.95) 0%, rgba(5, 10, 20, 0.75) 50%, rgba(5, 10, 20, 0) 100%);
  background: -webkit-linear-gradient(bottom, rgba(5, 10, 20, 0.95) 0%, rgba(5, 10, 20, 0.75) 50%, rgba(5, 10, 20, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 14px 10px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.item-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 210, 255, 0.7);
  margin: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.item-card:hover h3 {
  color: var(--accent-cyan);
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
}

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

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: linear-gradient(145deg, rgba(14, 23, 42, 0.9), rgba(20, 35, 65, 0.7));
  border: 1px solid rgba(255, 107, 0, 0.25);
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

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

/* WhatsApp Contact Section */
.whatsapp-section {
  padding: 30px 0 50px;
}

.contact-box {
  background: linear-gradient(135deg, rgba(10, 20, 40, 0.95), rgba(15, 30, 60, 0.9));
  border: 2px solid var(--border-glow);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.15);
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.branch-card {
  background: rgba(7, 12, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.branch-card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.branch-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.branch-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 5px;
}

.phone-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.wa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background-color: var(--accent-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.wa-button:hover {
  background-color: #20bd5a;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-icon {
  flex-shrink: 0;
}

/* Mobile Sticky Contact Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 12, 24, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  padding: 10px 15px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-bottom: calc(10px + constant(safe-area-inset-bottom, 0px));
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  z-index: 999;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-wa-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background-color: var(--accent-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.mobile-wa-btn:active {
  transform: scale(0.97);
}

/* Footer */
.site-footer {
  padding: 25px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}
