:root {
    --bg-grad-body: linear-gradient(135deg, #ffffff 0%, #e0f7fa 50%, #cbf2f0 100%);
    --bg-bubble-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(225, 245, 255, 0.6) 100%);
    --bg-header: rgba(255, 255, 255, 0.85);
    --primary-grad: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    --primary: #009ebf;       
    --secondary: #0079a1;     
    --text-main: #0f172a;     
    --text-muted: #475569;    
    --border-glass: rgba(255, 255, 255, 0.9);
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-bubble: 28px; 
    --radius-btn: 14px;
    --shadow-bubble: 0 15px 35px rgba(0, 60, 100, 0.05), inset 0 8px 12px rgba(255, 255, 255, 1), inset 0 -5px 12px rgba(180, 235, 250, 0.3);
    --shadow-bubble-hover: 0 25px 45px rgba(0, 60, 100, 0.08), inset 0 8px 12px rgba(255, 255, 255, 1), inset 0 -5px 12px rgba(180, 235, 250, 0.4);
    --shadow-btn-p: 0 10px 25px -5px rgba(0, 180, 219, 0.35);
    --shadow-btn-p-h: 0 15px 30px -5px rgba(0, 180, 219, 0.5);
}

* { box-sizing: border-box; }
body {
    font-family: var(--font-body); background-image: var(--bg-grad-body);
    background-attachment: fixed; background-size: cover; color: var(--text-main);
    margin: 0; padding-top: 75px; line-height: 1.75; overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-btn); }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; margin: 0 0 15px; color: var(--text-main); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* NAVBAR */
.navbar {
    background: var(--bg-header); border-bottom: 1px solid var(--border-glass);
    position: fixed; top: 0; width: 100%; z-index: 1000; height: 75px; display: flex; align-items: center;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar-brand { font-family: var(--font-title); font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.navbar-brand i { background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 25px; align-items: center; }
.nav-menu a { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary); }

/* BUTTONS & CARDS */
.btn-dl-nav { background: var(--primary-grad); color: #fff !important; border-radius: var(--radius-btn); padding: 10px 24px; font-weight: 600; box-shadow: var(--shadow-btn-p); }
.btn-dl-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-p-h); }

.bubble-effect {
    background: var(--bg-bubble-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-bubble); box-shadow: var(--shadow-bubble);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: all 0.4s ease; overflow: hidden;
}
.bubble-effect:hover { transform: translateY(-6px); box-shadow: var(--shadow-bubble-hover); border-color: #ffffff; }

/* HERO */
.hero-wrapper { padding: 120px 0 90px; background: radial-gradient(circle at top right, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%); }
.hero-container-flex { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-left-buttons { flex: 0 0 450px; display: flex; flex-direction: column; gap: 16px; }
.btn-hero { padding: 14px 32px; font-size: 0.95rem; font-weight: 700; border-radius: var(--radius-btn); display: flex; align-items: center; gap: 12px; justify-content: center; font-family: var(--font-title); }
.btn-hero.primary { background: var(--primary-grad); color: #fff; box-shadow: var(--shadow-btn-p); }
.btn-hero.primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-btn-p-h); }
.btn-hero.secondary { background: var(--bg-bubble-card); border: 1px solid var(--border-glass); box-shadow: var(--shadow-bubble); }
.btn-hero.secondary:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.hero-tag { background: rgba(0, 180, 219, 0.1); color: var(--primary); padding: 6px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; margin-bottom: 25px; display: inline-block; border: 1px solid rgba(0, 180, 219, 0.2); }
.hero-title { font-size: 3rem; font-weight: 800; background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.25; }

/* FEATURES GRID */
.main-section-title { font-size: 1.75rem; margin: 60px 0 35px; position: relative; padding-bottom: 12px; font-weight: 800; }
.main-section-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 50px; height: 5px; background: var(--primary-grad); border-radius: 10px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 40px; }
.feature-card { padding: 35px 28px; display: flex; flex-direction: column; cursor: pointer; position: relative; }
.feat-icon { width: 60px; height: 60px; background: rgba(0, 180, 219, 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 24px; transition: all 0.4s ease; border: 1px solid rgba(255,255,255,0.8); }
.feature-card:hover .feat-icon { background: var(--primary-grad); color: #fff; transform: scale(1.1) rotate(-5deg); }
.feat-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.feat-desc { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* POST DETAIL */
.single-post-container { padding: 55px; margin: 40px 0; }
.post-title-single { font-size: 2.4rem; margin-bottom: 20px; letter-spacing: -0.02em; }
.post-date { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 35px; font-weight: 500; }
.post-content { font-size: 1.1rem; color: #1e293b; line-height: 1.85; }
.post-content h2, .post-content h3 { margin-top: 40px; font-weight: 800; }
.post-content pre { background: #0f172a; border-radius: var(--radius-btn); padding: 24px; color: #f8fafc; font-family: monospace; overflow-x: auto; border: 1px solid rgba(255,255,255,0.1); }
.post-content code { background: rgba(0, 180, 219, 0.1); color: var(--secondary); padding: 2px 6px; border-radius: 6px; font-family: monospace; }
.post-content img { margin: 30px auto; box-shadow: 0 10px 25px rgba(0, 60, 100, 0.1); border: 1px solid var(--border-glass); }

/* MODAL */
.glass-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 30, 50, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.glass-modal.show { opacity: 1; }
.glass-modal-content { background: var(--bg-bubble-card); border: 1px solid var(--border-glass); border-radius: var(--radius-bubble); width: 90%; max-width: 850px; max-height: 85vh; overflow-y: auto; padding: 40px; position: relative; transform: translateY(30px) scale(0.95); transition: all 0.4s ease; box-shadow: var(--shadow-bubble-hover); }
.glass-modal.show .glass-modal-content { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 28px; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.6); border: 1px solid var(--border-glass); color: var(--text-muted); }
.close-modal:hover { background: #fff; color: var(--primary); transform: rotate(90deg); }
.modal-loader { text-align: center; padding: 60px 20px; color: var(--primary); font-weight: 600; font-size: 1.1rem; }

/* FOOTER */
footer { background: var(--bg-bubble-card); border-top: 1px solid var(--border-glass); padding: 70px 0; text-align: center; margin-top: 90px; }
.social-links a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; margin: 0 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-glass); }
.social-links a:hover { background: var(--primary-grad); color: #fff; transform: translateY(-4px); }

@media(max-width: 768px) {
    .hero-container-flex { flex-direction: column-reverse; text-align: center; gap: 35px; }
    .hero-left-buttons { width: 100%; flex: 1; }
    .nav-menu { display: none; }
    .hero-title { font-size: 2.3rem; }
    .single-post-container, .glass-modal-content { padding: 30px 20px; }
}