@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface Colors */
  --surface-10: #FAFAFA;
  --surface-25: #F4F4F4;
  --surface-50: #E9E9E9;
  --surface-100: #D3D3D3;
  --surface-200: #BDBDBD;
  --surface-300: #A7A7A7;
  --surface-400: #919191;
  --surface-500: #7B7B7B;
  --surface-600: #656565;
  --surface-700: #4E4E4E;
  --surface-800: #383838;
  --surface-900: #222222;

  /* Primary Colors (Magenta/Pink) */
  --primary-50: #FCEDF5;
  --primary-100: #FADCEB;
  --primary-300: #F096C3;
  --primary-500: #E6509B;
  --primary-700: #983E6B;
  --primary-900: #492B3A;

  /* Secondary Colors (Purple/Blue) */
  --secondary-50: #F5F3F8;
  --secondary-100: #DBD8E8;
  --secondary-300: #8D83B5;
  --secondary-500: #7164A3;
  --secondary-700: #3C3969;
  --secondary-900: #192049;

  /* Error Colors */
  --error-50: #FFEAF0;
  --error-100: #FFD5E1;
  --error-300: #FF729C;
  --error-500: #FF155A;
  --error-700: #A7294E;
  --error-900: #4E2431;

  /* Success Colors */
  --success-50: #EDF5E6;
  --success-100: #DAEBCD;
  --success-300: #91C36A;
  --success-500: #489B06;
  --success-700: #396B11;
  --success-900: #2A3A1C;

  /* Warning Colors */
  --warning-50: #FBF5E5;
  --warning-100: #F6EACC;
  --warning-300: #E3C166;
  --warning-500: #D09800;
  --warning-700: #8A690E;
  --warning-900: #453A1B;

  /* Typography */
  --font-heading: "Lexend Deca", sans-serif;
  --font-body: "Lexend Deca", sans-serif;

  --base-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(25, 32, 73, 0.05);
  --shadow-md: 0 15px 35px rgba(25, 32, 73, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--surface-10);
  color: var(--surface-900);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-top: 0;
  color: var(--secondary-900);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary-500);
  transition: var(--base-transition);
}

a:hover {
  color: var(--primary-700);
}

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

/* Navbar */
.navbar {
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--surface-50);
  padding: 16px 0;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 76px;
  width: auto;
}

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

.navbar-nav a {
  color: var(--surface-700);
  font-weight: 500;
  font-size: 15px;
}

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

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--base-transition);
  cursor: pointer;
  border: none;
  font-size: 15px;
  height: 44px;
}

.btn-primary {
  background: var(--primary-500);
  color: var(--surface-10);
}

.btn-primary:hover {
  background: var(--primary-300);
  color: var(--surface-10);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 80, 155, 0.3);
}

.btn-secondary {
  background: var(--surface-10);
  color: var(--secondary-900);
  border: 1px solid var(--surface-100);
}

.btn-secondary:hover {
  background: var(--surface-25);
  transform: translateY(-2px);
  border-color: var(--primary-500);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 18px;
  height: 56px;
}

/* Hero Section */
.hero {
  padding: 100px 0 120px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  color: var(--primary-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--secondary-900) 0%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--surface-600);
  max-width: 700px;
  margin: 0 auto 40px;
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Floating Cards in Hero */
.floating-cards-container {
  position: relative;
  height: 600px;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-main-photo {
  max-width: 500px;
  width: 100%;
  height: auto;
  z-index: 1;
  display: block;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 280px;
  transition: var(--base-transition);
  border: 1px solid var(--surface-50);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.floating-card h4 {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
}

.floating-card p {
  font-size: 12px;
  color: var(--surface-600);
  margin: 0 !important;
  line-height: 1.2;
}

.floating-card .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card .icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary-500);
}

/* Specific Positions based on the screenshot style */
.card-1 {
  top: 10%;
  right: 10%;
}

/* Top Right */
.card-2 {
  top: 40%;
  left: 5%;
}

/* Mid Left */
.card-3 {
  bottom: 20%;
  right: 5%;
}

/* Bottom Right */
.card-4 {
  bottom: 5%;
  left: 15%;
}

/* Bottom Left */

/* Sections */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.section-gray {
  background: var(--surface-25);
}

.section-dark {
  background: var(--secondary-900);
  color: var(--surface-10);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--surface-10);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

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

/* Product Card */
.product-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--surface-50);
  transition: var(--base-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.product-card .icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.product-card .icon svg {
  width: 30px;
  height: 30px;
  color: var(--secondary-500);
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.product-card p {
  color: var(--surface-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-card .learn-more {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-500);
}

/* Why Sanduk Cards */
.value-card {
  text-align: center;
  padding: 30px;
}

.value-card .icon {
  width: 64px;
  height: 64px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-500);
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary-900) 0%, var(--secondary-700) 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: white;
}

.cta-banner h2 {
  color: white;
  font-size: 48px;
  margin-bottom: 24px;
}

.cta-banner p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Detail Pages Hero */
.detail-hero {
  padding: 120px 0 80px;
  background: var(--secondary-50);
}

.detail-hero .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.detail-hero-content {
  flex: 1;
}

.detail-hero-content h1 {
  font-size: 52px;
  margin-bottom: 24px;
}

.detail-hero-content p {
  font-size: 20px;
  color: var(--surface-700);
  margin-bottom: 32px;
}

.detail-hero-image {
  flex: 1;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  overflow: hidden;
}

.detail-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Feature Blocks */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--surface-50);
}

.feature-item .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--surface-25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
}

/* Workflow Section */
.workflow-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.workflow-step {
  flex: 1;
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
}

/* Footer */
footer {
  background: var(--surface-25);
  padding: 80px 0 40px;
  border-top: 1px solid var(--surface-50);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 76px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  color: var(--surface-600);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--surface-600);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--primary-500);
}

.footer-bottom {
  border-top: 1px solid var(--surface-100);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--surface-500);
  font-size: 14px;
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info-box {
  background: var(--secondary-900);
  color: white;
  padding: 60px;
  border-radius: 24px;
}

.contact-info-box h3 {
  color: white;
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--surface-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--base-transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(230, 80, 155, 0.1);
}

/* Icons Replacement for text-based fallback */
.icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 52px;
  }

  .detail-hero .container {
    flex-direction: column;
    text-align: center;
  }

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

  .floating-cards-container {
    height: 300px;
  }

  .floating-card {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .navbar-nav {
    display: none;
  }

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

  .floating-cards-container {
    display: none;
  }

  .button-group {
    flex-direction: column;
  }
}