/*
Theme Name: MyRepublic Purbalingga
Theme URI: https://myrepublic.co.id
Author: AntiGravity
Description: Super SEO 2026 Theme for MyRepublic Purbalingga. Mobile-First & Fast.
Version: 1.0.0
*/

:root {
    --primary: #662D91;
    /* MyRepublic Purple */
    --primary-dark: #4b1e6e;
    --secondary: #EE3124;
    /* Red Promo */
    --accent: #FFD200;
    --text: #1a1a1a;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --container: 1200px;
    --spacing: 1rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-light);
    font-size: 16px;
    /* Mobile safe */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.bg-white {
    background: var(--white);
}

.shadow {
    box-shadow: var(--shadow);
}

.rounded {
    border-radius: var(--radius);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.main-nav ul {
    display: none;
}

/* Mobile first: hidden menu */
.mobile-cta {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #3a0ca3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Pricing Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-widgets {
    margin-bottom: 2rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Sticky Mobile CTA */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.sticky-footer-cta .btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .main-nav ul {
        display: flex;
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .sticky-footer-cta {
        display: none;
    }
}

/* Utility for text hierarchy */
h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Rank Math Breadcrumbs */
.rank-math-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.rank-math-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    text-decoration: underline;
}

.rank-math-breadcrumb .separator {
    margin: 0 5px;
    color: #ccc;
}