/* ===== VARIABLES ===== */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --light-orange: #FFB088;
    --primary-green: #2A9D4E;
    --secondary-green: #45B369;
    --dark-green: #1B7A3A;
    --light-green: #7BC47F;
    --bg-light: #FFF8F3;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --text-gray: #95A5A6;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* ===== NAVIGATION ===== */
nav {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.logo span {
    color: var(--primary-orange);
}
.logo img {
    width: 40px;       /* batas ukuran logo */
    height: 40px;      /* agar seimbang */
    object-fit: contain;
    margin-right: 8px; /* jarak antara logo dan tulisan */
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 50%, var(--light-orange) 100%);
    padding: 100px 2rem;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: relative;
    z-index: 0;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* tombol bisa turun ke bawah */
  margin-top: 1.5rem;
}

.cta-button {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  min-width: 150px;
}

.cta-button.primary {
  background-color: #fff;
  color: #ff6b35;
  border: 2px solid #fff;
}

.cta-button.primary:hover {
  background-color: #ff8c42;
  color: white;
}

.cta-button.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background-color: white;
  color: #ff6b35;
}

/* ===== Responsive untuk layar kecil (HP) ===== */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column; /* tombol disusun vertikal */
    gap: 0.8rem;
  }

  .cta-button {
    width: 80%; /* tombol lebih lebar */
    font-size: 0.95rem;
  }
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
#about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: 100%;
    max-width: 600px; /* batasi ukuran maksimum biar gak kegedean */
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    animation: floatSlow 4s ease-in-out infinite; /* biar agak mengambang */
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-text p strong {
    color: var(--primary-orange);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== TECHNOLOGY SECTION ===== */
#technology {
    background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
}

.tech-container {
    margin-top: 3rem;
}

.tech-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.tech-visual {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spectrum-bar {
    width: 80%;
    height: 60px;
    background: linear-gradient(90deg, 
        #FF0000 0%, 
        #FF7F00 14%, 
        #FFFF00 28%, 
        #00FF00 42%, 
        #0000FF 57%, 
        #4B0082 71%, 
        #9400D3 85%, 
        #FF0000 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
}

.laser-beam {
    position: absolute;
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
    animation: scan 3s linear infinite;
}

.tech-description h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
}

.tech-description p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.parameter-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.parameter-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-orange);
}

.param-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.parameter-card h4 {
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 0.8rem;
}

.parameter-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== FEATURES SECTION ===== */
#features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== HOW TO USE SECTION ===== */
#how-to-use {
    background: var(--bg-light);
}

.steps-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-green));
    transform: translateX(-50%);
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
    position: relative;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover .step-visual {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.step-content {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== BENEFITS SECTION ===== */
#benefits {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== TEAM SECTION ===== */
#team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


.avatar {
    width: 100%;
    height: 1500px;
    object-fit: contain;
    position: relative;
    border-radius: 20px;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.team-info {
    padding: 1.8rem;
    text-align: center;
}

.team-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.team-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
}

#contact .section-title {
    color: white;
}

#contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--light-orange);
}

.info-item p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-orange);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    border-color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Instagram Gradient */
.social-icon:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

/* YouTube Red */
.social-icon:has(.fa-youtube):hover {
    background: #FF0000;
}

/* X (Twitter) Black */
.social-icon:has(.fa-x-twitter):hover {
    background: #000000;
}

/* TikTok Black with Cyan/Pink accent */
.social-icon:has(.fa-tiktok):hover {
    background: linear-gradient(135deg, #000000 0%, #69C9D0 50%, #EE1D52 100%);
}

/* Animation on hover */
.social-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes pulsering {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes scan {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .tech-main,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .step:nth-child(even) {
        direction: ltr;
    }

    .steps-container::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;     /* bisa beda dari navbar */
    height: auto;
}

.footer-logo .orange {
    color: var(--primary-orange);
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .features-grid,
    .parameters-grid,
    .benefits-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}