/* 
   TOVEXA DIGITAL - Modern Premium Styling 
   Apple-Inspired Glassmorphic Design System
*/

/* --- 1. Design System & CSS Variables --- */
:root {
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Premium Color Palette (Inspired by Logo Colors) */
    --color-bg: #030303;
    --color-surface-base: #0a0a0a;
    --color-surface: rgba(18, 18, 18, 0.7);
    --color-surface-hover: rgba(30, 30, 30, 0.85);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.18);
    
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #86868b;
    --color-text-muted: #6e6e73;
    
    /* Branding Accent Colors */
    --accent-blue: #38b6ff;
    --accent-pink: #ff3399;
    --accent-purple: #9b51e0;
    --accent-green: #27ae60;
    --accent-yellow: #f2c94c;
    --accent-red: #eb5757;
    
    /* Shadows & Effects */
    --glass-blur: 20px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(56, 182, 255, 0.15);
    
    /* Layout Constants */
    --header-height: 72px;
    --container-width: 1200px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* --- 3. Fixed 3D Canvas Background --- */
#three-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0c0f16 0%, #030303 100%);
}

/* --- 4. Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(3, 3, 3, 0.5);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 60px;
    background-color: rgba(3, 3, 3, 0.85);
}

.header-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design */
.logo-link {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.05em;
}

.logo-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    color: var(--color-text-primary);
    font-weight: 300;
    margin-left: 4px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(56, 182, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(56, 182, 255, 0.4), 0 0 20px rgba(155, 81, 224, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Menu Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(var(--glass-blur));
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 80%;
    max-width: 320px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.mobile-nav-link:hover {
    color: var(--color-text-primary);
}

/* --- 5. Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--header-height) 24px 60px 24px;
    text-align: left;
}

.hero-content {
    max-width: 580px;
    z-index: 10;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.1;
}

.text-glow {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 0 40px 0;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}


/* --- 6. About Section --- */
.about-section {
    padding: 100px 24px;
    position: relative;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.section-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: clamp(14px, 2vw, 18px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--color-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(56, 182, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    background-color: var(--color-surface-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* --- 7. Bento Grid Services Section --- */
.services-section {
    padding: 100px 24px;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bento-item {
    background-color: var(--color-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    min-height: 380px;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.01);
}

.bento-large {
    grid-column: span 2;
    min-height: 480px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 32px;
}

.bento-large .bento-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 680px;
    margin: 0 auto;
}

.bento-large .bento-visual {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    height: 200px;
}


.bento-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.bento-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.bento-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.bento-text {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* Bento Visuals */
.bento-visual {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 100%;
    max-width: 320px;
    height: 200px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bento-large .bento-visual {
    height: 300px;
    width: 350px;
}

.icon-center {
    background: none;
    border: none;
    height: auto;
}

.visual-large-icon {
    font-size: 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: var(--transition-smooth);
}

.bento-item:hover .visual-large-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Talent floating avatars */
.floating-avatars {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #121212;
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent-blue);
    box-shadow: var(--shadow-md);
    position: absolute;
    animation: float-avatar 4s ease-in-out infinite alternate;
}

.avatar:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; border-color: var(--accent-blue); color: var(--accent-blue); }
.avatar:nth-child(2) { top: 60%; left: 30%; animation-delay: 0.5s; border-color: var(--accent-pink); color: var(--accent-pink); }
.avatar:nth-child(3) { top: 15%; left: 60%; animation-delay: 1s; border-color: var(--accent-purple); color: var(--accent-purple); }
.avatar:nth-child(4) { top: 55%; left: 65%; animation-delay: 1.5s; border-color: var(--accent-green); color: var(--accent-green); }

@keyframes float-avatar {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(5deg); }
}

/* Progress Bar Visual */
.progress-bar-visual {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.progress-bar-container {
    width: 100%;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.5);
    width: 0; /* Animated in JS */
}

.progress-fill.glow-green {
    background: linear-gradient(90deg, var(--accent-green), #56d88a);
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

/* Bento Reviews Slider */
.bento-reviews {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 40px;
}

.reviews-slider-container {
    position: relative;
    width: 100%;
    height: 260px;
    margin-top: 10px;
}

.review-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
    max-width: 740px;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.bento-reviews .quote-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 16px;
}

.bento-reviews .review-text {
    font-size: clamp(15px, 2.5vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.bento-reviews .reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.bento-reviews .reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.1) 0%, rgba(255, 51, 153, 0.1) 100%);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--accent-blue);
}

.bento-reviews .reviewer-info {
    text-align: left;
}

.bento-reviews .reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.bento-reviews .reviewer-rating {
    color: var(--accent-yellow);
    font-size: 11px;
    margin-top: 2px;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    position: relative;
    z-index: 5;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.review-dot.active {
    background-color: var(--accent-blue);
    width: 24px;
    border-radius: 4px;
}

/* --- 8. Showcase Section (Interactive 3D) --- */
.showcase-section {
    padding: 100px 24px;
    position: relative;
}

.showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.showcase-desc {
    color: var(--color-text-secondary);
    margin-top: 24px;
    margin-bottom: 30px;
}

.control-3d-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

/* 3D Canvas Styling */
.showcase-canvas-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    background: radial-gradient(circle at 50% 50%, rgba(18, 18, 18, 0.9) 0%, rgba(5, 5, 5, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#interactive-logo-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#interactive-logo-canvas:active {
    cursor: grabbing;
}

.canvas-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(56, 182, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.canvas-instructions {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--color-text-muted);
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 9. Contact Section --- */
.contact-section {
    padding: 100px 24px;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-subtitle {
    color: var(--color-text-secondary);
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-blue);
}

.detail-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.detail-item p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.detail-item p a:hover {
    color: var(--accent-blue);
}

/* Form Styling */
.contact-form-container {
    background-color: var(--color-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(56, 182, 255, 0.15);
}

/* Custom styling for select dropdown */
.form-group select option {
    background-color: #0c0f16;
    color: var(--color-text-primary);
}

.form-status {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.form-status.success {
    color: #27ae60;
}

.form-status.error {
    color: #eb5757;
}

/* --- 10. Footer Section --- */
.main-footer {
    background-color: #020202;
    border-top: 1px solid var(--color-border);
    padding: 80px 24px 40px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-top: 16px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-links-col a {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.footer-links-col a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 12px;
}

/* --- 11. Scroll Animations (Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 12. Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-section {
        justify-content: center;
        text-align: center;
        padding-bottom: 250px;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .showcase-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bento-large {
        min-height: auto;
    }
    
    .bento-large .bento-visual {
        height: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu, 
    .header-actions .btn {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero Section Mobile Optimization */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 220px; /* Leave space for scaled down 3D logo */
        min-height: auto;
    }
    
    .hero-title {
        font-size: 34px !important;
        line-height: 1.25 !important;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 15px !important;
        margin-bottom: 30px;
    }
    
    /* Bento Large Image/Visual Adjustments */
    .bento-large .bento-visual {
        height: 150px;
    }
    
    .avatar {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }
    
    .avatar:nth-child(1) { top: 15%; left: 15%; }
    .avatar:nth-child(2) { top: 50%; left: 25%; }
    .avatar:nth-child(3) { top: 15%; left: 60%; }
    .avatar:nth-child(4) { top: 50%; left: 70%; }
    
    /* 3D Tablet Overlay Mobile Optimization */
    .tablet-overlay {
        padding: 0;
    }
    
    .tablet-frame {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0;
        max-width: none;
        box-shadow: none;
    }
    
    .tablet-screen {
        border-radius: 0;
    }
    
    .tablet-content-area {
        padding: 16px;
    }
    
    .menu-category {
        display: none !important;
    }
}

/* =========================================================================
   13. Glassmorphic Modal & Overlay (Login)
   ========================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding: 24px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background-color: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-md);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .login-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-text-primary);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.login-header p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* =========================================================================
   14. 3D Tablet Overlay Pages (Services & About Us)
   ========================================================================= */
.tablet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 2, 4, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px; /* Crucial for 3D depth */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    padding: 24px;
}

.tablet-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* 3D Device Frame */
.tablet-frame {
    width: 95%;
    max-width: 1050px;
    height: 85vh;
    background-color: #0b0c10;
    border: 12px solid #1f2833; /* Bezel shape */
    border-radius: 36px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 182, 255, 0.1);
    overflow: hidden;
    position: relative;
    
    /* Starting tilted position */
    transform: rotateX(65deg) rotateY(0deg) rotateZ(-12deg) translateZ(-400px) scale(0.4);
    transform-style: preserve-3d;
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

/* Animate open state (Flattens and expands) */
.tablet-overlay.open .tablet-frame {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(0px) scale(1);
    opacity: 1;
}

/* Tablet Inner Screen */
.tablet-screen {
    width: 100%;
    height: 100%;
    background-color: #050508;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tablet-header {
    height: 64px;
    background-color: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.tablet-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.tablet-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.tablet-close:hover {
    color: var(--accent-pink);
    transform: scale(1.02);
}

.tablet-close i {
    font-size: 16px;
}

.tablet-content-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 50px 40px;
    scroll-behavior: smooth;
}

/* Scrollbar styling for Tablet Screen */
.tablet-content-area::-webkit-scrollbar {
    width: 8px;
}
.tablet-content-area::-webkit-scrollbar-track {
    background: transparent;
}
.tablet-content-area::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.06);
    border-radius: 4px;
}
.tablet-content-area::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,0.12);
}

/* Tablet Page Components */
.tablet-page-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.tablet-page-hero h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tablet-page-hero .lead-text {
    font-size: 16px;
    color: var(--color-text-secondary);
}

.tablet-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.detail-block {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.detail-block:hover {
    border-color: rgba(255,255,255,0.08);
    background-color: rgba(255, 255, 255, 0.04);
}

.detail-block h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-blue);
}

.detail-block p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Team section in Tablet */
.tablet-team-section {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 50px;
}

.tablet-team-section h3 {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-item {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.pillar-item:hover {
    background-color: rgba(255,255,255,0.03);
    border-color: rgba(56, 182, 255, 0.2);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 182, 255, 0.05);
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.pillar-item h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.pillar-item p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Services Accordion inside Tablet */
.tablet-services-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    background-color: rgba(255,255,255,0.04);
}

.accordion-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.accordion-header i {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: transform 0.4s ease;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    border-top: 0 solid transparent;
}

/* Accordion Active States */
.accordion-item.active {
    border-color: rgba(56, 182, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.03);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.accordion-item.active .accordion-body {
    max-height: 400px; /* arbitary large height */
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.accordion-body p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.accordion-body ul {
    margin-left: 20px;
    font-size: 13px;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* =========================================================================
   15. CRM Workstation & Management Dashboard Overlay
   ========================================================================= */
.dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #040407;
    z-index: 1400;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-overlay.open {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

/* Sidebar Layout */
.dashboard-sidebar {
    width: 260px;
    height: 100%;
    background-color: #09090d;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.05em;
    padding-left: 10px;
    margin-bottom: 40px;
}

.menu-category {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: 14px 16px 4px 16px;
    text-transform: uppercase;
    opacity: 0.6;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-menu-btn {
    width: 100%;
    background: none;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.sidebar-menu-btn i {
    font-size: 16px;
}

.sidebar-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary);
}

.sidebar-menu-btn.active {
    background-color: rgba(56, 182, 255, 0.08);
    color: var(--accent-blue);
    font-weight: 600;
}

/* Profile area */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 16px;
}

.admin-name {
    font-size: 13px;
    font-weight: 600;
}

/* Dashboard Content Area */
.dashboard-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 24px;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.dashboard-header h2 {
    font-size: 26px;
}

.server-status {
    font-size: 12px;
    color: var(--color-text-secondary);
    background-color: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.status-dot.green {
    background-color: #27ae60;
    box-shadow: 0 0 8px #27ae60;
}

.status-dot.yellow {
    background-color: #f2c94c;
    box-shadow: 0 0 8px #f2c94c;
}

/* Tabs content switcher */
.dashboard-tab-content {
    display: none;
    flex-direction: column;
    flex-grow: 1;
}

.dashboard-tab-content.active {
    display: flex;
}

/* Overview Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(56, 182, 255, 0.06);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card:nth-child(2) .stat-icon {
    background-color: rgba(155, 81, 224, 0.06);
    color: var(--accent-purple);
}

.stat-card:nth-child(3) .stat-icon {
    background-color: rgba(39, 174, 96, 0.06);
    color: var(--accent-green);
}

.stat-card:nth-child(4) .stat-icon {
    background-color: rgba(255, 51, 153, 0.06);
    color: var(--accent-pink);
}

.stat-details h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
}

/* Overview Grid details */
.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.overview-grid .glass-card {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
}

.overview-grid h3 {
    font-size: 16px;
    margin-bottom: 24px;
}

/* Mock chart bar styling */
.mock-chart-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-bar-row {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.chart-bar-row span {
    color: var(--color-text-secondary);
}

.chart-bar-row span:last-child {
    font-weight: 600;
    text-align: right;
    color: var(--color-text-primary);
}

.chart-bar-track {
    height: 10px;
    background-color: rgba(255,255,255,0.04);
    border-radius: 6px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
}

#bar-creative { background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); }
#bar-outsourcing { background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple)); }
#bar-payroll { background: linear-gradient(90deg, var(--accent-green), #56d88a); }
#bar-operations { background: linear-gradient(90deg, var(--accent-yellow), #fcd15b); }

/* Activity logs list */
.activity-logs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-logs li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 13px;
}

.log-time {
    color: var(--color-text-muted);
    font-weight: 500;
    width: 80px;
    flex-shrink: 0;
}

.log-text {
    color: var(--color-text-secondary);
}

/* CRM Table Styling */
.crm-table-container {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    flex-grow: 1;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

#crm-search {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--color-text-primary);
    outline: none;
    width: 300px;
}

#crm-search:focus {
    border-color: var(--accent-blue);
    background-color: rgba(255,255,255,0.05);
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.crm-table th {
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 16px;
}

.crm-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--color-text-secondary);
}

.crm-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
    color: var(--color-text-primary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-new {
    background-color: rgba(56, 182, 255, 0.1);
    color: var(--accent-blue);
}

.badge-contact {
    background-color: rgba(155, 81, 224, 0.1);
    color: var(--accent-purple);
}

.badge-closed {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--accent-green);
}

.badge-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

/* CRM Table action buttons */
.crm-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    background-color: rgba(255,255,255,0.08);
    color: var(--color-text-primary);
}

.btn-icon.btn-delete:hover {
    background-color: rgba(235, 87, 87, 0.1);
    color: var(--accent-red);
    border-color: rgba(235, 87, 87, 0.2);
}

/* Roster subtitles */
.tab-subtitle {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: -16px;
    margin-bottom: 24px;
}

.talent-roster-container {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    flex-grow: 1;
}

/* =========================================================================
   16. Responsive adjustments for sub-pages & Dashboard
   ========================================================================= */
@media (max-width: 991px) {
    .tablet-details-grid {
        grid-template-columns: 1fr;
    }
    .pillars-container {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-overlay {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 20px;
    }
    .sidebar-brand {
        margin-bottom: 15px;
    }
    .sidebar-menu {
        flex-direction: row;
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .sidebar-menu-btn {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    .admin-profile, .sidebar-footer {
        display: none;
    }
    .dashboard-content {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .table-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    #crm-search {
        width: 100%;
    }
    .crm-table {
        display: block;
        overflow-x: auto;
    }
}

/* =========================================================================
   17. Services Tab Layout & Split Panel Design
   ========================================================================= */
.tablet-services-tabs-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    min-height: 500px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.services-tabs-nav {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.services-tab-nav-btn {
    width: 100%;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.services-tab-nav-btn i {
    font-size: 16px;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.services-tab-nav-btn:hover {
    border-color: rgba(255,255,255,0.1);
    color: var(--color-text-primary);
    background-color: rgba(255,255,255,0.03);
}

.services-tab-nav-btn.active {
    border-color: rgba(56, 182, 255, 0.3);
    color: var(--accent-blue);
    background-color: rgba(56, 182, 255, 0.06);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(56, 182, 255, 0.05);
}

.services-tab-nav-btn.active i {
    color: var(--accent-blue);
}

/* Right Side Panels */
.services-tabs-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.services-tab-panel {
    display: none;
    flex-direction: column;
    gap: 30px;
    animation: fadeEffect 0.5s ease-out;
}

.services-tab-panel.active {
    display: flex;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header with illustration */
.panel-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 30px;
}

.svg-container {
    width: 140px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
}

.header-text h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.section-lead {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Body layout */
.panel-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.panel-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.services-sub-block {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 30px;
}

.services-sub-block h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-blue);
}

.desc-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Bullet lists */
.bullet-list-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    list-style: none;
}

.bullet-list-2col li {
    font-size: 13px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-list-2col li i {
    color: var(--accent-blue);
    font-size: 11px;
}

/* Side features */
.services-features-deck {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-features-deck.no-margin {
    margin: 0;
}

.card-feature {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition-smooth);
}

.card-feature:hover {
    border-color: rgba(255,255,255,0.08);
    background-color: rgba(255,255,255,0.03);
}

.card-feature h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.card-feature p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.card-usp {
    border-left: 3px solid var(--accent-pink);
    border-color: rgba(255, 51, 153, 0.4);
    background-color: rgba(255, 51, 153, 0.02);
}

.usp-icon {
    font-weight: 700;
    font-size: 11px;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Bottom grid blocks */
.services-bottom-section {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 30px;
}

.sub-section-title {
    margin-bottom: 24px;
}

.sub-section-title h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--accent-pink);
}

.sub-section-title p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.grid-4-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card-block {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.card-block:hover {
    background-color: rgba(255,255,255,0.03);
    border-color: rgba(56, 182, 255, 0.2);
}

.card-block i {
    font-size: 24px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.card-block p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Vertical Stack for text blocks */
.services-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 30px;
}

.service-details-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-text-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--accent-blue);
}

.detail-text-col p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.grid-2-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid-2-blocks-stacked {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box-card {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 12px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-card i {
    color: var(--accent-pink);
    font-size: 14px;
}

.card-sub-sector {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 30px;
}

.card-sub-sector h4 {
    font-size: 16px;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.list-bullet-block h4 {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.list-bullet-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-bullet-block li {
    font-size: 13px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-bullet-block li i {
    color: var(--accent-green);
    font-size: 12px;
}

/* =========================================================================
   18. Animated SVG illustrations & human vector animations
   ========================================================================= */
.animated-service-svg {
    width: 100%;
    height: auto;
    max-height: 100px;
}

/* Human Dev Typing animation */
.human-dev .human-left-arm {
    transform-origin: 100px 140px;
    animation: type-arm-left 0.3s steps(2) infinite;
}
.human-dev .human-right-arm {
    transform-origin: 140px 140px;
    animation: type-arm-right 0.25s steps(2) infinite;
}
.human-dev {
    transform-origin: 120px 165px;
    animation: float-human 3s ease-in-out infinite;
}
.tag-shopify {
    animation: float-tag-shopify 4s ease-in-out infinite;
}

/* Human Analyst pointing */
.human-analyst .human-pointer-arm {
    transform-origin: 148px 140px;
    animation: point-arm 2.5s ease-in-out infinite;
}
.human-analyst {
    transform-origin: 137px 165px;
    animation: float-human 3.2s ease-in-out infinite;
}
.anim-chart-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 4s ease-in-out infinite alternate;
}
.anim-chart-node {
    animation: pulse-node 2s ease-in-out infinite;
}

/* Human Creator painting */
.human-creator .human-brush-arm {
    transform-origin: 145px 140px;
    animation: brush-wave 2.2s ease-in-out infinite;
}
.human-creator {
    transform-origin: 157px 165px;
    animation: float-human 2.8s ease-in-out infinite;
}
.anim-magnet {
    transform-origin: 75px 65px;
    animation: magnet-pulse 3s ease-in-out infinite;
}
.anim-magnet-node {
    animation: node-drift 4s ease-in-out infinite;
}
.anim-magnet-node-2 {
    animation: node-drift-reverse 4.5s ease-in-out infinite;
}
.anim-magnet-node-3 {
    animation: node-drift 5s ease-in-out infinite;
}

/* Human Social holding phone */
.human-social .human-phone-arm {
    transform-origin: 152px 138px;
    animation: phone-shake 1.5s ease-in-out infinite;
}
.human-social {
    transform-origin: 167px 165px;
    animation: float-human 3.1s ease-in-out infinite;
}
.anim-horn {
    transform-origin: 50px 90px;
    animation: horn-vibrate 1s ease-in-out infinite;
}
.anim-wave-1 {
    animation: wave-spread 2s linear infinite;
}
.anim-wave-2 {
    animation: wave-spread 2s linear infinite 0.5s;
}
.social-heart {
    transform-origin: 125px 50px;
    animation: bubble-float 3.5s ease-in-out infinite;
}
.social-bubble {
    transform-origin: 155px 92px;
    animation: bubble-float-reverse 4s ease-in-out infinite;
}

/* Human Ad buyer click target */
.human-ad-buyer .human-dart-arm {
    transform-origin: 136px 138px;
    animation: dart-move 3s ease-in-out infinite;
}
.human-ad-buyer {
    transform-origin: 147px 165px;
    animation: float-human 2.9s ease-in-out infinite;
}
.anim-target-ring {
    animation: target-ring-glow 2s ease-in-out infinite;
}
.float-pct {
    animation: float-tag-shopify 4.5s ease-in-out infinite;
}

/* Keyframes implementations */
@keyframes type-arm-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-8deg) translateY(-1px); }
}
@keyframes type-arm-right {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(8deg) translateY(1px); }
}
@keyframes float-human {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes float-tag-shopify {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes point-arm {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-10deg); }
}
@keyframes draw-line {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}
@keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 2px var(--accent-pink)); }
    50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px var(--accent-pink)); }
}
@keyframes brush-wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}
@keyframes magnet-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05) rotate(-2deg); }
}
@keyframes node-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -4px); }
}
@keyframes node-drift-reverse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -6px); }
}
@keyframes phone-shake {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-5deg) translateY(-2px); }
}
@keyframes horn-vibrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.03) rotate(-2deg); }
    40% { transform: scale(0.97) rotate(2deg); }
    60% { transform: scale(1.02) rotate(-1deg); }
    80% { transform: scale(0.98) rotate(1deg); }
}
@keyframes wave-spread {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
@keyframes bubble-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-8px) scale(1.05); opacity: 1; }
}
@keyframes bubble-float-reverse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-6px) scale(0.95); opacity: 1; }
}
@keyframes dart-move {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, -6px); }
}
@keyframes target-ring-glow {
    0%, 100% { opacity: 0.6; stroke-width: 6px; }
    50% { opacity: 1; stroke-width: 8px; }
}

/* Tablet responsiveness additions */
@media (max-width: 850px) {
    .tablet-services-tabs-container {
        flex-direction: column;
    }
    .services-tabs-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .services-tab-nav-btn {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 13px;
    }
    .panel-header {
        flex-direction: column;
        text-align: center;
    }
    .panel-grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-4-blocks {
        grid-template-columns: 1fr 1fr;
    }
    .service-details-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================================
   19. About Us Page Layout & Components
   ========================================================================= */
.about-paragraphs-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-why-section {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 50px;
    margin-top: 50px;
}

.why-choose-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card-feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-feature-header i {
    font-size: 18px;
}

.card-inner-bullets {
    margin-top: 12px;
    margin-left: 20px;
    font-size: 12px;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Accreditation Portfolio Layout */
.about-accreditation-section {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 50px;
    margin-top: 50px;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.accreditation-card {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
    transition: var(--transition-smooth);
}

.accreditation-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ISO Certificate Badge Look */
.cert-border {
    border: 2px solid rgba(212, 175, 55, 0.3); /* Gold tint */
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    position: relative;
    background-color: rgba(0,0,0,0.2);
}

.cert-gold-seal {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background-color: #d4af37;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.cert-content h5 {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.cert-content h4 {
    font-size: 16px;
    color: #d4af37; /* gold */
    font-weight: 700;
    margin-bottom: 2px;
}

.cert-content p {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.cert-scope {
    font-size: 9px;
    color: var(--color-text-muted);
    display: block;
    margin-top: 10px;
}

/* MSME Badge Look */
.msme-badge h5 {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.msme-badge h4 {
    font-size: 20px;
    color: var(--accent-blue);
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

.msme-badge p {
    font-size: 10px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.national-emblem-concept {
    font-size: 24px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Google Partner Badge Look */
.google-partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gp-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.gp-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-g-blue { background-color: #4285f4; }
.dot-g-red { background-color: #ea4335; }
.dot-g-yellow { background-color: #fbbc05; }
.dot-g-green { background-color: #34a853; }

.google-partner-badge h4 {
    font-size: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.gp-label {
    font-size: 11px;
    color: #34a853; /* Google Green */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* =========================================================================
   20. Leadership Team Section & Profile Slots
   ========================================================================= */
.about-team-section {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 50px;
}

.team-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background-color: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.team-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.team-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--color-text-muted);
    font-size: 32px;
    position: relative;
}

.team-avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    overflow: visible; /* so badge can overlay */
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.card-status-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 600;
    color: var(--color-text-secondary);
    z-index: 2;
}

.card-status-badge.active-badge {
    background-color: rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
    color: var(--accent-green);
}

.team-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.role-sub {
    font-size: 12px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 12px;
}

.profile-placeholder-text {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* CTO Highlighted Card */
.team-cto-card {
    border: 1px solid rgba(56, 182, 255, 0.15);
    background-color: rgba(56, 182, 255, 0.01);
}

.team-cto-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 12px 36px rgba(56, 182, 255, 0.1);
}

.team-cto-card .team-avatar-placeholder {
    background-color: rgba(56, 182, 255, 0.03);
    border: 1px dashed rgba(56, 182, 255, 0.3);
    color: var(--accent-blue);
}

.team-cto-card .cto-badge {
    background-color: rgba(56, 182, 255, 0.15);
    border-color: rgba(56, 182, 255, 0.3);
    color: var(--accent-blue);
}

/* SVG Animations for About Page graphics */
.anim-about-device {
    transform-origin: 100px 90px;
    animation: device-swivel 6s ease-in-out infinite;
}

.anim-paper-plane {
    animation: plane-fly 4s ease-in-out infinite;
}

@keyframes device-swivel {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-2px); }
}

@keyframes plane-fly {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, -4px); }
}

/* Mobile responsive fixes */
@media (max-width: 850px) {
    .why-choose-cards-grid {
        grid-template-columns: 1fr;
    }
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
    .team-slots-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   18. CRM Client Project & Task Tracker Styles
   ========================================================================= */
.project-card {
    position: relative;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-card-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.project-card-header p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.project-delete-btn {
    background: none;
    border: none;
    color: var(--accent-pink);
    cursor: pointer;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 4px;
}

.project-delete-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Credentials Bar */
.project-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px 12px;
}

.project-credentials span {
    color: var(--color-text-secondary);
}

.project-credentials strong {
    color: var(--accent-blue);
    font-weight: 500;
}

/* Dynamic Progress Bar */
.project-progress-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
}

.project-progress-pct {
    color: var(--accent-green);
}

.project-progress-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.project-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Task Checkbox List */
.project-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom Scrollbar for Tasks */
.project-tasks-list::-webkit-scrollbar {
    width: 4px;
}
.project-tasks-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}
.project-tasks-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.task-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 6px;
    padding: 6px 10px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.task-item-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.task-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.task-item-left input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--accent-green);
    width: 14px;
    height: 14px;
}

.task-title {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.task-item-row.completed .task-title {
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.task-delete-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 11px;
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 2px 4px;
}

.task-delete-btn:hover {
    opacity: 1;
    color: var(--accent-pink);
}

/* Add Task Inline Form */
.add-task-inline-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.add-task-inline-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    transition: border-color 0.2s ease;
}

.add-task-inline-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.add-task-inline-btn {
    background: rgba(56, 182, 255, 0.1);
    border: 1px solid rgba(56, 182, 255, 0.2);
    border-radius: 6px;
    color: var(--accent-blue);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.add-task-inline-btn:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* =========================================================================
   19. Public Changelog Timeline Styles
   ========================================================================= */
.changelog-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    margin-top: 24px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-pink) 50%, var(--accent-purple) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #050508;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: background-color 0.3s ease;
}

.timeline-item:hover::after {
    background-color: var(--accent-blue);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    white-space: pre-line; /* Support line breaks in updates */
}

/* =========================================================================
   20. YouTube Community Post Card Styles
   ========================================================================= */
.community-post-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.community-post-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.3);
}

.post-meta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-author {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.post-verified {
    color: var(--accent-blue);
    font-size: 12px;
}

.post-time {
    font-size: 12px;
    color: var(--color-text-muted);
}

.post-content {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 13px;
}

.post-action-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 6px 12px;
    border-radius: 20px;
}

.post-action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Adjust timeline cards to follow community post style */
.timeline-card.community-style {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}
