/* ============================================================
   RADITYA SUME INDONESIA - Premium Design System
   v1.0 - 2024
   Color: #115053 | Font: Poppins
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Primary Brand Colors */
    --primary: #115053;
    --primary-dark: #0A3537;
    --primary-darker: #062325;
    --primary-light: #0A7B7B;
    --primary-lighter: #E0F2F2;
    --primary-gradient: linear-gradient(135deg, #115053 0%, #0A7B7B 100%);
    --primary-gradient-soft: linear-gradient(135deg, rgba(17,80,83,0.05) 0%, rgba(10,123,123,0.05) 100%);
    
    /* Accent Gold */
    --gold: #D4AF37;
    --gold-light: #F5D76E;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #B8860B 100%);
    
    /* Neutral */
    --cream: #FAF8F3;
    --light: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --dark: #1A1A1A;
    
    /* Status Colors */
    --success: #2E7D32;
    --success-light: #E8F5E9;
    --warning: #F57C00;
    --warning-light: #FFF3E0;
    --danger: #C62828;
    --danger-light: #FFEBEE;
    --info: #0277BD;
    --info-light: #E1F5FE;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(17,80,83,0.05);
    --shadow-sm: 0 2px 6px rgba(17,80,83,0.08);
    --shadow: 0 4px 12px rgba(17,80,83,0.10);
    --shadow-md: 0 8px 24px rgba(17,80,83,0.12);
    --shadow-lg: 0 16px 40px rgba(17,80,83,0.16);
    --shadow-xl: 0 24px 60px rgba(17,80,83,0.20);
    --shadow-gold: 0 8px 24px rgba(212,175,55,0.30);
    --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.05);
    
    /* Border Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;
    
    /* Transitions */
    --t-fast: 0.15s ease;
    --t: 0.3s ease;
    --t-slow: 0.5s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-darker);
    line-height: 1.3;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--t-fast);
}
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; }

::selection {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   UTILITY CLASSES
============================================================ */
.text-primary-c { color: var(--primary) !important; }
.text-gold-c { color: var(--gold) !important; }
.bg-primary-c { background: var(--primary) !important; }
.bg-gold-c { background: var(--gold) !important; }
.bg-cream-c { background: var(--cream) !important; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ============================================================
   NAVBAR / HEADER
============================================================ */
.navbar-rs {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--t);
}

.navbar-rs.scrolled {
    box-shadow: var(--shadow);
    padding: 8px 0;
}

.navbar-rs .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary-darker) !important;
}

.navbar-rs .navbar-brand img {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    object-fit: cover;
    border: 2px solid var(--primary-lighter);
    transition: var(--t);
}

.navbar-rs .navbar-brand:hover img {
    transform: scale(1.05) rotate(-3deg);
    border-color: var(--gold);
}

.navbar-rs .navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-rs .navbar-brand-text .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-darker);
    letter-spacing: -0.3px;
}

.navbar-rs .navbar-brand-text .subtitle {
    font-size: 10px;
    color: var(--gold-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-rs .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    border-radius: var(--r-sm);
    transition: var(--t-fast);
    position: relative;
}

.navbar-rs .nav-link:hover, 
.navbar-rs .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-lighter);
}

.navbar-rs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.btn-gold-outline {
    border: 2px solid var(--gold) !important;
    color: var(--gold-dark) !important;
    font-weight: 600;
    background: transparent;
    padding: 8px 20px;
    border-radius: var(--r-sm);
    transition: var(--t);
    font-size: 14px;
}
.btn-gold-outline:hover {
    background: var(--gold-gradient) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-primary-rs {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--r-sm);
    transition: var(--t);
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}
.btn-primary-rs:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff !important;
    background: var(--primary-darker) !important;
}

.navbar-toggler {
    border: 2px solid var(--primary) !important;
    padding: 4px 8px;
    border-radius: var(--r-sm);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23115053' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    overflow: hidden;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero .badge-eyebrow {
    display: inline-block;
    background: rgba(212,175,55,0.2);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(212,175,55,0.3);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--gold-light);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212,175,55,0.3);
    z-index: -1;
}

.hero p.lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}

.hero-stat .number {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================================
   SECTIONS
============================================================ */
section {
    padding: 80px 0;
    position: relative;
}

.section-light { background: var(--cream); }
.section-white { background: #fff; }
.section-primary { background: var(--primary-gradient); color: #fff; }
.section-primary h2, .section-primary h3 { color: #fff; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header .eyebrow {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.7;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 16px auto;
    border-radius: 2px;
}

/* ============================================================
   CARDS
============================================================ */
.card-product {
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    height: 100%;
    border: 1px solid var(--gray-100);
    position: relative;
}

.card-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.card-product .product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.card-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--t-slow);
}

.card-product:hover .product-image img {
    transform: scale(1.08);
}

.card-product .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.badge-premium-gold {
    background: var(--gold-gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-umum {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-product .product-info {
    padding: 16px;
}

.card-product .product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-darker);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.card-product .product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-product .product-btn {
    width: 100%;
    background: var(--primary-lighter);
    color: var(--primary);
    border: none;
    padding: 10px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 13px;
    transition: var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.card-product .product-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   FEATURE CARDS
============================================================ */
.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.feature-card .icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: var(--shadow);
    transition: var(--t);
}

.feature-card:hover .icon-wrap {
    background: var(--gold-gradient);
    transform: scale(1.05) rotate(-5deg);
    box-shadow: var(--shadow-gold);
}

.feature-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   BUTTONS GLOBAL
============================================================ */
.btn {
    font-weight: 500;
    border-radius: var(--r-sm);
    padding: 10px 20px;
    font-size: 14px;
    transition: var(--t);
}

.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-darker) !important;
    color: #fff !important;
}

.btn-gold {
    background: var(--gold-gradient) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    font-weight: 500;
}
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--primary-darker);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

footer h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

footer ul li a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

footer .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--t);
}

footer .social-icons a:hover {
    background: var(--gold-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--t);
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}
.wa-float:hover {
    transform: scale(1.1);
    color: #fff;
    background: #1FB855;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in { animation: fadeIn 0.6s ease-out both; }
.fade-in-up { animation: fadeInUp 0.7s ease-out both; }

.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.4s; }

/* ============================================================
   RESPONSIVE - Mobile App Style
============================================================ */
@media (max-width: 991px) {
    section { padding: 60px 0; }
    .hero { min-height: auto; padding: 80px 0 60px; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    section { padding: 48px 0; }
    .hero { padding: 60px 0 48px; }
    .hero-stats { gap: 24px; }
    .hero-stat .number { font-size: 22px; }
    
    .navbar-rs .nav-link {
        padding: 12px 16px !important;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-100);
    }
    .navbar-rs .nav-link.active {
        background: var(--primary-lighter);
    }
    
    footer { padding: 40px 0 20px; }
    .wa-float { width: 50px; height: 50px; font-size: 24px; bottom: 16px; right: 16px; }
}

@media (max-width: 576px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
}

/* Padding bottom untuk konten di mobile, supaya tidak tertutup bottom nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px !important;
    }
}

/* Padding untuk konten di mobile, supaya tidak tertutup bottom nav */
@media (max-width: 991.98px) {
    body.has-bottom-nav {
        padding-bottom: 70px !important;
    }
}

/* ============================================================
   GLOBAL TEXTAREA RESPONSIVE FIX
============================================================ */
textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 80px;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: white;
    color: var(--gray-800);
    transition: all 0.3s;
    outline: none;
}

textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17,80,83,0.08);
}

textarea::placeholder {
    color: var(--gray-400);
    font-size: 13px;
}

/* Ensure form-row col-12 stretches textarea */
.col-12 > textarea,
.col-12 .input-rs {
    width: 100% !important;
    max-width: 100% !important;
}

/* Form group wrapper */
.form-group-rs {
    width: 100%;
    margin-bottom: 16px;
}



/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-darker); }

