/*
Theme Name: UMKM Prime SaaS Theme - V3.1 (Precision Green Toggle & Gradient Order Button)
Theme URI: https://umkmprime.id
Author: SaaS Mastermind
Description: High-conversion sales page with exact reference UI matching header toggle and order button.
Version: 3.1.0
*/

/* ==========================================================================

VARIABLES & COLORS (LIGHT MODE)
========================================================================== */
:root {
--bg-main: #ffffff;
--bg-alt: #f8fafc;
--bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #eff6ff 100%);
--text-main: #0f172a;
--text-muted: #475569;
--primary-color: #16a34a;
--primary-hover: #15803d;
--accent-blue: #0047ab;
--accent-red: #ef4444;

--glass-bg: rgba(255, 255, 255, 0.85);
--glass-border: rgba(226, 232, 240, 0.9);
--glass-shadow: 0 10px 30px -5px rgba(0, 71, 171, 0.08);

--radius-sm: 8px;
--radius-md: 10px;
--radius-lg: 16px;


}

/* ==========================================================================
2. DARK MODE
========================================================================== */
body.dark-theme {
--bg-main: #090d16;
--bg-alt: #0f172a;
--bg-gradient: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #0c1c3c 100%);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--primary-color: #22c55e;
--primary-hover: #16a34a;
--accent-blue: #3b82f6;
--accent-red: #f87171;

--glass-bg: rgba(15, 23, 42, 0.85);
--glass-border: rgba(51, 65, 85, 0.8);
--glass-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);


}

/* ==========================================================================
3. RESET & OVERFLOW FIXES
========================================================================== */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html, body {
width: 100%;
max-width: 100%;
overflow-x: hidden !important;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--text-main);
background: var(--bg-gradient);
background-attachment: fixed;
line-height: 1.6;
transition: background 0.4s ease, color 0.3s ease;
min-height: 100vh;
padding-bottom: 70px;
}

.container {
width: 100%;
max-width: 1200px;
padding: 0 16px;
margin: 0 auto;
box-sizing: border-box;
}

.text-center { text-align: center; }
a { text-decoration: none; transition: all 0.3s ease; }

/* ==========================================================================
4. GLASSMORPHISM UTILITY
========================================================================== */
.glass-card {
background: var(--glass-bg);
border: 1px solid var(--glass-border);
box-shadow: var(--glass-shadow);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-radius: var(--radius-lg);
transition: transform 0.3s ease, box-shadow 0.3s ease;
max-width: 100%;
}

.glass-card:hover {
transform: translateY(-5px);
border-color: var(--accent-blue);
}

/* ==========================================================================
5. HEADER & NAVBAR (EXACT REFERENCE MATCHING UI)
========================================================================== */
.site-header {
position: fixed;
top: 10px;
left: 0;
width: 100%;
z-index: 1000;
padding: 0 10px;
box-sizing: border-box;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1150px;
margin: 0 auto;
background: var(--glass-bg);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg);
padding: 8px 12px;
box-shadow: 0 10px 25px -5px rgba(0, 71, 171, 0.08);
position: relative;
width: 100%;
}

/* Header Logo Image & Text Styling */
.logo {
display: flex;
align-items: center;
flex-shrink: 0;
}

.logo a {
display: flex;
align-items: center;
gap: 8px;
font-size: 1rem;
font-weight: 900;
color: var(--text-main);
letter-spacing: -0.3px;
}

.site-logo {
height: 30px;
width: auto;
max-width: 130px;
object-fit: contain;
display: block;
}

.logo-text {
font-weight: 900;
font-size: 0.98rem;
color: var(--text-main);
letter-spacing: -0.3px;
white-space: nowrap;
}

/* HEADER ACTIONS: PRECISE REFERENCE UI MATCH */
.header-actions {
display: inline-flex;
align-items: center;
justify-content: center;
flex-direction: row;
flex-wrap: nowrap;
gap: 10px;
margin: 0 auto;
flex-shrink: 0;
}

/* Solid Green Squircle Theme Toggle Button /
#theme-toggle {
background: #10b981; / Precision Emerald Green */
border: none;
outline: none;
cursor: pointer;
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
color: #ffffff;
border-radius: 10px;
padding: 0;
margin: 0;
flex-shrink: 0;
transition: transform 0.2s ease, background-color 0.2s ease;
}

#theme-toggle:hover {
background: #059669;
transform: scale(1.04);
}

#theme-icon {
display: flex;
align-items: center;
justify-content: center;
}

/* Gradient "Order Sekarang" CTA Button */
.btn-daftar {
background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
color: #ffffff;
font-weight: 700;
font-size: 0.82rem;
height: 38px;
padding: 0 16px;
border-radius: 10px;
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-daftar:hover {
transform: translateY(-1px);
box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.btn-daftar svg {
flex-shrink: 0;
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-btn {
background: transparent;
border: none;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
gap: 4px;
padding: 6px;
flex-shrink: 0;
margin-left: 2px;
}

.mobile-menu-btn span {
display: block;
width: 20px;
height: 2px;
background-color: var(--text-main);
transition: all 0.3s ease;
}

/* Mobile Nav Drawer Right Aligned */
.main-nav {
display: none;
position: absolute;
top: calc(100% + 8px);
right: 0;
left: auto;
width: 260px;
max-width: calc(100vw - 20px);
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg);
padding: 18px 20px;
box-shadow: var(--glass-shadow);
z-index: 1001;
}

.main-nav.active {
display: block;
}

.main-nav ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
text-align: right;
}

.main-nav a {
color: var(--text-main);
font-weight: 600;
font-size: 0.95rem;
display: block;
}

.site-main {
padding-top: 85px;
width: 100%;
overflow-x: hidden;
}

/* ==========================================================================
6. HERO SECTION
========================================================================== */
.hero-section {
padding: 25px 0 50px;
width: 100%;
}

.hero-badge {
display: inline-block;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
padding: 5px 12px;
border-radius: 50px;
font-size: 0.65rem;
font-weight: 700;
color: var(--text-muted);
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
max-width: 100%;
word-wrap: break-word;
}

.hero-title {
font-size: 1.6rem;
font-weight: 900;
line-height: 1.25;
margin-bottom: 15px;
color: var(--text-main);
letter-spacing: -0.5px;
}

.highlight-text {
color: var(--accent-blue);
}

.hero-subtitle {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 25px;
line-height: 1.5;
}

.btn-main-cta {
display: inline-block;
background-color: var(--primary-color);
color: #ffffff;
font-weight: 800;
font-size: 0.9rem;
padding: 12px 20px;
border-radius: var(--radius-md);
box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
margin-bottom: 10px;
width: 100%;
text-transform: uppercase;
text-align: center;
}

.btn-main-cta:hover {
background-color: var(--primary-hover);
transform: translateY(-2px);
}

.hero-support {
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: 35px;
}

.support-badge {
font-weight: 600;
color: var(--text-main);
display: block;
margin-top: 4px;
}

.hero-mockup-container {
max-width: 100%;
margin: 0 auto;
}

.mockup-frame {
padding: 8px;
width: 100%;
}

.mockup-header-dots {
display: flex;
gap: 5px;
padding: 6px 10px;
}

.dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #22c55e; }

.mockup-screen-video {
background: #000000;
border-radius: var(--radius-sm);
aspect-ratio: 16 / 9;
width: 100%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid var(--glass-border);
}

/* ==========================================================================
7. SECTIONS & CARDS
========================================================================== */
.problem-section, .features-section, .comparison-section, .pricing-section, .bonus-section, .testimonial-section, .faq-section {
padding: 50px 0;
width: 100%;
}

.section-header {
text-align: center;
margin-bottom: 30px;
padding: 0 5px;
}

.section-title {
font-size: 1.4rem;
font-weight: 800;
margin-bottom: 10px;
}

.section-subtitle {
color: var(--text-muted);
font-size: 0.85rem;
}

.features-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
width: 100%;
}

.feature-card {
padding: 20px 16px;
text-align: left;
}

.feature-icon {
font-size: 2rem;
margin-bottom: 12px;
}

.feature-title {
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 8px;
}

.feature-desc {
color: var(--text-muted);
font-size: 0.85rem;
}

/* Comparison Table */
.comparison-grid {
display: grid;
grid-template-columns: 1fr;
gap: 16px;
max-width: 800px;
margin: 0 auto;
width: 100%;
}

.comparison-card {
padding: 25px 16px;
text-align: center;
position: relative;
}

.comparison-card.highlight-card {
border: 2px solid var(--primary-color);
}

.popular-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: var(--primary-color);
color: #fff;
font-size: 0.65rem;
font-weight: 700;
padding: 3px 10px;
border-radius: 20px;
}

.price-strike {
color: var(--accent-red);
font-weight: 700;
font-size: 1rem;
margin-bottom: 5px;
}

.price-tag {
color: var(--primary-color);
font-weight: 800;
font-size: 1.15rem;
margin-bottom: 5px;
}

.time-cost {
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: 15px;
}

.comp-list {
list-style: none;
text-align: left;
display: flex;
flex-direction: column;
gap: 8px;
}

.comp-list li {
font-size: 0.85rem;
}

/* Pricing Card */
.pricing-card-wrapper {
max-width: 100%;
margin: 0 auto;
}

.pricing-card {
padding: 25px 16px;
position: relative;
text-align: center;
}

.badge-tag {
display: inline-block;
background-color: var(--primary-color);
color: #ffffff;
font-size: 0.65rem;
font-weight: 700;
padding: 4px 10px;
border-radius: 20px;
margin-bottom: 12px;
text-transform: uppercase;
}

.price-box {
margin: 15px 0;
}

.original-price {
color: var(--accent-red);
font-size: 1rem;
font-weight: 700;
display: block;
margin-bottom: 5px;
}

.current-price .currency {
font-size: 1.1rem;
font-weight: 700;
vertical-align: top;
}

.current-price .amount {
font-size: 2.5rem;
font-weight: 900;
color: var(--text-main);
letter-spacing: -1.5px;
}

.current-price .period {
font-size: 0.8rem;
color: var(--text-muted);
display: block;
}

.pricing-features {
list-style: none;
text-align: left;
margin: 20px 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.pricing-features li {
font-size: 0.85rem;
color: var(--text-main);
}

/* FAQ Grid */
.faq-grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
max-width: 900px;
margin: 0 auto;
width: 100%;
}

.faq-item {
padding: 16px;
text-align: left;
}

.faq-item h3 {
font-size: 0.95rem;
font-weight: 700;
margin-bottom: 6px;
color: var(--text-main);
}

.faq-item p {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.5;
}

/* ==========================================================================
8. HERO-STYLE FINAL CTA & BRANDING SECTION
========================================================================== */
.final-cta-section.hero-style-cta {
padding: 50px 0 40px;
background: transparent;
width: 100%;
}

.final-cta-title {
font-size: 1.5rem;
font-weight: 900;
line-height: 1.25;
margin-bottom: 12px;
color: var(--text-main);
letter-spacing: -0.5px;
}

.final-cta-subtitle {
font-size: 0.88rem;
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 20px;
line-height: 1.5;
}

.final-cta-action {
margin-bottom: 10px;
}

.guarantee-note {
font-size: 0.75rem;
color: var(--text-muted);
font-weight: 600;
margin-bottom: 30px;
}

.brand-divider {
height: 1px;
background: var(--glass-border);
max-width: 280px;
margin: 35px auto 30px;
}

.brand-tagline-block {
text-align: center;
}

.brand-logo-img {
height: 65px;
max-width: 300px;
width: auto;
margin: 0 auto 12px;
display: block;
object-fit: contain;
}

.brand-slogan {
font-size: 1rem;
font-weight: 700;
color: var(--accent-blue);
margin-bottom: 6px;
}

.brand-pillars {
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
letter-spacing: 0.5px;
}

/* ==========================================================================
9. STICKY MOBILE FOOTER CTA
========================================================================== */
.sticky-mobile-cta {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-top: 1px solid var(--glass-border);
padding: 8px 12px;
z-index: 999;
box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.sticky-flex {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}

.sticky-info {
display: flex;
flex-direction: column;
}

.sticky-title {
font-size: 0.75rem;
font-weight: 700;
color: var(--text-main);
}

.sticky-price {
font-size: 0.88rem;
font-weight: 900;
color: var(--primary-color);
}

.strikethrough {
text-decoration: line-through;
color: var(--accent-red);
font-size: 0.7rem;
font-weight: normal;
margin-left: 3px;
}

.btn-sticky-buy {
background-color: var(--primary-color);
color: #fff;
font-weight: 800;
font-size: 0.75rem;
padding: 8px 16px;
border-radius: 30px;
box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
text-transform: uppercase;
}

.site-footer {
padding: 25px 0;
border-top: 1px solid var(--glass-border);
color: var(--text-muted);
font-size: 0.75rem;
}

/* ==========================================================================
10. DESKTOP & LARGE TABLET BREAKPOINT (MIN 768px)
========================================================================== */
@media (min-width: 768px) {
body { padding-bottom: 0; }
.sticky-mobile-cta { display: none; }

.site-header { top: 15px; padding: 0 20px; }
.header-container { padding: 10px 24px; }

.site-logo { height: 36px; max-width: 180px; }
.logo a { font-size: 1.15rem; gap: 10px; }
.logo-text { font-size: 1.1rem; }

.mobile-menu-btn { display: none; }

.logo { 
    order: 1; 
}

.main-nav {
    order: 2;
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    max-width: none;
    backdrop-filter: none;
    margin-left: auto;
    margin-right: 25px;
}

.main-nav ul {
    flex-direction: row;
    gap: 22px;
    text-align: left;
}

.main-nav a {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--text-main);
}

.header-actions {
    order: 3;
    margin: 0;
    gap: 10px;
}

.site-main { padding-top: 105px; }

.hero-section { padding: 40px 0 80px; }
.hero-badge { font-size: 0.75rem; padding: 6px 16px; }
.hero-title { font-size: 3.2rem; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.15rem; max-width: 650px; margin: 0 auto 30px; }
.btn-main-cta { width: auto; font-size: 1rem; padding: 14px 36px; }
.support-badge { display: inline; margin-left: 5px; }

.problem-section, .features-section, .comparison-section, .pricing-section, .bonus-section, .testimonial-section, .faq-section {
    padding: 80px 0;
}

.section-title { font-size: 2rem; }
.section-subtitle { font-size: 1rem; }

.features-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
.feature-card { padding: 30px 22px; }

.comparison-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; max-width: 900px; }
.comparison-card { padding: 35px 25px; }

.pricing-card-wrapper { max-width: 500px; }
.pricing-card { padding: 40px 30px; }

.faq-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

.final-cta-section.hero-style-cta { padding: 80px 0 60px; }
.final-cta-title { font-size: 2.8rem; letter-spacing: -1px; }
.final-cta-subtitle { font-size: 1.15rem; max-width: 750px; }

.brand-logo-img { height: 85px; max-width: 360px; }
.brand-slogan { font-size: 1.35rem; }
.brand-pillars { font-size: 1.05rem; }


}