/* ===== Evans Network - Professional Website ===== */
:root {
  --purple: #6B21A8;
  --purple-dark: #581C87;
  --purple-light: #7E22CE;
  --red: #DC2626;
  --red-dark: #B91C1C;
  --black: #0F0F0F;
  --gray-900: #1A1A1A;
  --gray-800: #262626;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #A3A3A3;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-tag {
  display: inline-block;
  background: rgba(107, 33, 168, 0.1);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 33, 168, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--purple);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--black);
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

.logo-text span {
  color: var(--purple);
}

.footer-brand .logo-img {
  border-color: rgba(255, 255, 255, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple);
  background: rgba(107, 33, 168, 0.08);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--black);
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #faf5ff 0%, #f5f5f5 50%, #fef2f2 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 33, 168, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 33, 168, 0.1);
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--purple);
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--purple);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
}

.stat span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(107, 33, 168, 0.15);
}

.hero-card i {
  font-size: 2rem;
  color: var(--purple);
  margin-bottom: 12px;
}

.hero-card.secondary i {
  color: var(--red);
}

.hero-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
}

.hero-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(107, 33, 168, 0.3);
  border: 5px solid var(--white);
  outline: 3px solid var(--purple);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}

.about-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.about-role {
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-list {
  margin: 24px 0 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-700);
  font-weight: 500;
}

.about-list i {
  color: var(--purple);
  background: rgba(107, 33, 168, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== Services ===== */
.services {
  background: var(--gray-100);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--purple);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(107, 33, 168, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.12), rgba(220, 38, 38, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-link {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
  color: var(--purple-dark);
}

/* ===== Portfolio ===== */
.portfolio {
  background: var(--white);
}

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

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.portfolio-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-photo {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 22px;
}

.portfolio-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin: 6px 0 8px;
}

.portfolio-info p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.portfolio-note {
  text-align: center;
  margin-top: 36px;
  color: var(--gray-600);
}

.portfolio-note a {
  color: var(--purple);
  font-weight: 600;
}

.portfolio-note a:hover {
  text-decoration: underline;
}

/* ===== Shop ===== */
.shop {
  background: var(--gray-100);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}

.product-badge.sale {
  background: var(--red);
}

.product-img {
  height: 180px;
  background: var(--gray-100);
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.product-desc {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex-grow: 1;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 16px;
}

.shop-note {
  margin-top: 36px;
  background: rgba(107, 33, 168, 0.06);
  border-left: 4px solid var(--purple);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.shop-note i {
  color: var(--purple);
  margin-top: 3px;
}

.shop-note p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--red-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(107, 33, 168, 0.1);
  color: var(--purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--purple);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.15);
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact a i {
  width: 20px;
  margin-right: 6px;
  color: var(--purple-light);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p:first-child {
  margin-bottom: 4px;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-card {
    flex: 1;
    min-width: 200px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-list li {
    justify-content: center;
  }

  .about-content .btn {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 14px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .services-grid,
  .portfolio-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .about-avatar {
    width: 220px;
    height: 220px;
  }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2.2s infinite;
}

.whatsapp-float:hover {
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
  animation: none;
}

.whatsapp-float i {
  line-height: 1;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
