/* CSS Custom Properties */
:root {
  --primary-color: #26a2bd;
  --primary-dark: #1e8299;
  --primary-light: #3db3c9;
  --primary-gradient: linear-gradient(135deg, #26a2bd 0%, #1e8299 100%);
  --secondary-gradient: linear-gradient(135deg, #3db3c9 0%, #26a2bd 100%);
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1em;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h2 {
  color: var(--text-dark);
  margin: 0;
}

.nav-logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}


.nav-menu.active {
  display: flex; /* atau block, sesuai kebutuhan layout */
  flex-direction: column; /* jika perlu, tergantung desain */
}


.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}


/* HOME - SECTIONS */
.section {
  display: none;
}

.section.active {
  display: block;
  padding-top: 80px;
  min-height: 100vh;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  padding: 80px;
}


/* HOME - Hero Section */
.hero {
  background:  var(--primary-color) url('image/hero.jpg') no-repeat right center; 
  color: var(--text-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 100px 100px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateX(-100px) translateY(-100px); }
  100% { transform: translateX(100px) translateY(100px); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Buttons */
.cta-button {
  background: var(--bg-white);
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--text-white);
}



/* HOME - About Section */
.home-about {
  padding-top: 4rem;
}

.about-intro {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.about-img {
  padding-top: -40px;
}

.about-text {
  text-align: left;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.86
}

.about-text h2 {
  color: var(--primary-color);
}

.home-about .container {
  text-align: center;
  max-width: 1200px;
}

.home-tech, .home-price {
  padding-top: 1rem;
}



/* HOME - Technology AI Section */

.technology-section {
  margin-bottom: 1rem;
}

.technology-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.technology-section h3 {
  text-align: center;
}

.technology-section > p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.tech-card {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tech-card p {
  color: #cfe8ee;
  line-height: 1rem;
  margin-bottom: 0.5rem;
}

.tech-creator {
  font-size: 0.8rem;
  color: #fff;
  font-style: italic;
  display: block;
  margin-bottom: 1rem;
}

.tech-card p {
  margin: 0;
  font-size: 1rem;
}

.tech-conclusion {
  background: var(--primary-gradient);
  color: var(--text-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 1.2rem;
  margin: 0;
}




/* HOME - Advantages Section */
.advantages {
  padding-top: 4rem;
  background: var(--bg-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantages h2 {
  color: var(--primary-color);
  text-align: center;
}

.advantage-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.advantage-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.advantage-card p {
  color: var(--text-light);
  margin: 0;
}

.portofl {
  padding: 2rem;
  background: var(--bg-light); /* opsional, biar beda section */
}

.portofl p {
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* grid logo */
.porto-grid {
  display: flex;              /* ubah dari grid ke flex */
  justify-content: center;    /* rata tengah secara horizontal */
  align-items: center;        /* rata tengah secara vertikal */
  gap: 3rem;                  /* jarak antar logo */
  flex-wrap: nowrap;          /* jangan turun ke baris berikut */
  margin-top: 2rem;
  margin-bottom: 3rem;
  overflow-x: auto;           /* kalau layar kecil bisa di-scroll horizontal */
}

/* kotak logo */
.porto-card {
  flex: 0 0 auto;             /* lebar sesuai isi, tidak melar */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;               /* tinggi seragam */
}

.porto-card img {
  max-height: 60px;           /* samakan tinggi logo */
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .porto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HOME - Price Section */
.home-price {
  padding-top: 6rem;
  padding-bottom: 1rem;
  background: var(--bg-light);
}

.home-price h2 {
  color: var(--primary-color);
  text-align: center;
}


/* HOME - CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--primary-gradient);
  color: var(--text-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}




/* ---------------------------------------------------------------------------------------------------- HALAMAN */


/* PAGE HIGLIGHTS */

.page-highlight {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem;
  padding-right:6rem;
  background: var(--primary-gradient);
  border-radius: 2rem;
}

.page-highlight p{
  color: var(--text-white);
}

.page-highlight h2{
  color: var(--text-white) !important;
}

.page-highlight h3{
  font-size: 1.3rem;
  color: var(--text-white) !important;
}


.highlight-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3rem;
}


/* PAGE DEFAULT */

.page-default {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 1rem;
}

.page-default p {
  text-align: left;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.86
}

.page-default h2{
  color: var(--primary-color) !important;
}

.page-default h3{
  font-size: 1.3rem;
  color: var(--text-dark) !important;
  margin-top: 1.5rem;
}

.page-default ul, ol {
  font-size: 1.1rem;
  line-height: 1.86;
  padding-left:20px;
  color: var(--text-light);
  margin-bottom: 2rem;
}


.default-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3rem;
}



/* PAGE - TENTANG KAMI */
#about {
  padding-bottom: 1rem;
}


/* Pricing Styles */
#pricing {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

#pricing h2 {
  color: var(--primary-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top:4rem;
  margin-bottom: 6rem;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: var(--text-white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
  font-weight:600;
  line-height: 1.1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.list-head {
  margin-top:20px;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.pricing-btn {
  background: var(--primary-color);
  color: white;
  width: 100%;
  margin-top: auto;
}

.pricing-btn-home {
  text-align: center;
  background: var(--primary-color);
  color: white;
  width: 35%;
  margin-bottom: 3rem;
}

.pricing-cta {
  text-align: center;
  padding: 4rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.pricing-cta h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.pricing-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}


/*TABEl AI*/
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
    }
    th, td {
      border: 1px solid #ddd;
      padding: 12px;
      text-align: center;
    }
    th {
      background-color: #2c3e50;
      color: white;
    }
    tr:nth-child(even) {
      background-color: #f2f2f2;
    }
    tr:hover {
      background-color: #dfe6e9;
    }

/* Responsive mode */
    @media screen and (max-width: 768px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }

      thead tr {
        display: none; /* sembunyikan header */
      }

      tbody tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 10px;
        padding: 10px;
        background: #f9f9f9;
      }

      td {
        border: none;
        text-align: left;
        padding: 8px 10px;
        position: relative;
      }

      td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #2c3e50;
      }
    }



/* Contact Styles */
#contact {
  background: white;
  color: var(--text-light);
  padding-bottom: 6rem;
}

#home-contact {
  background: var(--primary-gradient);
  color: var(--text-white);
  margin:0;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

#home-contact h2 {
  color: var(--text-white);
  text-align: left;
}


.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.contact-info p {
  color: var(--text-white);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}



.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(38, 162, 189, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
}

.footer-info h3 {
  margin-bottom: 1rem;
}

.footer-info span {
  color: var(--primary-color);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0.25rem 0;
  font-size: 0.8rem;
}

.footer-copyright {
  justify-content: center;
  font-size:10px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .vision-mission {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-contact {
    text-align: center;
  }
}


@media (max-width: 800px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0rem;
  margin: 0;
}

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    z-index: 998;
    overflow-y: none;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.2rem 2rem;
    display: block;
    border-radius: var(--radius-sm);
    margin: 0.5rem;
    transition: var(--transition);
  }

  .nav-link:hover {
    background-color: rgba(38, 162, 189, 0.1);
  }

  .hamburger {
    display: flex;
    z-index: 999;
    position: relative;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }

  /* Hide desktop menu completely on mobile */
  .nav-menu:not(.active) {
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }


  .section {
    padding-top: 60px;
  }

  .hero {
    background:  var(--primary-color); 
    padding: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top:50px;
    gap: 3rem;
  }

  #pricing {
    padding: 2rem;
    padding-top:4rem;
  }

  .technology-section,
  .advantages-grid,
  .pricing-grid {
    padding:0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  #home-contact h2 {
    text-align: center;
  }

  .page-highlight{
    text-align: center;
    padding:2rem;
   }

   .page-highlight h3{
    font-size: 0.8rem;
   }


  .about-intro{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text{
    text-align: center;
  }
  
  .about-img {
    display: none;
  }


  .contact-content {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2rem;
    margin-top: 2rem;
  }

  .contact-info {
    text-align: center;
  }

  .home-about, .home-tech, .home-price
  .advantages,
  .cta-section {
    padding: 1rem 0;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-cta {
    padding: 3rem 2rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .vm-card {
    padding: 2rem;
  }
  
  .tech-card {
    padding: 1rem;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .footer-contact,
  .footer-info {
    text-align: center;
  }

  .footer-links {
    display: none;
  }

}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.active {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Focus States for Accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}