/* =========================================
   1. RESET & BASE
========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. DESIGN TOKENS (ROOT VARIABLES)
========================================= */

:root {
  /* Colors */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-accent: #22d3ee;

  --color-bg-dark: #0f172a;
  --color-bg-soft: #1e293b;
  --color-border: rgba(255, 255, 255, 0.08);

  --color-text-main: #e2e8f0;
  --color-text-muted: #94a3b8;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Radius */
  --radius-lg: 20px;
  --radius-md: 14px;

  /* Shadow */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   3. CONTAINER SYSTEM
========================================= */

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* =========================================
   4. SECTION SYSTEM
========================================= */

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.section-description {
  color: var(--color-text-muted);
  font-size: 18px;
}

/* =========================================
   5. TYPOGRAPHY SCALE
========================================= */

h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
}

h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
}

p {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* =========================================
   6. BUTTON SYSTEM
========================================= */

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-bg-soft);
}

/* =========================================
   7. CARD SYSTEM (Premium Look)
========================================= */

.feature-card,
.pricing-card,
.advantage-item,
.responsive-seo-item,
.target-item,
.why-item,
.portfolio-item {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature-card:hover,
.pricing-card:hover,
.advantage-item:hover,
.responsive-seo-item:hover,
.target-item:hover,
.why-item:hover,
.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(99, 102, 241, 0.4);
}

/* =========================================
   8. GRID SYSTEM
========================================= */

.features-grid,
.target-grid,
.why-grid,
.portfolio-types,
.pricing-grid,
.responsive-seo-list,
.advantage-list {
  display: grid;
  gap: 30px;
}

.features-grid,
.pricing-grid,
.responsive-seo-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.target-grid,
.why-grid,
.portfolio-types {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* =========================================
   9. PROCESS STEPS STYLE
========================================= */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.process-step {
  text-align: center;
}

.step-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* =========================================
   10. CTA SECTION
========================================= */

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-top: 1px solid var(--color-border);
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
}

/* =========================================
   MOBILE OPTIMIZATION (Premium Feel)
========================================= */

@media (max-width: 1024px) {
  :root {
    --section-padding: 100px;
  }
}

@media (max-width: 768px) {

  /* Section spacing tetap lega */
  section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
    padding: 0 10px;
  }

  /* Typography tetap elegan */
  h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }

  /* Container sedikit lebih lega */
  .container {
    width: 92%;
  }

  /* Grid jadi 1 kolom */
  .features-grid,
  .pricing-grid,
  .responsive-seo-list,
  .target-grid,
  .why-grid,
  .portfolio-types,
  .advantage-list,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Card padding tetap mewah */
  .feature-card,
  .pricing-card,
  .advantage-item,
  .responsive-seo-item,
  .target-item,
  .why-item,
  .portfolio-item {
    padding: 24px;
    border-radius: 18px;
  }

  /* Button full width biar premium & nyaman */
  .btn-primary,
  .btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Process step spacing */
  .process-step {
    padding: 10px 0;
  }

  /* CTA section */
  .cta-content {
    padding: 0 10px;
  }
}

/* =========================================
   EXTRA SMALL DEVICES
========================================= */

@media (max-width: 480px) {

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  section {
    padding: 60px 0;
  }

  .feature-card,
  .pricing-card,
  .advantage-item,
  .responsive-seo-item,
  .target-item,
  .why-item,
  .portfolio-item {
    padding: 20px;
  }

}


