/* Dashboard Switcher Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .card-tab {
    background: var(--card-glass);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  }
  
  .card-tab::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.35s ease;
  }
  
  .card-tab:hover:not(.disabled) {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .card-tab.active {
    border-color: var(--accent);
    box-shadow: 0 12px 35px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .card-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
  }
  
  .card-tab h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
  }
  
  .card-tab.disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  
  .badge-soon {
    font-size: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--text-muted);
    margin-left: 4px;
  }
  
  /* Glass Terminal (Input Box) */
  .glass-terminal {
    background: var(--card-glass);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  }
  
  .input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    margin-bottom: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
  }
  
  .input-group input {
    width: 100%;
    padding: 16px 125px 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 14px;
  }
  
  .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  .input-actions {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .btn-clear {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(248, 113, 113, 0.2);
    color: #fca5a5;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-paste {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .btn-paste:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  .btn-primary {
    width: 100%;
    padding: 16px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-1px);
  }
  
  .status-box {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
  }
  
  .status-box.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
  }
  
  .status-box.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
  }
  
  /* === HORIZONTAL SPLIT CARD (PORTRAIT VIDEO + INFO) === */
  .result-split-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px;
  }
  
  .split-left {
    width: 100%;
  }
  
  .video-portrait-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  
  .video-portrait-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .split-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .success-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
  }
  
  .success-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
  }
  
  .video-meta-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .meta-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .metric-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .metric-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  
  .metric-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }
  
  .action-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
  }
  
  .btn-save {
    padding: 15px;
    font-size: 14px;
    letter-spacing: 0.2px;
  }
  
  .btn-secondary {
    padding: 14px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  
  .trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
  }
  
  /* Alert Box Format Codec */
  .codec-alert-box {
    display: flex;
    gap: 12px;
    background: rgba(255, 87, 34, 0.08);
    border: 1px dashed rgba(255, 87, 34, 0.4);
    border-radius: 14px;
    padding: 14px 18px;
    margin-top: 6px;
  }
  
  .alert-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .alert-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
  }
  
  .alert-text strong {
    color: var(--text-main);
    font-weight: 600;
  }
  
  /* Origami Controls */
  .btn-guide {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: 0.25s;
  }
  
  .btn-guide:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .origami-fold {
    background-color: var(--bg-fold);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transform-origin: center;
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease;
  }
  
  .origami-fold.open {
    max-height: 400px;
    opacity: 1;
    transform: scaleY(1);
    padding: 20px 24px;
    margin-top: 18px;
  }
  
  .origami-fold h5 {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .origami-fold ol, .origami-fold p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 18px;
  }
  
  /* Grid Fitur */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .feature-card {
    background: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 26px 22px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .feature-icon {
    font-size: 22px;
    margin-bottom: 14px;
  }
  
  .feature-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
  }
  
  /* FAQ */
  .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .faq-item {
    background: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    overflow: hidden;
  }
  
  .faq-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .faq-header h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
  }
  
  .faq-arrow {
    color: var(--text-muted);
    font-size: 12px;
  }
  
  /* Modals */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  
  .modal-window {
    background: rgba(10, 15, 28, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
  }
  
  .modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
  }
  
  .modal-body {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
  }
  
  @media (max-width: 700px) {
    .dashboard-grid {
      grid-template-columns: 1fr;
    }
    .result-split-card {
      grid-template-columns: 1fr;
    }
    .video-portrait-wrapper {
      max-height: 380px;
    }
  }