/* ==========================================================================
   DEVSTER MEDIA — HIGH-END CREATIVE STUDIO DESIGN SYSTEM
   Inspired by Phenomenon Studio's editorial aesthetic, typography, & precision.
   100% self-contained, lightning-fast, zero external dependency conflicts.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-dark: #080d11;
    --bg-surface: #0d141b;
    --bg-card: #121a22;
    --bg-card-hover: #16212c;
    --orange: #FF5C00;
    --orange-bright: #FF7A00;
    --orange-glow: rgba(255, 92, 0, 0.25);
    --cyan: #00d2ff;
    --blue: #0066FF;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-orange: rgba(255, 92, 0, 0.5);
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --radius-capsule: 48px;
    --radius-card: 20px;
    --radius-sm: 12px;
}

/* Base Resets & Global Typography */
html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    font-weight: 700;
}

.font-mono {
    font-family: var(--font-mono);
}

/* Ambient Studio Glows */
.studio-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

/* Studio Pills / Badges */
.studio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.studio-pill-orange {
    background: rgba(255, 92, 0, 0.12);
    border-color: rgba(255, 92, 0, 0.35);
    color: var(--orange-bright);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--orange);
    box-shadow: 0 0 10px var(--orange);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Studio Action Buttons */
.studio-btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 92, 0, 0.35);
    border: none;
    cursor: pointer;
}

.studio-btn-orange:hover {
    background: var(--orange-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 92, 0, 0.5);
    color: #ffffff;
}

.studio-btn-orange i, .studio-btn-orange svg {
    transition: transform 0.25s ease;
}

.studio-btn-orange:hover i, .studio-btn-orange:hover svg {
    transform: translateX(3px);
}

.studio-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.studio-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Circular Studio Action Arrow */
.circle-arr-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #080d11;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    flex-shrink: 0;
}

.circle-arr-btn:hover {
    background: var(--orange);
    color: #ffffff;
    transform: scale(1.08) rotate(-45deg);
}

/* The Phenomenon 80px / 48px Capsule */
.studio-capsule {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-capsule);
    padding: 72px 48px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .studio-capsule {
        border-radius: 24px;
        padding: 40px 20px;
    }
}

/* Editorial 4-Column Case Study Cards */
.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.case-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 92, 0, 0.1);
}

.case-card .img-holder {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #06090d;
}

.case-card .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .img-holder img {
    transform: scale(1.06);
}

/* Pricing Cards */
.pricing-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pricing-card-v2:hover {
    border-color: rgba(255, 92, 0, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.pricing-card-v2.featured {
    border: 1.5px solid var(--orange);
    background: #111a22;
    box-shadow: 0 10px 40px rgba(255, 92, 0, 0.15);
}

.pricing-featured-badge {
    position: absolute;
    top: -12px;
    right: 28px;
    background: var(--orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 92, 0, 0.4);
}

/* Big Collaboration Footer Banner */
.big-collab-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 48px;
    border-radius: var(--radius-card);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.big-collab-link:hover {
    border-color: var(--orange);
    background: #101820;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.big-collab-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    transition: color 0.3s ease;
}

.big-collab-link:hover .big-collab-title {
    color: var(--orange);
}

.big-collab-arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: #080d11;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.big-collab-link:hover .big-collab-arrow {
    background: var(--orange);
    color: #ffffff;
    transform: rotate(-45deg) scale(1.1);
}

@media (max-width: 768px) {
    .big-collab-link {
        padding: 36px 24px;
    }
    .big-collab-arrow {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080d11;
}
::-webkit-scrollbar-thumb {
    background: #1b2631;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ==========================================================================
   STUDIO ALIASES & COMPATIBILITY HELPERS (ph-* & studio-*)
   ========================================================================== */
.font-display {
    font-family: var(--font-heading);
}

.text-studio-muted {
    color: var(--text-muted) !important;
}

.ph-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.ph-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.ph-pill-orange {
    background: rgba(255, 92, 0, 0.12);
    border-color: rgba(255, 92, 0, 0.35);
    color: var(--orange-bright);
}

.ph-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ph-card:hover {
    border-color: rgba(255, 92, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.ph-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 92, 0, 0.35);
    border: none;
    cursor: pointer;
}

.ph-btn-primary:hover {
    background: var(--orange-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 92, 0, 0.5);
    color: #ffffff;
}

.ph-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.ph-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

