/* ==========================
   GLOBAL & RESET
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3498db;
    --primary-dark: #2980bd;
    --secondary: #0ea5e9;
    --accent: #f97316;
    --bg: #f3f4f6;
    --text: #111827;
    --muted: #6b7280;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ==========================
   UTILITIES
   ========================== */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid #d1d5db;
    background: var(--white);
    color: var(--text);
}

.btn-outline:hover {
    background: #e5edff;
    border-color: var(--primary);
}

.btn-nav {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border: 1px solid transparent;
}

.btn-nav:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.full-width {
    width: 100%;
}

/* ==========================
   NAVBAR
   ========================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1rem;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Toggle (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ==========================
   HERO
   ========================== */

.hero {
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top left, #e0f2fe, transparent 55%),
        radial-gradient(circle at bottom right, #e5e7eb, transparent 55%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    color: #4b5563;
    font-size: 0.98rem;
    max-width: 460px;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-actions i {
    font-size: 0.9rem;
}

.hero-meta {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.hero-meta>div strong {
    display: block;
    font-size: 1.1rem;
}

/* Hero right card */
.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.7rem;
    box-shadow: var(--shadow-soft);
    max-width: 320px;
}

.hero-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.hero-card ul {
    list-style: none;
    margin-bottom: 0.7rem;
}

.hero-card li {
    font-size: 0.88rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.hero-card li i {
    color: #16a34a;
    font-size: 0.9rem;
}

.hero-card small {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ==========================
   GRID & CARDS
   ========================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 15px;
}

/* Service cards */
.card-service {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.card-service h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.card-service p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.card-service ul {
    list-style-type: disc;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #4b5563;
}

/* ==========================
   STEPS
   ========================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.step-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.step-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ==========================
   PRICING
   ========================== */

.card-price {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-price.featured {
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
    transform: translateY(-3px);
}

.card-price h3 {
    font-size: 1.05rem;
}

.card-price .price {
    font-size: 0.9rem;
    color: var(--muted);
}

.card-price .price span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.card-price ul {
    list-style-type: disc;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 0.4rem;
}

/* ==========================
   FORM ORDER
   ========================== */

.form-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 2rem;
    align-items: flex-start;
}

.form-info h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.form-info p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.form-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.3rem;
}

.form-badges span {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #e5edff;
    color: #1d4ed8;
}

.form-badges i {
    font-size: 0.8rem;
}

.contact-highlight {
    border-radius: var(--radius-md);
    background: #ecfdf5;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
}

.contact-highlight p {
    margin-bottom: 0.4rem;
    color: #065f46;
}

.contact-highlight a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #047857;
    font-weight: 600;
}

.contact-highlight i {
    font-size: 1rem;
}

/* Form card */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow-soft);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.form-group label span {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.55rem 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.form-group small {
    font-size: 0.7rem;
    color: #9ca3af;
}

.form-footnote {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.4rem;
}

/* ==========================
   TESTIMONI
   ========================== */

.card-testimoni {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.4rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.card-testimoni p {
    margin-bottom: 0.6rem;
    font-style: italic;
}

.testi-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
}

/* ==========================
   FOOTER
   ========================== */

.footer {
    background: #020617;
    color: #e5e7eb;
    padding: 2.5rem 0 2rem;
    margin-top: 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 1.8rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 0.7rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-copy {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.footer-col i {
    margin-right: 0.4rem;
}

/* tombol login di navbar */
.btn-login {
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .form-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        height: auto;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1rem;
        border-bottom: 1px solid #e5e7eb;
        gap: 0.5rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .grid-3,
    .steps {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
    }

    .nav-links a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-meta {
        gap: 1rem;
    }

    .hero-card {
        max-width: 100%;
    }
}

.order-result {
    margin-top: 1rem;
}

.order-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.order-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    padding: 1rem;
    border-radius: 10px;
    color: #b91c1c;
}

.btn-wa {
    display: inline-block;
    margin-top: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
}

.icon-circle {
    width: 100%;
    height: 230px;
    /* kunci tinggi area gambar */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    /* penting */
}

.product-icon-img {
    width: 100%;
    /* INI KUNCINYA */
    height: 100%;
    /* ikut tinggi wrapper */
    object-fit: cover;
    /* gambar tidak terpotong */
    border: 2px solid #3498db;
    border-radius: 10px;
    display: block;
}

/* card produk jadi link tapi tetap seperti card */
.link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* efek highlight ketika kartu harga dituju lewat anchor */
.card-price:target {
    outline: 3px solid rgba(34, 197, 94, .6);
    box-shadow: 0 10px 25px rgba(34, 197, 94, .18);
    scroll-margin-top: 110px;
    /* biar gak ketutup navbar */
}