/* ========================================
   FUTURISTIC GLASSMORPHISM DESIGN
   svizitka.ru - by savsis
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;

    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 25, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --blur-sm: 10px;
    --blur-md: 20px;
    --blur-lg: 40px;

    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* ========================================
   GLASSMORPHISM COMPONENTS
   ======================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-header {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:active {
    transform: translateY(0);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.navbar {
    padding: 20px 0;
}

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

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

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Hero Preview Card */
.hero-preview {
    max-width: 400px;
    margin: 0 auto;
    padding: 32px;
    animation: float-gentle 6s infinite ease-in-out;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.preview-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.preview-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-glow);
    animation: shimmer 3s infinite;
}

.preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-name {
    height: 20px;
    background: var(--gradient-glow);
    border-radius: 8px;
    width: 60%;
    animation: shimmer 3s infinite 0.2s;
}

.preview-bio {
    height: 16px;
    background: var(--gradient-glow);
    border-radius: 8px;
    width: 80%;
    animation: shimmer 3s infinite 0.4s;
}

.preview-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-link {
    height: 48px;
    background: var(--gradient-glow);
    border-radius: 12px;
    animation: shimmer 3s infinite;
}

.preview-link:nth-child(1) { animation-delay: 0.6s; }
.preview-link:nth-child(2) { animation-delay: 0.8s; }
.preview-link:nth-child(3) { animation-delay: 1s; }

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gradient-bg {
    background: var(--gradient-primary);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

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

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-price .price {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
}

.plan-features li.disabled {
    color: var(--text-muted);
}

.btn-plan {
    width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    padding: 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.powered-by {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

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

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom p {
    margin: 4px 0;
}

/* ========================================
   AI CHAT WIDGET
   ======================================== */

.ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
    position: relative;
}

.ai-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.6);
}

.ai-notification {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--bg-dark);
}

.ai-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 600px;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.ai-chat.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.ai-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-info {
    flex: 1;
}

.ai-info h4 {
    font-size: 16px;
    font-weight: 600;
}

.ai-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.ai-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
}

.ai-close:hover {
    color: var(--text-primary);
}

.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: 400px;
}

.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.message-content {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

.ai-input {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.ai-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
}

.ai-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.ai-input input::placeholder {
    color: var(--text-muted);
}

.ai-input button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.ai-input button:hover {
    transform: scale(1.05);
}

/* ========================================
   MODALS
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.modal-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .nav-links {
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-large {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-chat {
        width: calc(100vw - 40px);
        right: -15px;
    }

    .modal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .nav-link {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   CUSTOM SITES SECTION STYLES
   ============================================ */

.custom-sites-section {
    padding: 100px 0;
    position: relative;
}

.custom-sites-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.custom-sites-section .section-header h2 {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.custom-sites-section .section-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

.custom-sites-note {
    margin-top: 40px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.custom-sites-note svg {
    flex-shrink: 0;
}

.custom-sites-note p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SUPPORT MODAL STYLES
   ============================================ */

.support-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.support-modal-header svg {
    margin-bottom: 20px;
}

.support-modal-header h2 {
    margin-bottom: 12px;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.support-info {
    padding: 24px;
    text-align: center;
}

.support-info h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.support-requirements {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.support-requirements h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.support-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-requirements li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.support-requirements li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

#supportForm textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

#supportForm textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   CODE EDITOR STYLES (for Pro users)
   ============================================ */

.code-editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.code-editor {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.code-editor-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-editor-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-editor-textarea {
    width: 100%;
    height: 400px;
    padding: 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
}

.code-editor-textarea:focus {
    outline: none;
}

.code-preview {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.code-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Drag and Drop Elements */
.draggable-element {
    cursor: move;
    user-select: none;
    transition: all 0.2s ease;
}

.draggable-element:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.draggable-element.dragging {
    opacity: 0.5;
}

.drop-zone {
    min-height: 100px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.drop-zone.drag-over {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}
