/* ========================================
   CYBER-BUSINESS MINIMAL THEME
   Color Palette:
     Background: #0A0A0B
     Primary:    #00F2FF (Neon Cyan)
     Secondary:  #7000FF (Electric Purple)
     Text:       #F8FAFC
   ======================================== */

:root {
    --bg-dark: #0A0A0B;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --primary: #00F2FF;
    --secondary: #7000FF;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 255, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glow-primary: 0 0 20px rgba(0, 242, 255, 0.15);
    --glow-secondary: 0 0 20px rgba(112, 0, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---- Section ---- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 100px;
    background: rgba(0, 242, 255, 0.05);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glass Card ---- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-primary);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #0A0A0B;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--glow-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text .accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 8px 20px !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #0A0A0B !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 100px;
    background: rgba(0, 242, 255, 0.05);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Hero Banner */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 242, 255, 0.15);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.banner-frame:hover .hero-banner {
    border-color: rgba(0, 242, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.12), 0 0 60px rgba(112, 0, 255, 0.08);
    transform: scale(1.02);
}

.banner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border-radius: var(--radius);
    background: radial-gradient(ellipse, rgba(112, 0, 255, 0.1) 0%, rgba(0, 242, 255, 0.05) 40%, transparent 70%);
    z-index: 1;
    animation: banner-pulse 4s ease-in-out infinite;
}

@keyframes banner-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.03); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-card {
    padding: 32px 24px;
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   BENTO GRID (Cases)
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 20px;
}

.bento-card {
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.bento-card:nth-child(1) {
    grid-column: span 2;
}

.bento-card:nth-child(5) {
    grid-column: span 2;
}

.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1), 0 0 60px rgba(112, 0, 255, 0.05);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card-image {
    flex: 1;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0.4;
    transition: var(--transition);
}

.bento-card:hover .bento-placeholder {
    opacity: 0.7;
    transform: scale(1.1);
}

.bento-card-content {
    padding: 24px;
}

.case-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.bento-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 8px 0 10px;
    line-height: 1.3;
}

.bento-card-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.bento-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.bento-card:hover .bento-link {
    letter-spacing: 0.05em;
}

/* ========================================
   CASES LIST PAGE
   ======================================== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

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

.case-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 40px;
    margin-bottom: 32px;
    align-items: center;
}

.case-row-reverse {
    direction: rtl;
}

.case-row-reverse > * {
    direction: ltr;
}

.case-image-placeholder {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0.5;
}

.case-image-placeholder.large {
    height: 360px;
}

.case-row-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 14px;
}

.case-desc {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.case-meta {
    margin-bottom: 16px;
}

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

.case-meta-item strong {
    color: var(--text);
}

.case-tech-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(0, 242, 255, 0.15);
    color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
}

/* ========================================
   CASE DETAIL PAGE
   ======================================== */
.case-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.case-detail-image {
    overflow: hidden;
    margin-bottom: 24px;
}

.case-section {
    padding: 32px;
    margin-bottom: 24px;
}

.case-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.case-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

.demo-card {
    border: 1px solid rgba(0, 242, 255, 0.3);
    text-align: center;
}

.demo-card p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    padding: 14px 32px;
}

.btn-demo svg {
    flex-shrink: 0;
}

.results-list {
    list-style: none;
}

.results-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.results-list li:last-child {
    border-bottom: none;
}

.result-icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-card {
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 16px;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sidebar-cases {
    list-style: none;
}

.sidebar-cases li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-cases li:last-child {
    border-bottom: none;
}

.sidebar-cases a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-cases a:hover {
    color: var(--primary);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-card {
    text-align: center;
    padding: 64px 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.required {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-control::placeholder {
    color: var(--text-dim);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

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

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #FF4D6A;
    margin-top: 6px;
}

.info-card {
    padding: 24px;
    margin-bottom: 16px;
}

.info-icon {
    margin-bottom: 12px;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 8px;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--text);
}

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

.info-card.highlight {
    border-color: rgba(0, 242, 255, 0.15);
    background: rgba(0, 242, 255, 0.03);
}

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    padding: 40px;
    text-align: center;
}

.login-header {
    margin-bottom: 32px;
}

.login-header h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 12px 0 8px;
}

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

.login-card .form-group {
    text-align: left;
}

.login-footer {
    margin-top: 20px;
}

.login-footer a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--primary);
}

/* Admin Dashboard */
.admin-section {
    padding: 120px 0 60px;
}

.admin-header {
    margin-bottom: 32px;
}

.admin-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-title-row h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.admin-badge {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-stats {
    display: flex;
    gap: 16px;
}

.admin-stat {
    padding: 20px 28px;
    text-align: center;
}

.admin-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.admin-stat-value.accent {
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.admin-table-wrapper {
    padding: 24px;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tr.unread {
    background: rgba(0, 242, 255, 0.02);
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table a {
    color: var(--primary);
    text-decoration: none;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.unread {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.status-badge.read {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.msg-preview {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}

.actions-cell {
    display: flex;
    gap: 6px;
    white-space: nowrap;
}

.inline-form {
    display: inline;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-mark:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-delete:hover {
    border-color: #FF4D6A;
    color: #FF4D6A;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-state h3 {
    font-family: var(--font-heading);
    margin: 16px 0 8px;
    color: var(--text-muted);
}

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash-container {
    padding-top: 100px;
}

.flash {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    animation: slide-down 0.4s ease;
}

.flash-success {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--primary);
}

.flash-danger {
    background: rgba(255, 77, 106, 0.1);
    border: 1px solid rgba(255, 77, 106, 0.2);
    color: #FF4D6A;
}

.flash-warning {
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.2);
    color: #FFC800;
}

.flash-info {
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.2);
    color: #A78BFA;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-cta {
    text-align: center;
    padding: 40px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.footer-cta p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ========================================
   ERROR PAGE
   ======================================== */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-msg {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-up {
    animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .banner-frame {
        max-width: 400px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card:nth-child(1),
    .bento-card:nth-child(5) {
        grid-column: span 1;
    }

    .case-detail-grid {
        grid-template-columns: 1fr;
    }

    .case-row {
        grid-template-columns: 1fr;
    }

    .case-row-reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 11, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 20px;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-row {
        padding: 24px;
    }

    .admin-stats {
        flex-direction: column;
    }

    .admin-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .cta-card {
        padding: 40px 20px;
    }
}
