/* ===================================================
   WEBPOT — TYPOGRAPHY & TEXT MOTION STUDIO (PREMIUM AWWWARDS EDITION)
   Interactive Text Lab: Entrance Reveals + Awwwards-Winning Live Hover Effects,
   Glass Dropdowns, Dynamic Mode Navigation, & Live CSS Export.
   File: assets/css/text-studio.css
   =================================================== */

.text-studio-section {
    position: relative;
    padding: var(--section-padding, 120px) 0;
    background: transparent;
    border-top: 1px solid var(--border, #E5E7EB);
    border-bottom: 1px solid var(--border, #E5E7EB);
    overflow: hidden;
}

/* Ambient Radial Glow */
.text-studio-ambient-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 650px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.09) 0%, rgba(56, 189, 248, 0.06) 40%, rgba(168, 85, 247, 0.03) 70%, transparent 85%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

/* Section Header */
.text-studio-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 45px auto;
    position: relative;
    z-index: 2;
}

.text-studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #4f46e5;
    font-family: 'Fira Code', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
}

.text-studio-badge .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 8px #6366f1;
    animation: studioPulse 2s infinite ease-in-out;
}

@keyframes studioPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

.text-studio-title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--text, #111111);
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.text-studio-title span {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-studio-subtitle {
    font-size: 1.08rem;
    color: var(--text-light, #64748b);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   STUDIO MAIN TWO-COLUMN GRID
   -------------------------------------------------------------------------- */
.text-studio-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   LEFT: INTERACTIVE TEXT STAGE & LIVE CANVAS
   -------------------------------------------------------------------------- */
.text-preview-card {
    position: relative;
    background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #060911 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 32px 36px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: visible;
}

/* Background Stage Grid Mesh */
.text-preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   TOP BAR: ENTRANCE BUTTON & HOVER DROPDOWN SIDE-BY-SIDE
   -------------------------------------------------------------------------- */
.preview-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 18px;
    margin-bottom: 20px;
    position: relative;
    z-index: 30;
    flex-wrap: nowrap;
    gap: 16px;
}

.preview-mode-nav-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* Nav Button Styling (Professional High-Contrast Black & White) */
.studio-nav-btn {
    padding: 9px 18px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000000;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.studio-nav-btn:hover {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-nav-btn.active {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

.studio-nav-btn.active svg {
    color: #000000 !important;
}

/* Topbar Hover Dropdown Specifics */
.studio-topbar-dropdown {
    position: relative;
}

.studio-hover-dropdown-btn {
    padding-right: 14px;
}

.studio-hover-dropdown-btn svg {
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.studio-topbar-dropdown.open .studio-hover-dropdown-btn svg {
    transform: rotate(180deg);
}

.studio-topbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
    z-index: 60;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}

.studio-topbar-dropdown.open .studio-topbar-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.studio-topbar-dropdown-menu .studio-dropdown-item {
    color: #e2e8f0;
    padding: 9px 12px;
}

.studio-topbar-dropdown-menu .studio-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
}

.studio-topbar-dropdown-menu .studio-dropdown-item.active {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.studio-topbar-dropdown-menu .item-tag {
    font-size: 0.68rem;
    font-family: 'Fira Code', monospace;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* Replay Button */
.preview-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-studio-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-studio-action:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-studio-replay {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-studio-replay:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-studio-replay:hover svg {
    color: #000000;
}

/* --------------------------------------------------------------------------
   CENTRAL PREVIEW STAGE AREA
   -------------------------------------------------------------------------- */
.preview-stage-viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 4;
}

.preview-stage-eyebrow {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.preview-stage-eyebrow .mode-indicator-tag {
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 0.7rem;
    font-weight: 700;
}

.preview-stage-main-text {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 20px;
    max-width: 820px;
    min-height: 1.4em;
    position: relative;
    user-select: none;
    cursor: default;
    transition: font-size 0.2s ease, letter-spacing 0.2s ease, transform 0.25s ease;
}

.preview-stage-caption {
    font-size: 0.95rem;
    color: #94a3b8;
    max-width: 620px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Bottom Controls (Input Field & Quick Presets) */
.preview-card-bottombar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 5;
}

.preview-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 8px 14px;
}

.preview-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
}

.preview-input-group input::placeholder {
    color: #64748b;
}

.preview-presets-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.preview-preset-chip {
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.preview-preset-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   RIGHT: CONTROLS & STYLING PALETTE SIDEBAR
   -------------------------------------------------------------------------- */
.text-studio-controls {
    background: #ffffff;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 28px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

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

.control-group-title {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-group-title span.val-label {
    font-family: 'Fira Code', monospace;
    color: #2563eb;
    font-weight: 700;
}

/* Custom Dropdown Styling */
.studio-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.studio-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.studio-dropdown-btn svg {
    color: #64748b;
    transition: transform 0.2s ease;
}

.studio-dropdown-wrapper.open .studio-dropdown-btn svg {
    transform: rotate(180deg);
}

.studio-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    z-index: 50;
    max-height: 220px;
    overflow-y: auto;
}

.studio-dropdown-wrapper.open .studio-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.studio-dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
}

.studio-dropdown-item:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}

.studio-dropdown-item.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
}

.studio-dropdowns-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* 10 Entrance Animation Chips */
.animation-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 2px;
}

.anim-chip-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-chip-btn .chip-icon {
    font-size: 0.9rem;
}

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

.anim-chip-btn.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

/* Gradient Swatches */
.swatches-palette-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.swatch-item-btn {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.swatch-item-btn:hover {
    transform: scale(1.12);
}

.swatch-item-btn.active {
    border-color: #111111;
    box-shadow: 0 0 0 2px #3b82f6;
    transform: scale(1.08);
}

/* Swatch Gradients */
.swatch-electric { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%); }
.swatch-emerald  { background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%); }
.swatch-sunset   { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%); }
.swatch-chrome   { background: linear-gradient(135deg, #ffffff 0%, #94a3b8 50%, #e2e8f0 100%); }
.swatch-vapor    { background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f43f5e 100%); }
.swatch-purewhite { background: #ffffff; border: 1px solid #cbd5e1; }

/* Sliders */
.studio-range-slider {
    width: 100%;
    accent-color: #2563eb;
    height: 5px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
}

/* Code Snippet Box */
.studio-code-box {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.studio-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #94a3b8;
}

.studio-code-snippet {
    font-family: 'Fira Code', monospace;
    font-size: 0.73rem;
    color: #38bdf8;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 85px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    padding: 8px;
    border-radius: 6px;
}

.btn-copy-code {
    align-self: flex-end;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-code:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   10 ENTRANCE REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.anim-char-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(35px) rotateX(-45deg);
    filter: blur(10px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.55s ease;
}
.anim-char-span.revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
}

.anim-scramble-active {
    font-family: 'Fira Code', monospace !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.effect-liquid-wave {
    animation: studioLiquidFloat 3.5s ease-in-out infinite alternate;
}
@keyframes studioLiquidFloat {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35)); }
    50% { transform: translateY(-4px) scale(1.015); filter: drop-shadow(0 0 24px rgba(129, 140, 248, 0.6)); }
    100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35)); }
}

.effect-blur-focus {
    animation: studioBlurFocus 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes studioBlurFocus {
    0% { opacity: 0; filter: blur(28px); transform: scale(1.18); }
    100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

.effect-shimmer-sweep {
    background-size: 250% auto !important;
    animation: studioShimmerSweep 3s linear infinite;
}
@keyframes studioShimmerSweep {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.effect-glitch-split {
    animation: studioGlitchSnap 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes studioGlitchSnap {
    0% { transform: skewX(-15deg); opacity: 0; filter: drop-shadow(4px 0 #ef4444); }
    30% { transform: skewX(12deg); opacity: 0.8; filter: drop-shadow(-4px 0 #38bdf8); }
    70% { transform: skewX(-5deg); opacity: 0.9; filter: drop-shadow(2px 0 #a855f7); }
    100% { transform: skewX(0deg); opacity: 1; filter: drop-shadow(0 0 0 transparent); }
}

.effect-rollup-3d {
    animation: studioRollup3D 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: 50% 100%;
}
@keyframes studioRollup3D {
    0% { opacity: 0; transform: perspective(800px) rotateX(85deg) translateY(40px); }
    100% { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0); }
}

.effect-spring-drop {
    animation: studioSpringDrop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes studioSpringDrop {
    0% { opacity: 0; transform: translateY(-60px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.effect-curtain-slice {
    animation: studioCurtainSlice 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes studioCurtainSlice {
    0% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transform: translateY(20px); opacity: 0; }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateY(0); opacity: 1; }
}

.effect-neon-pulse {
    animation: studioNeonPulse 2s ease-in-out infinite alternate;
}
@keyframes studioNeonPulse {
    0% { filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)) drop-shadow(0 0 16px rgba(129, 140, 248, 0.3)); }
    100% { filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 44px rgba(192, 132, 252, 0.75)); }
}

/* --------------------------------------------------------------------------
   10 AWWWARDS-WINNING LIVE HOVER INTERACTION EFFECTS
   -------------------------------------------------------------------------- */

/* 1. Dual-Text Roll (Awwwards 3D Roll-Up Swap) */
.hover-dualroll {
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-dualroll:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 10px 20px rgba(56, 189, 248, 0.4));
}

/* 2. Magnetic Spring Pull (Physics Cursor Attract) */
.hover-magnetic {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), letter-spacing 0.3s ease;
}
.hover-magnetic:hover {
    transform: scale(1.05) translateZ(30px);
    letter-spacing: 0.04em !important;
}

/* 3. Laser Neon Beam (Underline Surge) */
.hover-laser {
    position: relative;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-laser::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc, #38bdf8);
    background-size: 200% auto;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 16px #38bdf8, 0 0 32px #818cf8;
    border-radius: 4px;
    animation: studioLaserShift 2s linear infinite;
}
@keyframes studioLaserShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.hover-laser:hover {
    transform: translateY(-3px);
}
.hover-laser:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 4. Cyber Matrix Decrypt */
.hover-decrypt {
    cursor: pointer;
}

/* 5. Chromatic RGB Shift (Anaglyph Glitch) */
.hover-chromatic {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-chromatic:hover {
    text-shadow: 3.5px 0 0 rgba(239, 68, 68, 0.85), -3.5px 0 0 rgba(56, 189, 248, 0.85), 0 0 24px rgba(168, 85, 247, 0.65);
    transform: scale(1.035);
}

/* 6. 3D Kinetic Tilt (Spatial Depth) */
.hover-tilt3d {
    perspective: 900px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-tilt3d:hover {
    transform: perspective(900px) rotateX(14deg) rotateY(-10deg) translateY(-6px) scale(1.035);
}

/* 7. Neon Bloom Flash (Aura Burst) */
.hover-neonbloom {
    transition: filter 0.35s ease, transform 0.35s ease;
}
.hover-neonbloom:hover {
    filter: drop-shadow(0 0 16px #38bdf8) drop-shadow(0 0 40px #a855f7) brightness(1.3);
    transform: translateY(-4px) scale(1.025);
}

/* 8. Apple Lens Focus (Optical Shift) */
.hover-lensfocus {
    filter: blur(2px);
    opacity: 0.85;
    transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease;
}
.hover-lensfocus:hover {
    filter: blur(0px) drop-shadow(0 0 18px rgba(56, 189, 248, 0.6));
    opacity: 1;
    transform: scale(1.03);
}

/* 9. Elastic Letter Stretch (Spring Physics) */
.hover-springstretch {
    transition: letter-spacing 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-springstretch:hover {
    letter-spacing: 0.1em !important;
    transform: scale(1.045);
}

/* 10. ASCII Particle Slice (Hacker Glitch) */
.hover-asciiglitch {
    transition: all 0.2s ease;
}
.hover-asciiglitch:hover {
    animation: studioGlitchSnap 0.35s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradient Classes */
.grad-electric {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-emerald {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-sunset {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-chrome {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 30%, #94a3b8 60%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-vapor {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-purewhite {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .text-studio-layout {
        grid-template-columns: 1fr;
    }
    .text-preview-card {
        min-height: 480px;
    }
}
