/* =============== 
   EAZYWEB DESIGN SYSTEM
   Corporate Light Theme (Reference: Webekspres)
   =============== */

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

:root {
  /* Colors */
  --bg-body: #f3f6f9;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  
  --accent-primary: #2DB742; /* Webekspres Green */
  --accent-hover: #219934;
  --accent-blue: #0ea5e9;
  --danger-red: #ef4444;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --nav-height: 80px;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utilities */
.highlight-green {
  color: var(--accent-primary);
  font-weight: bold;
}
.highlight-red {
  color: var(--danger-red);
  font-weight: bold;
}
.text-center { text-align: center; }

/* ==================
   NAVIGATION 
   ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  z-index: 1000;
  transition: var(--transition-fast);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
}

.brand .highlight {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 6px; /* Boxy modern look instead of round */
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent-primary);
  color: white !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(45, 183, 66, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: white !important;
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.15rem;
  border-radius: 8px;
}

.cta-pulse {
  animation: pulse-green 2s infinite;
  box-shadow: 0 0 0 0 rgba(45, 183, 66, 0.7);
}

@keyframes pulse-green {
  0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(45, 183, 66, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(45, 183, 66, 0); }
  100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(45, 183, 66, 0); }
}

/* ==================
   HERO SECTION 
   ================== */
.hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  background: var(--bg-white);
  text-align: center;
}

.promo-tag {
  display: inline-block;
  background: #fef2f2;
  color: var(--danger-red);
  border: 1px solid #fca5a5;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.price-tag {
  display: inline-block;
  background: #fffbeb;
  color: #d97706;
  border: 2px dashed #fbbf24;
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 8px;
  margin: 0 0.5rem;
}

/* Countdown */
.countdown-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.countdown-item {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  min-width: 80px;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.countdown-item h2 {
  color: var(--danger-red);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.countdown-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

/* ==================
   SECTION GENERAL
   ================== */
.section {
  padding: 5rem 0;
}

.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-body); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================
   REVIEWS / TRUST
   ================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.review-card p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-img {
  width: 50px;
  height: 50px;
  background: var(--bg-body);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

/* ==================
   FEATURES LIST
   ================== */
.features-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.features-image {
  flex: 1 1 400px;
}

.features-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.features-content {
  flex: 1 1 500px;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.feature-item i {
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-muted);
}

/* ==================
   LOSS AVERSION (KERUGIAN)
   ================== */
.loss-section {
  background: #fef2f2; /* Light red */
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
}

.loss-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 5px solid var(--danger-red);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.05);
  transition: var(--transition-normal);
  height: 100%;
}

.loss-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.1);
}

.loss-card i {
  font-size: 2.5rem;
  color: var(--danger-red);
  margin-bottom: 1rem;
}

/* ==================
   PORTFOLIO (PROJECTS)
   ================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.project-image {
  height: 220px;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image i {
  font-size: 4rem;
  color: #cbd5e1;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image i {
  transform: scale(1.1);
  color: var(--accent-primary);
}

.project-content {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

/* ==================
   CONTACT FORM
   ================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  border: 1px solid var(--border-light);
}

.form-control {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  padding: 1rem;
  border-radius: 6px;
  color: var(--text-main);
  width: 100%;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(45, 183, 66, 0.1);
}

/* FOOTER */
footer {
  background: #111827;
  color: #9ca3af;
  padding: 3rem 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
    clip-path: circle(0% at top right);
    transition: 0.5s ease-in-out;
  }
  
  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .mobile-toggle {
    display: block;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}
