* ---- Gradient Text ---- */
.text-gradient-emerald {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Shimmer Button ---- */
.shimmer-btn {
    background: linear-gradient(110deg, #10b981 0%, #34d399 25%, #6ee7b7 50%, #34d399 75%, #10b981 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s;
    border: none;
    color: var(--ink-950);
    font-weight: 600;
    cursor: pointer;
}

.shimmer-btn:hover {
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ---- Feature Card ---- */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(15, 15, 15, 0.8));
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::after { opacity: 1; }

.feature-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 30px 60px -20px rgba(16, 185, 129, 0.15), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ---- Spotlight ---- */
.spotlight {
    position: absolute;
    pointer-events: none;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
    z-index: 1;
}

.feature-card:hover .spotlight { opacity: 1; }

/* ---- Tilt Card ---- */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.tilt-inner {
    transform: translateZ(40px);
    transform-style: preserve-3d;
}

.tilt-inner-shallow {
    transform: translateZ(20px);
}

/* ---- Glass 3D ---- */
.glass-3d {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ---- Code Badge ---- */
.code-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    color: var(--brand-400);
}

/* ---- Status Dot ---- */
.status-dot { position: relative; }
.status-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

/* ---- Orb 3D ---- */
.orb-3d {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.8), rgba(16, 185, 129, 0.3) 40%, rgba(5, 150, 105, 0.1) 70%, transparent 100%);
    filter: blur(1px);
}

/* ---- 3D Shapes ---- */
.shape-3d {
    position: absolute;
    transform-style: preserve-3d;
    pointer-events: none;
}

.cube {
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: spinSlow 20s linear infinite;
}

.cube .face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(4px);
}

.cube .front  { transform: translateZ(30px); }
.cube .back   { transform: rotateY(180deg) translateZ(30px); }
.cube .right  { transform: rotateY(90deg) translateZ(30px); }
.cube .left   { transform: rotateY(-90deg) translateZ(30px); }
.cube .top    { transform: rotateX(90deg) translateZ(30px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(30px); }

/* ---- Dashboard Glow ---- */
.dashboard-glow {
    position: relative;
    transform-style: preserve-3d;
}

.dashboard-glow::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.25), transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

/* ---- Glow Effects ---- */
.glow-emerald {
    box-shadow: 0 0 60px -12px rgba(16, 185, 129, 0.4), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.glow-emerald-strong {
    box-shadow: 0 0 100px -20px rgba(16, 185, 129, 0.6), 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

/* ---- Text 3D ---- */
.text-3d {
    text-shadow:
        0 1px 0 rgba(16, 185, 129, 0.8),
        0 2px 0 rgba(16, 185, 129, 0.7),
        0 3px 0 rgba(16, 185, 129, 0.6),
        0 4px 0 rgba(16, 185, 129, 0.5),
        0 5px 0 rgba(16, 185, 129, 0.4),
        0 6px 0 rgba(16, 185, 129, 0.3),
        0 7px 15px rgba(16, 185, 129, 0.4);
}

/* ---- FAQ ---- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-content { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s; }

/* ---- Nav Link ---- */
.nav-link-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 1px;
    background: var(--brand-500);
    transition: width 0.3s;
}

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

/* ---- Step 3D ---- */
.step-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-3d:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateZ(20px);
}

/* ---- Pricing 3D ---- */
.pricing-card-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.pricing-card-3d:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 20px 40px -10px rgba(16, 185, 129, 0.1);
}

.pricing-popular {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(16, 185, 129, 0.4);
    transform-style: preserve-3d;
}
