/* ============================================
   DESIGN SYSTEM — Image2Prompt
   ============================================ */
:root {
    --bg-primary: #06080f;
    --bg-secondary: #0d1117;
    --bg-card: rgba(15, 20, 35, 0.7);
    --bg-card-hover: rgba(20, 28, 50, 0.85);
    --border-color: rgba(99, 115, 175, 0.15);
    --border-hover: rgba(99, 115, 175, 0.35);
    --text-primary: #e8eaf0;
    --text-secondary: #8b92a8;
    --text-muted: #555d75;
    --accent-1: #7c5cfc;
    --accent-2: #00d4ff;
    --accent-gradient: linear-gradient(135deg, #7c5cfc, #00d4ff);
    --accent-glow: rgba(124, 92, 252, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, sans-serif;
    --container: 1120px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(99, 115, 175, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 115, 175, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;

}

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

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -10%;
    left: -5%;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -10%;
    right: -5%;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(6, 8, 15, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(6, 8, 15, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
}

.logo-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ext-btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(124, 92, 252, 0.3);
}

.ext-btn i {
    font-size: 1.1rem;
}

.ext-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .ext-btn span {
        display: none;
    }

    .ext-btn {
        padding: 8px 10px;
    }
}

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

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow);
}

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

.btn-generate {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.btn-generate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.25);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.text-accent {
    background: linear-gradient(135deg, #7c5cfc, #00d4ff, #7c5cfc);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: flowGradient 4s linear infinite;
}

.txt-rotate {
    background: linear-gradient(135deg, #7c5cfc, #00d4ff, #ff00c8, #00f2fe, #7c5cfc);
    background-size: 300% auto;
    animation: flowGradient 6s linear infinite, colorShift 12s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    min-width: 220px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@keyframes colorShift {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.hero-badge-small {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    vertical-align: middle;
}

.txt-rotate.changing {
    opacity: 0;
    transform: translateY(10px);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

/* ============================================
   STUDIO INTERFACE
   ============================================ */
.studio-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 10;
}

.studio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: rgba(18, 22, 33, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.studio-panel {
    display: flex;
    flex-direction: column;
    height: 480px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.4s ease;
}

.studio-panel:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(124, 92, 252, 0.2);
}

.panel-header {
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.panel-badge {
    width: 28px;
    height: 28px;
    background: var(--accent-1);
    color: #fff;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-body {
    flex: 1;
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

.panel-footer {
    padding: 20px 24px 24px;
    background: rgba(10, 12, 18, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

/* ============================================
   HERO BACKGROUND — MIDNIGHT PROFESSIONAL (Comfort)
   ============================================ */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #020408;
    /* Ultra deep dark */
}

.bg-aurora-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Single Soft Atmosphere Glow */
.bg-glow-1 {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.12), transparent 70%);
    filter: blur(150px);
    border-radius: 50%;
    animation: breathing-glow 10s infinite ease-in-out;
}

@keyframes breathing-glow {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Subtle Fixed Grid */
.bg-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
    z-index: 1;
    opacity: 0.5;
}

/* Image Upload Area */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover,
.upload-zone.drag-over {
    background: rgba(124, 92, 252, 0.05);
    border-color: var(--accent-1);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.upload-text {
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* Preview */
.upload-preview {
    position: relative;
    height: 220px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upload-preview:hover img {
    transform: scale(1.02);
}

.btn-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 100%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #ff4757;
    transform: scale(1.1);
}

.btn-studio {
    width: 100%;
    margin-top: 0;
    height: 56px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Result Area */
.result-placeholder {
    text-align: center;
    opacity: 0.6;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.result-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn-result-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-result-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-result-action i {
    font-size: 1rem;
    color: var(--accent-2);
}

.btn-result-action:active {
    transform: scale(0.95);
}

.result-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.result-prompt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin: 0;
    height: 100%;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.02);
    font-family: 'Inter', sans-serif;
}

.result-footer-studio {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent-1), transparent);
    box-shadow: 0 0 20px var(--accent-1);
    z-index: 20;
    animation: scanEffect 3s infinite linear;
}

@keyframes scanEffect {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}


/* Trust Bar (Keep existing) */

@media (max-width: 992px) {
    .studio-container {
        flex-direction: column;
        align-items: center;
    }

    .studio-panel {
        width: 100%;
        max-width: 600px;
        min-height: auto;
    }

    .f-1,
    .f-2 {
        display: none;
    }
}

.tag-platform {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(124, 92, 252, 0.2);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-number {
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 4px;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   TOOLS GRID (Optimized)
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tool-card {
    position: relative;
    padding: 0;
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
}

.tool-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(124, 92, 252, 0.08),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.tool-card:hover .tool-glow {
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 252, 0.3);
    background: rgba(18, 22, 33, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.tool-content {
    position: relative;
    z-index: 2;
    padding: 40px 32px;
    width: 100%;
}

.tool-icon {
    width: 56px;
    height: 56px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-2);
    margin-bottom: 24px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 10px 20px rgba(124, 92, 252, 0.3);
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.tool-footer {
    display: flex;
    align-items: center;
}

.tool-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.tool-link i {
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-link i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   CATEGORIES SECTION (Optimized)
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.category-card {
    position: relative;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* ============================================
   EXAMPLES SECTION (Case Studies)
   ============================================ */
.examples-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.example-card {
    display: grid;
    grid-template-columns: 500px 1fr;
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.example-image-box {
    position: relative;
    overflow: hidden;
}

.example-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.example-label {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.example-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, rgba(124, 92, 252, 0.02), transparent);
}

.example-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.example-category,
.example-ai {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 8px;
}

.example-category {
    background: var(--accent-1);
    color: #fff;
}

.example-ai {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
}

.example-prompt-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.example-prompt-box::before {
    content: "GENERATED PROMPT";
    position: absolute;
    top: -12px;
    left: 24px;
    background: #020408;
    color: var(--accent-1);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    border: 1px solid rgba(124, 92, 252, 0.2);
}

.example-prompt-box p {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.95;
    font-style: italic;
}

.copy-btn-sm {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-btn-sm:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 92, 252, 0.2);
}

/* Hover State */
.example-card:hover {
    border-color: rgba(124, 92, 252, 0.3);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: rgba(22, 28, 45, 0.6);
}

.example-card:hover .example-img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .example-card {
        grid-template-columns: 1fr;
    }

    .example-image-box {
        height: 350px;
    }

    .example-content {
        padding: 40px;
    }
}

/* ============================================
   STEPS SECTION (How It Works)
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.05;
    color: #fff;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(124, 92, 252, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-1);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 92, 252, 0.4);
    background: rgba(22, 28, 45, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-card:hover .step-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.step-card:hover .step-number {
    opacity: 0.15;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 32px 24px;
    }
}

.how-to-img {
    display: block;
    max-width: 1000px;
    width: 80%;
    margin: 48px auto 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 252, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.blog-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 22, 33, 0.8), transparent);
    z-index: 1;
}

.blog-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(255, 255, 255, 0.5);
}

.blog-body {
    padding: 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--accent-2);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.blog-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link {
    color: var(--accent-2);
}

.blog-card:hover .blog-link i {
    transform: translateX(5px);
}

/* Blog Card Icon (over gradient image) */
.blog-card-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-card-icon {
    transform: scale(1.15) rotate(-5deg);
    color: rgba(255, 255, 255, 0.6);
}

/* Category Badge */
.blog-category-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   FOOTER (Simple & Real)
   ============================================ */
.footer {
    background: #020408;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

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

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--accent-1);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.4s ease;
    backdrop-filter: blur(12px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

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

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(6, 8, 15, 0.97);
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }

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

    .nav-links a {
        padding: 14px 24px;
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .tools-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-bar {
        flex-direction: column;
        gap: 12px;
    }

    .trust-divider {
        width: 40px;
        height: 1px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    section {
        padding: 64px 0;
    }

    section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card {
        aspect-ratio: 1/1;
    }

    .upload-zone {
        padding: 32px 20px;
    }
}

.pulse-accent {
    animation: buttonPulse 2s infinite !important;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(124, 92, 252, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 92, 252, 0);
    }
}

/* ============================================
   EDITOR PAGE SPECIFIC STYLES
   ============================================ */
.editor-page {
    padding-bottom: 100px;
}

.hero-badge-alt {
    padding: 6px 14px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: 100px;
    color: var(--accent-1);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
}

/* Scrollable Category Panel */
.category-scroll {
    overflow-y: auto;
    max-height: 100%;
}

.modifier-group {
    margin-bottom: 32px;
}

.modifier-group h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

/* Tag Cloud System */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prompt-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.prompt-tag:hover {
    background: rgba(124, 92, 252, 0.1);
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: translateY(-2px);
}

.prompt-tag.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(124, 92, 252, 0.3);
}

/* Textarea Editor */
.prompt-textarea {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    resize: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.prompt-textarea:focus {
    border-color: rgba(124, 92, 252, 0.4);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(124, 92, 252, 0.05);
}

/* Parameters Row */
.editor-footer-params {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.param-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.param-item label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.param-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.param-select:hover {
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.05);
}

.param-select option {
    background: #06090f;
    color: #fff;
}

/* Tools Summary Custom Styles */
.tools-summary {
    background: rgba(124, 92, 252, 0.03);
    border: 1px solid rgba(124, 92, 252, 0.1);
    border-radius: 20px;
    padding: 32px 40px;
    margin-top: 60px !important;
}

.tools-summary .section-desc {
    max-width: 900px;
    line-height: 1.8;
    color: var(--text-primary);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .tools-summary {
        padding: 24px;
        margin-top: 40px !important;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.faq-item {
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.faq-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.4;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--accent-1);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: rgba(124, 92, 252, 0.3);
    background: rgba(22, 28, 45, 0.6);
}

.faq-body {
    padding: 0 24px 24px;
    display: none;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Always-Visible Cards */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.faq-wrapper .faq-item {
    padding: 28px 32px;
    margin-bottom: 0;
}

.faq-wrapper .faq-item:hover {
    border-color: rgba(124, 92, 252, 0.25);
    transform: translateY(-2px);
}

.faq-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-card-title::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: rgba(124, 92, 252, 0.15);
    border: 1px solid rgba(124, 92, 252, 0.3);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-1);
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-card-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    padding-left: 38px;
}

@media (max-width: 768px) {
    .faq-wrapper .faq-item {
        padding: 24px 20px;
    }

    .faq-card-title {
        font-size: 1rem;
    }

    .faq-card-answer {
        padding-left: 0;
    }
}

/* ============================================
   CONTENT PAGES (Privacy / Terms)
   ============================================ */
.glass-panel {
    background: rgba(18, 22, 33, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.content-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.content-wrapper p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   HEADER DROPDOWN (Simplified)
   ============================================ */
.has-dropdown {
    position: relative;
}

.dropdown-trigger i {
    font-size: 0.7rem;
    vertical-align: middle;
}

.header-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 10px;
    display: none;
    z-index: 1000;
    margin-top: 5px;
    background: #0e111a;
    /* Solid Navbar Color */
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.has-dropdown:hover .header-dropdown {
    display: block;
}

.dropdown-container {
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    background: transparent;
}

.dropdown-item:hover {
    background: #1a1f2e;
}

.dd-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    font-size: 1rem;
}

.dd-content {
    display: flex;
    flex-direction: column;
}

.dd-content strong {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.dd-content span {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

@media (max-width: 992px) {
    .header-dropdown {
        position: static;
        width: 100%;
        transform: none;
        display: none;
        background: transparent;
        border: none;
        padding-left: 15px;
    }

    .has-dropdown.active .header-dropdown {
        display: block;
    }
}

/* ============================================
   RESPONSIVE OVERRIDES (Global)
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .studio-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .studio-panel {
        height: auto;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

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

    .hero {
        padding: 100px 0 40px;
        /* Reduced top padding */
    }

    .hero-badge {
        margin-bottom: 16px;
        padding: 6px 16px;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.85rem;
        /* More compact */
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .section-padding {
        padding: 50px 0;
        /* Reduced from 80/64px */
    }

    .studio-container {
        border-radius: 20px;
        padding: 12px;
        /* Tighter padding */
        gap: 12px;
    }

    .studio-panel {
        min-height: 320px;
        /* More compact on mobile */
    }

    .panel-badge {
        display: none;
    }

    .panel-header {
        padding: 16px 16px 8px;
    }

    .panel-body {
        padding: 0 16px 16px;
    }

    .upload-preview {
        height: 160px;
    }

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

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .how-to-img-wrapper {
        margin-top: 24px;
        /* Reduced from 48px */
    }

    .trust-bar {
        padding: 15px;
        gap: 10px;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .example-image-box {
        height: 200px;
    }

    .example-content {
        padding: 16px;
    }

    .example-content h3 {
        font-size: 1.2rem;
    }

    .example-prompt-box {
        padding: 15px;
    }

    .faq-header {
        padding: 16px;
    }

    .faq-header h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 0 30px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .studio-container {
        padding: 8px;
        border-radius: 16px;
    }

    .panel-header h3 {
        font-size: 0.95rem;
    }

    .trust-bar {
        padding: 12px;
        gap: 8px;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-studio {
        padding: 12px;
        height: 48px;
    }
}

/* ============================================
   GLOBAL UTILITIES: UTILITY BUTTONS
   ============================================ */
.copy-btn-sm {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn-sm:hover {
    background: rgba(124, 92, 252, 0.2);
    border-color: var(--accent-1);
    color: #fff;
}

.btn-copied {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: rgba(0, 255, 136, 0.3) !important;
    color: #00ff88 !important;
}

/* ============================================
   HOW TO SECTION: OPTIMIZED BACKGROUND
   ============================================ */
.how-to-section {
    position: relative;
    background: linear-gradient(180deg, #020408 0%, #0a0e1a 100%);
    overflow: hidden;
}

.how-to-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.08), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.how-to-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.how-to-img-wrapper {
    position: relative;
    max-width: 900px;
    margin: 48px auto 0;
    z-index: 10;
}

.how-to-img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.how-to-aura {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(124, 92, 252, 0.2), rgba(0, 212, 255, 0.2));
    filter: blur(40px);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.6;
}

/* ============================================
   HOW TO AURA ANIMATION
   ============================================ */
.how-to-aura {
    animation: aura-pulse 8s infinite alternate ease-in-out;
}

@keyframes aura-pulse {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.4;
        filter: blur(40px) hue-rotate(0deg);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
        opacity: 0.7;
        filter: blur(50px) hue-rotate(15deg);
    }

    100% {
        transform: scale(1.05) translateY(5px);
        opacity: 0.5;
        filter: blur(45px) hue-rotate(-10deg);
    }
}