/* ============================================
   GuaKMole — Premium Brand Stylesheet
   ============================================ */

/* Variables & Reset */
:root {
    --primary: #2D6A4F;
    --primary-light: #40916C;
    --primary-dark: #1B4332;
    --accent: #52B788;
    --accent-light: #95D5B2;
    --surface: #FFFFFF;
    --surface-alt: #F8FAF9;
    --surface-elevated: #FFFFFF;
    --bg: #F0F5F2;
    --text-primary: #1A1A2E;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border: rgba(45, 106, 79, 0.08);
    --border-hover: rgba(45, 106, 79, 0.15);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 24px rgba(45, 106, 79, 0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    --transition-fast: 0.15s ease;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* Pill / Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    border: 1px solid rgba(45, 106, 79, 0.12);
}

.badge svg {
    width: 14px;
    height: 14px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    box-shadow: var(--shadow-green);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: inherit;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 106, 79, 0.30);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background: #FFFFFF;
    color: var(--primary-dark);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--surface);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: 1.5px solid var(--border);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    padding: 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.logo {
    padding-top: 24px;
    display: block;
    width: 140px;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.navbar .btn-primary {
    padding: 10px 24px;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.navbar .btn-primary:hover {
    box-shadow: var(--shadow-green);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--surface);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-text h1 {
    font-size: 3.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 480px;
}

.hero-btn {
    padding: 18px 36px;
    font-size: 1rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
    max-width: 90%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* ============================================
   Value Proposition
   ============================================ */
.value-prop {
    background: var(--surface-alt);
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--surface);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.value-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.08) 0%, rgba(82, 183, 136, 0.08) 100%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    border: 1px solid rgba(45, 106, 79, 0.06);
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   Product Showcase
   ============================================ */
.product-showcase {
    background: var(--surface);
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.product-img-wrapper {
    background: linear-gradient(135deg, #f0f7f3 0%, #e8f3ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.product-detail-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-detail-img {
    transform: scale(1.04);
}

.product-info {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.product-specs {
    margin-bottom: 32px;
}

.product-specs li {
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ============================================
   Why Section
   ============================================ */
.why-us {
    background: var(--primary-dark);
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(82, 183, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(149, 213, 178, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us .section-title {
    color: #FFFFFF;
}

.why-us .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.why-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.why-text p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-feature {
    text-align: center;
}

.why-feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.why-feature h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.why-feature p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    background: var(--surface-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    text-align: left;
    background: var(--surface);
    padding: 36px 32px;
    position: relative;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #F59E0B;
    fill: #F59E0B;
}

.quote {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    font-style: normal;
}

.quote::before {
    content: '\201C';
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--accent-light);
    line-height: 0;
    display: block;
    margin-bottom: 8px;
}

.author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.author-role {
    display: block;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    margin-top: 2px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--surface);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-alt);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    list-style: none;
    position: relative;
    transition: var(--transition-fast);
    color: var(--text-primary);
    padding-right: 56px;
    display: flex;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    background-color: rgba(45, 106, 79, 0.1);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    text-align: center;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: #FFFFFF;
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: #FFFFFF;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    padding: 18px 36px;
}

.cta-banner .btn-primary:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-banner .btn-primary::before {
    display: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-footer {
    display: block;
    width: 140px;
    margin-bottom: 16px;
}

.logo-footer img {
    width: 100%;
    height: auto;
    display: block;
}

.footer .brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: #FFFFFF;
}

.copyright {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.float-wa {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-wa svg {
    width: 28px;
    height: 28px;
}

.float-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-text .subtitle {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-trust {
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-img-wrapper {
        padding: 32px;
    }

    .product-info {
        padding: 40px 32px;
        align-items: center;
        text-align: center;
    }

    .product-specs li {
        justify-content: center;
    }

    .why-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer .brand p {
        max-width: 100%;
    }

    .logo-footer {
        margin: 0 auto 16px;
    }

    .copyright {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar .btn-primary.desktop-cta {
        display: none;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 64px 0;
    }

    .card {
        padding: 32px 24px;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 16px;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }
}