/* ==========================================================================
   SkripsiEngineer - Light Academic Tutoring Theme
   ========================================================================= */

:root {
    --bg-color: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Brand Colors */
    --color-primary: #1e3a8a;       /* Deep Academic Blue */
    --color-primary-hover: #1e40af;
    --color-accent: #f97316;        /* Friendly Orange */
    --color-accent-hover: #ea580c;
    --color-cyan: #0284c7;          /* Sky Blue for sub-elements */
    --color-purple: #7c3aed;        /* Soft Purple */
    
    /* Text Colors */
    --text-main: #1e293b;           /* Dark Charcoal */
    --text-muted: #64748b;          /* Soft Gray */
    --text-white: #ffffff;
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 20px -3px rgba(30, 58, 138, 0.08), 0 4px 6px -4px rgba(30, 58, 138, 0.08);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Cards style */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

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

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-accent {
    background: var(--color-accent);
    color: white;
}

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

/* Accent Highlight Text */
.gradient-text {
    color: var(--color-accent);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon i {
    width: 24px;
    height: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo-main span {
    color: var(--color-accent);
}

.logo-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: none;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1.5rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
    gap: 1.25rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-divider {
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Alert Notification Styles */
.alert-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.alert-close-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 9rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    min-height: 85vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--color-primary);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 0.5rem 0;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.bullet-icon {
    width: 28px;
    height: 28px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.bullet-icon i {
    width: 16px;
    height: 16px;
}

.bullet-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.bullet-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quick Search Selector */
.hero-selector {
    padding: 1.5rem;
    margin-top: 1rem;
}

.hero-selector h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

.selector-group {
    display: flex;
    gap: 1rem;
}

.selector-input-wrapper {
    flex-grow: 1;
    position: relative;
}

.selector-input-wrapper select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.selector-input-wrapper::after {
    content: '▼';
    font-size: 0.75rem;
    color: var(--text-muted);
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Right Illustration Area (The study group vector) */
.hero-illustration-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-glow {
    display: none; /* Removed neon glow effect */
}

.hero-3d-object {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: 2rem auto 5rem;
    padding: 0 2rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-icon {
    width: 46px;
    height: 46px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    width: 22px;
    height: 22px;
}

.stat-text h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
}

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

/* ==========================================================================
   Interactive Catalog Fields Section
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.section-header p {
    color: var(--text-muted);
}

.fields-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.field-card {
    padding: 2.25rem 2rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.field-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-hover);
}

.field-icon {
    width: 50px;
    height: 50px;
    background: #f0fdf4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    margin-bottom: 0.25rem;
}

.field-icon i {
    width: 26px;
    height: 26px;
}

.field-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.field-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.field-tags {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Feature Grid Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-item-icon {
    width: 48px;
    height: 48px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.feature-item-icon i {
    width: 22px;
    height: 22px;
}

.feature-item-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.feature-item-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   How It Works (Roadmap)
   ========================================================================== */
.how-it-works {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.roadmap-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.roadmap-card {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.roadmap-num {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
}

.roadmap-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.roadmap-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.pricing-card.premium-highlight {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.badge-popular {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.price-box {
    margin: 1rem 0;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
}

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

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--color-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Custom End-to-End package banner */
.custom-package-banner {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #162a63 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.custom-package-banner::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 65%);
    pointer-events: none;
}

.custom-package-info {
    position: relative;
    z-index: 1;
}

.custom-package-tag {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.custom-package-info h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.75rem;
}

.custom-package-info > p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.custom-package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.custom-package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.custom-package-features li i {
    color: var(--color-accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.custom-package-action {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
}

.custom-package-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-package-nego {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.1;
}

.custom-package-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .custom-package-banner {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.75rem;
    }
}

/* ==========================================================================
   Custom Class Booking Form
   ========================================================================== */
.custom-class-section {
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.custom-form-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 3.5rem 3rem;
}

.form-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-info-side h3 {
    font-size: 2rem;
    color: var(--color-primary);
}

.form-info-side p {
    color: var(--text-muted);
}

.form-bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.form-bullets-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.5;
}

.form-bullets-list li svg,
.form-bullets-list li i {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.form-action-side form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* ==========================================================================
   Testimonial Carousel
   ========================================================================== */
.testimonial-section {
    max-width: 1200px;
    margin: 0 auto 7rem;
    padding: 0 2rem;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.test-quote {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    flex-grow: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.user-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.user-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Login / Register Custom Pages
   ========================================================================== */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-header {
    text-align: center;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================================================
   Client Dashboard Center
   ========================================================================== */
.dashboard-page {
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.2fr 1.8fr;
    gap: 3rem;
    min-height: 80vh;
}

.dashboard-left, 
.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.welcome-banner {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-text h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.requests-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.requests-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.request-card {
    padding: 2rem;
}

.request-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.request-meta h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.request-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-approved {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.status-ongoing {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.status-completed {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.status-confirming {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.status-paid {
    background: #ecfeff;
    color: #0e7490;
    border: 1px solid #a5f3fc;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.request-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.no-requests {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-requests i {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Dashboard request booking form */
.dashboard-form-card {
    padding: 2.5rem;
}

.dashboard-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

/* ==========================================================================
   Footer & Bottom elements
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    padding: 5rem 2rem 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
}

.brand-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
    max-width: 360px;
}

.footer-guarantees {
    display: flex;
    gap: 1.5rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.guarantee-item i {
    color: var(--color-accent);
    width: 16px;
    height: 16px;
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    position: relative;
}

.footer-links-group h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.footer-links-group ul a:hover {
    color: var(--color-primary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-list li i {
    color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-badge {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
        gap: 4rem;
    }
    
    .hero-desc {
        margin: 0 auto;
    }
    
    .hero-bullets {
        max-width: 500px;
        margin: 0.5rem auto;
    }
    
    .hero-selector {
        max-width: 550px;
        margin: 1.5rem auto 0;
    }
    
    .fields-grid, 
    .features-grid, 
    .pricing-grid, 
    .testimonial-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .custom-form-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .dashboard-page {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, 
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .fields-grid, 
    .features-grid, 
    .pricing-grid, 
    .testimonial-container,
    .roadmap-container {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Admin Dashboard
   ========================================================================== */
.admin-page {
    padding: 7rem 0 5rem;
    background: var(--bg-color);
    min-height: 100vh;
}
.admin-container {
    max-width: 96%;
    margin: 0 auto;
    padding: 0 2rem;
}
.admin-header { margin-bottom: 2rem; }
.admin-tag {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.admin-header h1 { font-size: 1.8rem; color: var(--color-primary); }
.admin-header p { color: var(--text-muted); }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.admin-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}
.admin-stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.admin-stat-icon i { width: 22px; height: 22px; }
.admin-stat b {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    display: block;
    line-height: 1.1;
}
.admin-stat span { font-size: 0.82rem; color: var(--text-muted); }

/* --- Financial summary banner --- */
.finance-summary { padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; }
.finance-head {
    display: flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
    color: var(--color-primary); margin-bottom: 1.1rem;
}
.finance-head-icon {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    background: #dcfce7; color: #15803d; display: grid; place-items: center;
}
.finance-head-icon i { width: 18px; height: 18px; }
.finance-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    margin-bottom: 1.1rem;
}
.finance-item {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 0.9rem 1rem; background: #f8fafc;
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
}
.finance-item span {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.8rem; color: var(--text-muted);
}
.finance-item span i { width: 14px; height: 14px; }
.finance-item b { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-main); }
.finance-item .fin-paid { color: #047857; }
.finance-item .fin-due { color: var(--color-accent-hover); }
.finance-bar {
    height: 10px; background: #eef2f7; border-radius: 6px; overflow: hidden;
}
.finance-bar-fill {
    height: 100%; border-radius: 6px;
    background: linear-gradient(90deg, #10b981, #059669);
    transition: width 0.4s ease;
}
.finance-bar-label { margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-muted); }
.finance-bar-label b { color: #047857; }
@media (max-width: 640px) {
    .finance-grid { grid-template-columns: 1fr; }
}

.admin-tabs {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 1.5rem;
    gap: 4px;
}
.admin-tab {
    padding: 0.6rem 1.4rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.admin-tab.active { background: var(--color-primary); color: #fff; }

.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card {
    padding: 1.25rem;
    overflow: hidden;
}

.table-scroll { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 1000px;
}
.admin-table thead th {
    text-align: left;
    padding: 1.1rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
}
.admin-table tbody td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: var(--text-main);
}
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table td b {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
}
.admin-table td small {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 2px;
}
.admin-table td:nth-child(4),
.admin-table td:nth-child(5),
.admin-table td:nth-child(6) {
    white-space: nowrap;
}
.desc-cell {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
}
.admin-note-hint { cursor: help; margin-top: 4px; font-size: 0.72rem; color: var(--color-accent); }

.row-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.row-actions-ghost { display: flex; gap: 6px; }
.row-actions-ghost .btn-mini { flex: 1; }
.btn-mini-success { background: #059669; color: #fff; }
.btn-mini-success:hover { background: #047857; }
.btn-mini {
    padding: 0.5rem 0.9rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-mini-primary { background: var(--color-primary); color: #fff; }
.btn-mini-primary:hover { background: var(--color-primary-hover); }
.btn-mini-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn-mini-danger:hover { background: #fee2e2; }
.btn-mini-ghost { background: #f1f5f9; color: var(--color-primary); border: 1px solid var(--border-color); }
.btn-mini-ghost:hover { background: #e2e8f0; }

/* Detail modal body */
.detail-body { display: flex; flex-direction: column; gap: 0.1rem; max-height: 60vh; overflow-y: auto; }
.detail-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: 0.6rem 0; border-bottom: 1px solid #f1f5f9;
}
.detail-row span { color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; }
.detail-row b { color: var(--color-primary); font-size: 0.88rem; text-align: right; }
.detail-block { padding: 0.8rem 0; border-bottom: 1px solid #f1f5f9; }
.detail-block span { display: block; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.35rem; }
.detail-block p {
    font-size: 0.9rem; color: var(--text-main); line-height: 1.55;
    background: #f8fafc; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 0.75rem 0.85rem;
}
.muted-action { color: var(--text-muted); font-size: 0.8rem; }

.role-badge {
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.role-admin { background: #1e3a8a; color: #fff; }
.role-user { background: #f1f5f9; color: var(--text-muted); }

.admin-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.admin-empty i { width: 40px; height: 40px; color: #cbd5e1; margin-bottom: 0.5rem; }

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}
.modal-overlay.show { display: flex; }
.modal-box {
    width: 100%;
    max-width: 460px;
    padding: 2rem;
    background: #fff;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.modal-content h3 { font-size: 1.3rem; color: var(--color-primary); }
.modal-sub { color: var(--text-muted); font-size: 0.88rem; margin: 0.4rem 0 1.25rem; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.modal-actions .btn { flex: 1; }
.field-hint { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 5px; }
.alert-error-box {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}
.alert-error-box.show { display: block; }

/* ---- Client request detail (schedule / price / note) ---- */
.request-detail {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    color: var(--text-main);
}
.request-detail div { display: flex; align-items: center; gap: 0.5rem; }
.request-detail i { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.request-detail .note-reject { color: #dc2626; }
.request-detail .note-reject i { color: #dc2626; }
.pay-hint { margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-muted); }
.pay-hint.paid { color: #047857; font-weight: 600; }

/* --- Payment summary box (client request card) --- */
.pay-box {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}
.pay-box-rows { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.pay-box-rows > div { display: flex; flex-direction: column; }
.pay-box-rows span { font-size: 0.72rem; color: var(--text-muted); }
.pay-box-rows b { font-size: 0.95rem; color: var(--text-main); }
.pay-box-rows .paid-amt { color: #047857; }
.pay-box-rows .due-amt { color: var(--color-accent-hover); }
.pay-progress {
    height: 6px; background: rgba(0,0,0,0.06); border-radius: 3px;
    margin: 0.75rem 0 0.25rem; overflow: hidden;
}
.pay-progress-fill { height: 100%; background: #10b981; border-radius: 3px; transition: width 0.3s ease; }

/* --- Payment recap (modal) --- */
.pay-recap {
    display: flex; flex-direction: column; gap: 0.35rem;
    background: #f8fafc; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 0.75rem 1rem; margin-bottom: 1rem;
}
.pay-recap > div { display: flex; justify-content: space-between; font-size: 0.85rem; }
.pay-recap span { color: var(--text-muted); }
.pay-recap b { color: var(--text-main); }

/* --- Method selection cards --- */
.pay-methods { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.pay-method {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; border: 2px solid var(--border-color);
    border-radius: var(--radius-sm); cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-method:hover { border-color: #c7d2fe; }
.pay-method.active { border-color: var(--color-primary); background: #eff6ff; }
.pay-method-radio {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--border-color); flex-shrink: 0;
    position: relative; transition: border-color 0.15s ease;
}
.pay-method.active .pay-method-radio { border-color: var(--color-primary); }
.pay-method.active .pay-method-radio::after {
    content: ""; position: absolute; inset: 3px;
    border-radius: 50%; background: var(--color-primary);
}
.pay-method-info { display: flex; flex-direction: column; flex: 1; }
.pay-method-info b { font-size: 0.92rem; color: var(--text-main); }
.pay-method-info small { font-size: 0.75rem; color: var(--text-muted); }
.pay-method-amt { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* --- DP amount field --- */
.dp-field { margin-bottom: 1rem; }
.dp-field > label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-main); }
.dp-input-wrap {
    display: flex; align-items: center; gap: 0.35rem;
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    padding: 0.55rem 0.8rem; background: #fff;
}
.dp-input-wrap span { color: var(--text-muted); font-weight: 600; }
.dp-input-wrap input {
    border: none; outline: none; width: 100%; font-size: 1rem;
    font-family: var(--font-body); color: var(--text-main); background: transparent;
}
.dp-range { width: 100%; margin-top: 0.7rem; accent-color: var(--color-primary); cursor: pointer; }
.dp-hint { font-size: 0.78rem; color: var(--color-accent-hover); margin: 0.4rem 0 0; }

/* --- Admin table payment labels --- */
/* --- Send transfer proof via WhatsApp (payment modal) --- */
.pay-proof {
    display: flex; align-items: center; gap: 0.75rem;
    margin-top: 1rem; padding: 0.8rem 1rem;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm); text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.pay-proof:hover { background: #dcfce7; border-color: #86efac; }
.pay-proof-icon {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
    background: #25d366; color: #fff; display: grid; place-items: center;
}
.pay-proof-text { display: flex; flex-direction: column; flex: 1; }
.pay-proof-text b { font-size: 0.88rem; color: #128c4a; }
.pay-proof-text small { font-size: 0.75rem; color: var(--text-muted); }
.pay-proof-arrow { width: 18px; height: 18px; color: #16a34a; flex-shrink: 0; }

.pay-lunas { display: block; font-size: 0.7rem; color: #047857; font-weight: 700; margin-top: 2px; }
.pay-partial { display: block; font-size: 0.7rem; color: var(--color-accent-hover); font-weight: 600; margin-top: 2px; }
.pay-pending-hint { display: block; font-size: 0.68rem; color: #b45309; font-weight: 600; margin-top: 3px; }

@media (max-width: 900px) {
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .admin-stats { grid-template-columns: 1fr; }
    .admin-container { padding: 0 1rem; }
}

/* ==========================================================================
   Payment modal + bank card + toast
   ========================================================================== */
.pay-modal-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; }
.pay-modal-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--color-primary); color: #fff;
    display: grid; place-items: center; flex-shrink: 0;
}
.pay-modal-icon i { width: 22px; height: 22px; }

.pay-total {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8fafc; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 1.1rem;
}
.pay-total span { color: var(--text-muted); font-size: 0.88rem; }
.pay-total b { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-primary); }

.bank-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: var(--radius-md); padding: 1.3rem; color: #fff;
    position: relative; overflow: hidden;
}
.bank-card::after {
    content: ""; position: absolute; right: -30px; top: -30px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
}
.bank-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.bank-name-label { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.5px; }
.bank-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.bank-number { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; position: relative; z-index: 1; }
.bank-number span { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; letter-spacing: 2px; }
.bank-copy {
    background: rgba(255,255,255,0.18); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
    display: grid; place-items: center; transition: background 0.2s; flex-shrink: 0;
}
.bank-copy:hover { background: rgba(255,255,255,0.32); }
.bank-copy i { width: 16px; height: 16px; }
.bank-holder { margin-top: 0.7rem; font-size: 0.85rem; color: #dbeafe; position: relative; z-index: 1; }

.pay-note { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); margin: 1rem 0 0; }
.pay-note i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

.toast {
    position: fixed; top: 88px; right: 24px; z-index: 2000;
    display: flex; align-items: center; gap: 0.6rem;
    background: #fff; border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-primary);
    border-radius: 12px; padding: 0.85rem 1.1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    font-size: 0.9rem; font-weight: 500; color: var(--text-main);
    transform: translateX(140%); opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease; max-width: 340px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-primary); }
.toast-success { border-left-color: #16a34a; }
.toast-success .toast-icon { color: #16a34a; }
.toast-error { border-left-color: #dc2626; }
.toast-error .toast-icon { color: #dc2626; }

@media (max-width: 520px) {
    .toast { left: 16px; right: 16px; max-width: none; }
}

/* ==========================================================================
   Session Notes (client dashboard)
   ========================================================================== */
.session-notes {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: #eff6ff;
    border-radius: var(--radius-sm);
    border: 1px solid #bfdbfe;
}
.session-notes-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.session-notes-header svg { width: 15px; height: 15px; flex-shrink: 0; }
.notes-count {
    margin-left: auto;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
}
.notes-timeline { display: flex; flex-direction: column; gap: 0.5rem; }
.note-entry {
    background: #fff;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 6px 6px 0;
    padding: 0.65rem 0.85rem;
}
.note-date {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.note-entry p { font-size: 0.85rem; color: var(--text-main); margin: 0; }
.notes-empty-text { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* --- Session logbook (client dashboard) --- */
.log-entry {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    border: 1px solid #dbeafe;
}
.log-time { margin-left: auto; font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* Mentor session card */
.log-session { border-left: 3px solid var(--color-primary); border-radius: 0 8px 8px 0; }
.log-session-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.log-session-no {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    flex-shrink: 0;
}
.log-session-topic { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); }
.log-session-body { font-size: 0.85rem; color: var(--text-main); margin: 0; white-space: pre-line; }
.log-nextstep {
    margin-top: 0.65rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 0.55rem 0.75rem;
}
.log-nextstep-title {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; font-weight: 700; color: var(--color-accent-hover);
    margin-bottom: 0.35rem;
}
.log-nextstep-title svg { width: 14px; height: 14px; }
.log-nextstep ul { margin: 0; padding-left: 1.1rem; }
.log-nextstep li { font-size: 0.82rem; color: var(--text-main); margin-bottom: 0.15rem; }

/* Client question bubble */
.log-question { border-left: 3px solid var(--color-accent); border-radius: 0 8px 8px 0; background: #fff7ed; }
.log-q-head {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; font-weight: 700; color: var(--color-accent-hover);
    margin-bottom: 0.3rem;
}
.log-q-head svg { width: 14px; height: 14px; }
.log-question p { font-size: 0.85rem; color: var(--text-main); margin: 0; }

/* Client questions stand out in the admin notes list */
.admin-note-item.note-from-client { border-left-color: var(--color-accent); background: #fff7ed; }
.admin-note-item.note-from-client .admin-note-num { color: var(--color-accent); }
.admin-note-topic { font-size: 0.8rem; font-weight: 700; color: var(--color-primary); }
.admin-note-next {
    margin-top: 0.5rem; background: #fff7ed; border: 1px solid #fed7aa;
    border-radius: 6px; padding: 0.45rem 0.7rem;
}
.admin-note-next b { font-size: 0.75rem; color: var(--color-accent-hover); }
.admin-note-next ul { margin: 0.25rem 0 0; padding-left: 1.1rem; }
.admin-note-next li { font-size: 0.8rem; color: var(--text-main); }

/* Dedicated "Sesi Bimbingan" modal */
.session-notes-scroll {
    max-height: 45vh; overflow-y: auto;
    margin-bottom: 1rem; padding-right: 2px;
}
.session-add {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem; margin-bottom: 0.5rem;
}
.session-add-title {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.9rem; font-weight: 700; color: var(--color-primary);
    margin-bottom: 0.6rem;
}

/* Structured session compose form (admin modal) */
.note-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.note-form .note-input {
    width: 100%; box-sizing: border-box;
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem; font-family: var(--font-body); font-size: 0.85rem;
    resize: vertical; outline: none;
}
.note-form .note-input:focus { border-color: var(--color-primary); }
.note-form button { width: 100%; margin-top: 0.15rem; }

/* ==========================================================================
   Review Form (client dashboard — Completed)
   ========================================================================== */
.review-section {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fffbeb;
    border-radius: var(--radius-sm);
    border: 1px solid #fde68a;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.75rem;
}
.review-header svg { width: 15px; height: 15px; }
.star-rating { display: flex; gap: 0.2rem; margin-bottom: 0.75rem; }
.star {
    font-size: 1.7rem;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.12s ease;
    line-height: 1;
    user-select: none;
}
.star.active { color: #f59e0b; }
.review-section textarea {
    width: 100%;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    resize: vertical;
    box-sizing: border-box;
    background: #fff;
    outline: none;
}
.review-section textarea:focus { border-color: #f59e0b; }

/* Review done state */
.review-done {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: #f0fdf4;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
}
.review-done-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 0.4rem;
}
.review-done-header svg { width: 15px; height: 15px; }
.review-stars { margin-left: auto; font-size: 0.95rem; color: #f59e0b; letter-spacing: 1px; }
.review-comment { font-size: 0.875rem; color: var(--text-main); font-style: italic; margin: 0; }

/* ==========================================================================
   Admin modal — session notes
   ========================================================================== */
.admin-notes-list { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.5rem; }
.admin-note-item {
    background: #f8fafc;
    border-left: 3px solid var(--color-primary);
    padding: 0.6rem 0.85rem;
    border-radius: 0 6px 6px 0;
}
.admin-note-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.25rem;
}
.admin-note-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
}
.admin-note-date { font-size: 0.72rem; color: var(--text-muted); }
.admin-note-item p { font-size: 0.85rem; color: var(--text-main); margin: 0; }
.add-note-area {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.6rem;
    align-items: flex-start;
}
.add-note-area textarea {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    resize: vertical;
    outline: none;
}

/* ==========================================================================
   IoT Long Range Communications Section
   ========================================================================== */

.iot-comm-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 55%, #0f172a 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.iot-comm-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(124,58,237,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(249,115,22,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(2,132,199,0.10) 0%, transparent 50%);
    pointer-events: none;
}

/* animated grid dots background */
.iot-comm-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.iot-comm-header {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem;
}
.iot-comm-supertag {
    display: inline-block;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.35);
    color: #fb923c;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.iot-comm-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.iot-comm-header h2 .gradient-text { color: #38bdf8; }
.iot-comm-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.iot-comm-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.iot-cb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}
.iot-cb i { width: 14px; height: 14px; }

/* Grid */
.iot-comm-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    align-items: start;
}

/* Tech Card */
.iot-tech-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.iot-tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.iot-tech-featured {
    border-color: rgba(249,115,22,0.45);
    background: rgba(249,115,22,0.05);
    transform: scale(1.02);
}
.iot-tech-featured:hover {
    transform: scale(1.02) translateY(-6px);
    border-color: rgba(249,115,22,0.65);
}
.iot-tech-featured-badge {
    position: absolute;
    top: 0; left: 0; right: 0;
    text-align: center;
    background: linear-gradient(90deg, #f97316, #fb923c);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0;
}

/* Card Header */
.iot-tech-header {
    padding: 1.4rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}
.iot-lora    { background: linear-gradient(135deg, rgba(2,132,199,0.3), rgba(30,58,138,0.5)); }
.iot-nbiot   { background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(30,58,138,0.5)); margin-top: 28px; }
.iot-ltecat1 { background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(30,58,138,0.5)); }

.iot-tech-icon-wrap {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    display: grid; place-items: center;
    color: white;
}
.iot-tech-icon-wrap i { width: 24px; height: 24px; }

.iot-tech-title-block { flex: 1; }
.iot-tech-proto {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}
.iot-tech-header h3 {
    font-size: 1rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
}
.iot-tech-range-badge {
    align-self: flex-start;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    white-space: nowrap;
}
.iot-tech-range-badge strong { color: #38bdf8; }

/* Card Body */
.iot-tech-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}
.iot-tech-block h4 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.65rem;
}
.iot-tech-block h4 i { width: 13px; height: 13px; }
.iot-tech-block ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.iot-tech-block ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.4;
}
.iot-tech-block ul li i {
    width: 14px; height: 14px;
    flex-shrink: 0;
    color: #38bdf8;
}
/* checkmark icons are green */
.iot-tech-block ul li i[data-lucide="check"] { color: #4ade80; }

/* Card Footer */
.iot-tech-footer {
    padding: 1.1rem 1.5rem 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.iot-tech-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.iot-tech-tags span {
    padding: 0.18rem 0.55rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-heading);
}

/* Small accent button */
.btn-sm-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.22s ease;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    white-space: nowrap;
    text-decoration: none;
}
.btn-sm-accent:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}
.iot-tech-featured .iot-tech-footer .btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Proof Bar */
.iot-comm-proof {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    flex-wrap: wrap;
}
.iot-proof-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.78);
    font-weight: 500;
}
.iot-proof-item i { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }
.iot-proof-divider {
    width: 1px; height: 28px;
    background: rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 1000px) {
    .iot-comm-grid { grid-template-columns: 1fr; max-width: 520px; }
    .iot-tech-featured { transform: scale(1); }
    .iot-tech-featured:hover { transform: translateY(-6px); }
    .iot-tech-nbiot { margin-top: 0; }
    .iot-comm-header h2 { font-size: 2rem; }
}
@media (max-width: 640px) {
    .iot-comm-section { padding: 4rem 1.25rem; }
    .iot-comm-header h2 { font-size: 1.65rem; }
    .iot-comm-proof { flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
    .iot-proof-divider { width: 60px; height: 1px; }
    .iot-tech-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Portfolio Page
   ========================================================================== */

/* Hero */
.pf-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    padding: 8rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(124,58,237,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.pf-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.pf-hero-tag {
    display: inline-block;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.35);
    color: #fb923c;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.pf-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.pf-hero-title .gradient-text {
    color: #fb923c;
}
.pf-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.pf-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2.5rem;
}
.pf-stat { text-align: center; }
.pf-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.pf-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}
.pf-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.18);
}

/* Filter */
.pf-filter-section {
    padding: 2.5rem 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.pf-filter-bar {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}
.pf-filter-btn {
    padding: 0.55rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    background: white;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.22s ease;
}
.pf-filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #eff6ff;
}
.pf-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Grid */
.pf-grid-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

/* Card */
.pf-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    animation: pf-fadeInUp 0.4s ease both;
}
.pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -8px rgba(30,58,138,0.14);
    border-color: #bfdbfe;
}

/* Card Visual Header */
.pf-card-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.pf-visual-blue   { background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%); }
.pf-visual-purple { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); }
.pf-visual-orange { background: linear-gradient(135deg, #7c2d12 0%, #f97316 100%); }
.pf-visual-red    { background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%); }
.pf-visual-green  { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }
.pf-visual-teal   { background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%); }
.pf-visual-indigo { background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%); }
.pf-visual-dark   { background: linear-gradient(135deg, #1c1917 0%, #44403c 100%); }

/* Real image inside card visual */
.pf-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}
.pf-card:hover .pf-card-img { transform: scale(1.06); }

/* Dark gradient overlay on top of the image */
.pf-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.55) 100%
    );
}

/* Category badge pinned to bottom-left of visual */
.pf-visual-bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
}
.pf-visual-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.28);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}
.pf-visual-cat-badge i { width: 12px; height: 12px; }

/* Card Body */
.pf-card-body { padding: 1.5rem 1.5rem 0.75rem; flex: 1; }
.pf-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.pf-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 0.65rem;
}
.pf-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.pf-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.pf-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-main);
}
.pf-card-features li i {
    width: 15px; height: 15px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 1px;
}
.pf-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Tags */
.pf-tag {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* Badges */
.pf-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}
.pf-badge-blue   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.pf-badge-purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.pf-badge-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.pf-badge-red    { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.pf-badge-green  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.pf-badge-teal   { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.pf-badge-indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.pf-badge-outline{ background: #f8fafc; color: var(--text-muted); border: 1px solid var(--border-color); }

/* Card Footer */
.pf-card-footer {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}
.pf-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap 0.2s ease;
}
.pf-detail-link i { width: 15px; height: 15px; transition: transform 0.2s ease; }
.pf-card:hover .pf-detail-link { gap: 0.6rem; }
.pf-card:hover .pf-detail-link i { transform: translateX(3px); }

/* CTA Inline (bottom of grid) */
.pf-cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border: none;
    color: white;
}
.pf-cta-inline-text h3 { color: white; font-size: 1.25rem; margin-bottom: 0.35rem; }
.pf-cta-inline-text p { color: rgba(255,255,255,0.72); font-size: 0.9rem; max-width: 500px; }
.pf-cta-inline-actions { display: flex; gap: 1rem; flex-shrink: 0; }
.pf-cta-inline .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
    background: transparent;
}
.pf-cta-inline .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
}

/* Modal image header */
.pf-modal-img-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pf-modal-img-header img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.pf-modal-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5) 100%);
}

/* Modal */
.pf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.65);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
}
.pf-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.pf-modal {
    width: 100%;
    max-width: 700px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    background: white;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.28s ease;
}
.pf-modal-overlay.active .pf-modal { transform: translateY(0); }

.pf-modal-close {
    position: sticky;
    top: 1rem;
    float: right;
    margin: 1rem 1rem 0 0;
    z-index: 10;
    width: 34px; height: 34px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: grid; place-items: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.pf-modal-close:hover { background: #fee2e2; border-color: #fecaca; color: #b91c1c; }
.pf-modal-close i { width: 16px; height: 16px; }

.pf-modal-visual {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.5rem;
    border-radius: var(--radius-md);
    margin-top: -30px;
}
.pf-modal-content { padding: 1.25rem 1.75rem 2rem; }
.pf-modal-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pf-modal-content h2 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.pf-modal-lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
}

.pf-modal-section { margin-bottom: 1.5rem; }
.pf-modal-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pf-modal-section h4 i { width: 16px; height: 16px; }

.pf-modal-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.pf-modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--text-main);
    line-height: 1.55;
}
.pf-modal-list li > i {
    width: 16px; height: 16px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.pf-modal-arch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.pf-arch-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
}
.pf-arch-item strong { display: block; color: var(--text-main); font-size: 0.85rem; }
.pf-arch-item small { color: var(--text-muted); }
.pf-arch-icon {
    width: 38px; height: 38px;
    background: #eff6ff;
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--color-primary);
    flex-shrink: 0;
}
.pf-arch-icon i { width: 18px; height: 18px; }
.pf-arch-arrow { width: 16px; height: 16px; color: var(--text-muted); }

.pf-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pf-benefit {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--text-main);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
}
.pf-benefit i { width: 16px; height: 16px; color: #16a34a; flex-shrink: 0; }

.pf-modal-specs {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pf-spec-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border-color);
}
.pf-spec-row:last-child { border-bottom: none; }
.pf-spec-row span:first-child {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 130px;
    flex-shrink: 0;
}
.pf-spec-row span:last-child { color: var(--text-main); }

.pf-modal-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Animation */
@keyframes pf-fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Portfolio Responsive */
@media (max-width: 1100px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-hero-title { font-size: 2.2rem; }
    .pf-hero-stats { gap: 1.25rem; padding: 1rem 1.5rem; }
    .pf-cta-inline { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
    .pf-cta-inline-actions { justify-content: center; }
    .pf-modal-content { padding: 1rem 1.25rem 1.5rem; }
    .pf-modal-arch { flex-direction: column; align-items: flex-start; }
    .pf-arch-arrow { transform: rotate(90deg); align-self: center; }
}
@media (max-width: 600px) {
    .pf-hero { padding: 7rem 1.25rem 4rem; }
    .pf-hero-title { font-size: 1.85rem; }
    .pf-hero-stats { flex-direction: column; gap: 0.75rem; }
    .pf-stat-divider { width: 60px; height: 1px; }
    .pf-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .pf-grid-section { padding: 2rem 1.25rem 3rem; }
    .pf-modal { border-radius: var(--radius-md); }
    .pf-modal-img-header { height: 150px; }
}
.add-note-area textarea:focus { border-color: var(--color-primary); }

/* ── Testimoni Page ─────────────────────────────────── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.testi-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.testi-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}
.testi-quote {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.testi-footer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}
.testi-av-blue   { background: linear-gradient(135deg,#1e3a8a,#2563eb); }
.testi-av-purple { background: linear-gradient(135deg,#4c1d95,#7c3aed); }
.testi-av-orange { background: linear-gradient(135deg,#7c2d12,#f97316); }
.testi-av-teal   { background: linear-gradient(135deg,#0c4a6e,#0891b2); }
.testi-av-indigo { background: linear-gradient(135deg,#1e1b4b,#4338ca); }
.testi-av-green  { background: linear-gradient(135deg,#14532d,#16a34a); }
.testi-av-red    { background: linear-gradient(135deg,#7f1d1d,#dc2626); }
.testi-info h4   { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin: 0 0 2px; }
.testi-info p    { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 4px; }
.testi-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--primary-soft, rgba(37,99,235,0.1));
    color: var(--primary);
}
@media (max-width: 1024px) { .testi-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; padding: 0 1rem 2rem; } }

/* ── IoT Section Redesign ───────────────────────────── */
.iot-section {
    padding: 5rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.iot-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.iot-section-header h2 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.iot-section-header p  { color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* Card row */
.iot-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Individual card */
.iotc-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    background: var(--card-bg, rgba(255,255,255,0.06));
    border: 1px solid var(--border);
}
.iotc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.18);
}
.iotc-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 8px 32px rgba(37,99,235,0.15);
}
.iotc-popular-badge {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: linear-gradient(90deg,#f97316,#fb923c);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 0;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Glow overlay */
.iotc-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.iotc-card:hover .iotc-glow { opacity: 1; }
.iotc-glow-lora  { background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.18), transparent 70%); }
.iotc-glow-nbiot { background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.22), transparent 70%); }
.iotc-glow-lte   { background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,0.18), transparent 70%); }

/* Inner content */
.iotc-inner {
    position: relative;
    z-index: 1;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}
.iotc-featured .iotc-inner { padding-top: 2.75rem; }

/* Icon */
.iotc-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    transition: transform 0.25s;
}
.iotc-icon-wrap svg { width: 32px; height: 32px; color: #fff; }
.iotc-card:hover .iotc-icon-wrap { transform: scale(1.1); }
.iotc-icon-lora  { background: linear-gradient(135deg,#0c4a6e,#0ea5e9); box-shadow: 0 8px 24px rgba(14,165,233,0.35); }
.iotc-icon-nbiot { background: linear-gradient(135deg,#1e1b4b,#6366f1); box-shadow: 0 8px 24px rgba(99,102,241,0.35); }
.iotc-icon-lte   { background: linear-gradient(135deg,#7c2d12,#f97316); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }

.iotc-proto { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; }
.iotc-title { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }

/* Metric */
.iotc-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    width: 100%;
}
.iotc-metric-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.iotc-metric-val { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* Tags */
.iotc-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
.iotc-tags span {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 9px;
    color: var(--text-secondary);
}

/* CTA */
.iotc-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    transition: background 0.2s, color 0.2s;
    margin-top: 0.25rem;
    width: 100%;
    justify-content: center;
}
.iotc-cta:hover { background: var(--primary); color: #fff; }
.iotc-cta-primary { background: var(--primary); color: #fff; }
.iotc-cta-primary:hover { background: var(--primary-dark, #1d4ed8); }

/* ── IoT Modals ─────────────────────────────────────── */
.iot-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.iot-modal-overlay.active { display: flex; }

.iot-modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    animation: pf-fadeInUp 0.3s ease;
}
.iot-modal-close {
    position: sticky;
    top: 0.75rem;
    float: right;
    margin: 0.75rem 0.75rem 0 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    z-index: 2;
}
.iot-modal-close:hover { background: rgba(255,255,255,0.18); }
.iot-modal-close svg { width: 16px; height: 16px; }

/* Modal hero header */
.iot-modal-hero {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: #fff;
}
.iot-mhero-lora  { background: linear-gradient(135deg,#0c4a6e 0%,#0284c7 100%); }
.iot-mhero-nbiot { background: linear-gradient(135deg,#1e1b4b 0%,#4338ca 100%); }
.iot-mhero-lte   { background: linear-gradient(135deg,#7c2d12 0%,#ea580c 100%); }

.iot-modal-hero-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.iot-modal-hero-icon svg { width: 30px; height: 30px; color: #fff; }
.iot-modal-hero h2 { font-size: 1.4rem; font-weight: 700; margin: 0.2rem 0; }
.iot-modal-proto  { font-size: 0.78rem; opacity: 0.8; }
.iot-modal-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.iot-modal-badges span {
    font-size: 0.7rem; font-weight: 600;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 3px 10px;
}

/* Modal body */
.iot-modal-body { padding: 1.5rem 2rem 2rem; }
.iot-modal-section { margin-bottom: 1.5rem; }
.iot-modal-section h4 {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.iot-modal-section h4 svg { width: 15px; height: 15px; }
.iot-modal-section p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* Project list inside modal */
.iot-modal-projects { display: flex; flex-direction: column; gap: 0.85rem; }
.iot-proj-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
.iot-proj-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.iot-proj-icon svg { width: 18px; height: 18px; color: #fff; }
.iot-proj-item strong { display: block; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 2px; }
.iot-proj-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.iot-modal-tags-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

@media (max-width: 900px) {
    .iot-card-row { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}
@media (max-width: 600px) {
    .iot-section { padding: 3.5rem 1.25rem 2rem; }
    .iot-modal-hero { flex-direction: column; align-items: flex-start; }
    .iot-modal-body { padding: 1.25rem; }
    .iot-card-row { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════
   IoT Section — Visual Overhaul v2
   (overrides previous iotc-* rules above)
   ══════════════════════════════════════════════════════ */

/* ── Section background ──────────────────────────────── */
.iot-section {
    max-width: unset !important;
    padding: 5.5rem 2rem 4.5rem !important;
    background: linear-gradient(180deg, #060d1b 0%, #0a1628 50%, #060d1b 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}
/* dot-grid texture */
.iot-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(148,163,184,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
/* ambient blobs */
.iot-section::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(14,165,233,0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 60%, rgba(249,115,22,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 20%, rgba(99,102,241,0.10) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ── Header text on dark ─────────────────────────────── */
.iot-section .iot-section-header { position: relative; z-index: 1; }
.iot-section .iot-section-header h2 { color: #fff !important; font-size: 2.4rem !important; }
.iot-section .iot-section-header p  { color: rgba(255,255,255,0.5) !important; }
.iot-section .iot-section-header p strong { color: #a5f3fc !important; }
.iot-section .pf-hero-tag { background: rgba(99,102,241,0.18) !important; color: #a5b4fc !important; border: 1px solid rgba(99,102,241,0.3) !important; }

/* ── Card row ────────────────────────────────────────── */
.iot-card-row {
    max-width: 1080px !important;
    margin-inline: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ── Base card ───────────────────────────────────────── */
.iotc-card {
    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.35s, border-color 0.35s !important;
    position: relative !important;
}
.iotc-card:hover {
    transform: translateY(-10px) scale(1.015) !important;
}
.iotc-inner {
    gap: 1rem !important;
    padding: 2.25rem 2rem 2rem !important;
    position: relative; z-index: 1;
}
.iotc-featured .iotc-inner { padding-top: 3rem !important; }

/* ── Per-tech card backgrounds ───────────────────────── */
.iotc-lora {
    background: linear-gradient(155deg, #0c2d4a 0%, #081929 55%, #060d1b 100%) !important;
}
.iotc-lora:hover {
    border-color: rgba(14,165,233,0.45) !important;
    box-shadow: 0 30px 70px rgba(14,165,233,0.18), 0 0 0 1px rgba(14,165,233,0.2) !important;
}
.iotc-nbiot {
    background: linear-gradient(155deg, #16134a 0%, #0d0d30 55%, #060d1b 100%) !important;
    border-color: rgba(99,102,241,0.35) !important;
    box-shadow: 0 0 0 1px rgba(99,102,241,0.2) !important;
}
.iotc-nbiot:hover {
    border-color: rgba(99,102,241,0.65) !important;
    box-shadow: 0 30px 70px rgba(99,102,241,0.22), 0 0 0 1px rgba(99,102,241,0.3) !important;
}
.iotc-lte {
    background: linear-gradient(155deg, #3d1408 0%, #1c0a04 55%, #060d1b 100%) !important;
}
.iotc-lte:hover {
    border-color: rgba(249,115,22,0.45) !important;
    box-shadow: 0 30px 70px rgba(249,115,22,0.16), 0 0 0 1px rgba(249,115,22,0.2) !important;
}

/* ── Popular badge ───────────────────────────────────── */
.iotc-popular-badge {
    background: linear-gradient(90deg, #ea580c, #f97316) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 7px 0 !important;
}

/* ── Icon ────────────────────────────────────────────── */
.iotc-icon-wrap {
    width: 84px !important;
    height: 84px !important;
    border-radius: 22px !important;
    margin-bottom: 0.75rem !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}
.iotc-card:hover .iotc-icon-wrap { transform: scale(1.08) rotate(-3deg) !important; }
.iotc-icon-wrap svg { width: 38px !important; height: 38px !important; }

.iotc-icon-lora {
    background: linear-gradient(135deg, #0369a1, #38bdf8) !important;
    box-shadow: 0 0 0 10px rgba(14,165,233,0.1), 0 12px 36px rgba(14,165,233,0.45) !important;
}
.iotc-icon-nbiot {
    background: linear-gradient(135deg, #3730a3, #818cf8) !important;
    box-shadow: 0 0 0 10px rgba(99,102,241,0.12), 0 12px 36px rgba(99,102,241,0.45) !important;
}
.iotc-icon-lte {
    background: linear-gradient(135deg, #c2410c, #fb923c) !important;
    box-shadow: 0 0 0 10px rgba(249,115,22,0.1), 0 12px 36px rgba(249,115,22,0.45) !important;
}

/* ── Text ────────────────────────────────────────────── */
.iotc-proto { color: rgba(255,255,255,0.38) !important; font-size: 0.75rem !important; letter-spacing: 0.8px !important; }
.iotc-title { color: #fff !important; font-size: 1.25rem !important; line-height: 1.35 !important; }

/* ── Metric ──────────────────────────────────────────── */
.iotc-metric {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    padding: 0.6rem 1.5rem !important;
}
.iotc-metric-lbl { color: rgba(255,255,255,0.35) !important; font-size: 0.65rem !important; letter-spacing: 1px !important; }
.iotc-lora  .iotc-metric-val { color: #38bdf8 !important; font-size: 1.25rem !important; }
.iotc-nbiot .iotc-metric-val { color: #a5b4fc !important; font-size: 1.25rem !important; }
.iotc-lte   .iotc-metric-val { color: #fb923c !important; font-size: 1.25rem !important; }

/* ── Tags ────────────────────────────────────────────── */
.iotc-tags span {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
}

/* ── CTA Button ──────────────────────────────────────── */
.iotc-cta {
    margin-top: 0.5rem !important;
    border-radius: 10px !important;
    font-size: 0.83rem !important;
    color: rgba(255,255,255,0.65) !important;
    border-color: rgba(255,255,255,0.15) !important;
    background: transparent !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}
.iotc-lora  .iotc-cta:hover { background: rgba(14,165,233,0.18) !important; color: #38bdf8 !important; border-color: rgba(14,165,233,0.4) !important; }
.iotc-nbiot .iotc-cta { background: rgba(99,102,241,0.25) !important; color: #c7d2fe !important; border-color: rgba(99,102,241,0.4) !important; }
.iotc-nbiot .iotc-cta:hover { background: rgba(99,102,241,0.45) !important; color: #fff !important; }
.iotc-lte   .iotc-cta:hover { background: rgba(249,115,22,0.18) !important; color: #fb923c !important; border-color: rgba(249,115,22,0.4) !important; }

/* ── Glow override ───────────────────────────────────── */
.iotc-glow { display: none !important; }

/* ── Proof bar on dark section ───────────────────────── */
.iot-section .iot-comm-proof {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 1.25rem 2rem !important;
}
.iot-section .iot-proof-item { color: rgba(255,255,255,0.55) !important; }
.iot-section .iot-proof-item i { color: rgba(255,255,255,0.35) !important; }
.iot-section .iot-proof-divider { background: rgba(255,255,255,0.08) !important; }

/* responsive */
@media (max-width: 768px) {
    .iot-section .iot-section-header h2 { font-size: 1.9rem !important; }
}

/* ── Portfolio Search ───────────────────────────────── */
.pf-search-wrap {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.pf-search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.pf-search-icon {
    position: absolute;
    left: 1rem;
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.pf-search-input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 2.75rem;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--card-bg, rgba(255,255,255,0.7));
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(8px);
}
.pf-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.pf-search-input::placeholder { color: var(--text-muted); }

.pf-search-clear {
    position: absolute;
    right: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.2s;
}
.pf-search-clear:hover { background: rgba(0,0,0,0.15); }
.pf-search-clear svg { width: 13px; height: 13px; }

/* Status row */
.pf-search-status {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    width: 100%;
}
.pf-ss-found {
    display: flex; align-items: center; gap: 0.45rem;
    color: #16a34a;
    background: rgba(22,163,74,0.08);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(22,163,74,0.2);
    font-size: 0.83rem;
    width: 100%;
}
.pf-ss-found svg { width: 15px; height: 15px; flex-shrink: 0; }
.pf-ss-empty {
    display: flex; align-items: center; gap: 0.45rem;
    color: #dc2626;
    background: rgba(220,38,38,0.07);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(220,38,38,0.18);
    font-size: 0.83rem;
    width: 100%;
}
.pf-ss-empty svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Quick keyword chips */
.pf-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.pf-chip {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--primary-soft, rgba(37,99,235,0.08));
    color: var(--primary);
    border: 1px solid rgba(37,99,235,0.2);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, transform 0.15s;
    user-select: none;
}
.pf-chip:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .pf-search-wrap { padding: 0; }
    .pf-search-input { font-size: 0.85rem; }
}

/* ── Mode Bimbingan Toggle ──────────────────────────── */
.mode-toggle-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
.mode-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: left;
    font-family: inherit;
    color: var(--text-secondary);
}
.mode-btn svg {
    width: 22px; height: 22px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.2s;
}
.mode-btn span { display: flex; flex-direction: column; gap: 1px; }
.mode-btn strong { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.mode-btn small  { font-size: 0.72rem; color: var(--text-muted); }
.mode-btn:hover  { border-color: var(--primary); background: rgba(37,99,235,0.04); }

.mode-btn.mode-active {
    border-color: var(--primary);
    background: rgba(37,99,235,0.08);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.mode-btn.mode-active svg   { color: var(--primary); }
.mode-btn.mode-active strong { color: var(--primary); }

.mode-note {
    display: none;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(37,99,235,0.06);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}
.mode-note svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--primary); }

@media (max-width: 480px) {
    .mode-toggle-wrap { grid-template-columns: 1fr; }
}

/* ── Mode badges (Online / Offline) ────────────────── */
.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    vertical-align: middle;
}
.mode-badge svg { width: 11px; height: 11px; }
.mode-online  { background: rgba(37,99,235,0.12); color: #2563eb; border: 1px solid rgba(37,99,235,0.25); }
.mode-offline { background: rgba(22,163,74,0.12);  color: #16a34a;  border: 1px solid rgba(22,163,74,0.25); }

/* ==========================================================================
   Floating WhatsApp button (chat mentor 24 jam)
   ========================================================================== */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-direction: row-reverse;
}
.wa-float-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: wa-pulse 2.4s infinite;
}
.wa-float:hover .wa-float-icon {
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.6);
}
.wa-float-label {
    background: #fff;
    color: var(--text-main);
    font-size: 0.82rem;
    line-height: 1.25;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    max-width: 190px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.wa-float-label b { color: #128c4a; display: block; }
.wa-float:hover .wa-float-label {
    opacity: 1;
    transform: translateX(0);
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
    .wa-float { right: 16px; bottom: 16px; }
    .wa-float-icon { width: 52px; height: 52px; }
    .wa-float-label { display: none; }
}
