/* Core Layout & Typography */
main.container {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    color: #1e293b !important;
    background-color: #f8fafc;
    padding: 40px 15px !important;
    border-radius: 16px;
}

.glass-hero {
    text-align: center;
    margin-bottom: 30px;
}
.glass-title-main {
    font-size: 2.2rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    letter-spacing: -1px !important;
    margin-bottom: 10px !important;
}
.glass-subtitle-main {
    font-size: 16px !important;
    color: #64748b !important;
    font-weight: 500;
}

.glass-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .glass-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

/* Interactive Preview Container with Dynamic Background Shapes */
.preview-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
}
.shape-1 {
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, #f43f5e, #ec4899);
    top: 15%;
    left: 15%;
}
.shape-2 {
    width: 160px;
    height: 160px;
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    bottom: 15%;
    right: 15%;
}

/* Custom Live Glass Element Layer */
.glass-element {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 340px;
    padding: 30px;
    color: #ffffff;
    text-align: center;
    transition: all 0.05s linear;
}
.glass-element h3 {
    margin-top: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.glass-element p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Control Components */
.control-group {
    margin-bottom: 18px;
}
.control-label {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
}
.control-label span {
    color: #4f46e5;
}

.pro-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
}
.pro-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #4f46e5;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
}
.pro-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.color-picker-input {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    width: 60px;
    height: 38px;
    padding: 2px;
    cursor: pointer;
    background: none;
}

.code-textarea {
    width: 100%;
    height: 120px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12.5px;
    font-weight: 600;
    background: #0f172a;
    color: #38bdf8;
    border-radius: 8px;
    padding: 12px;
    resize: none;
    box-sizing: border-box;
    border: none;
}

.glass-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.2s;
    margin-top: 10px;
}
.glass-btn:active {
    transform: scale(0.98);
}

/* Toast alert system */
.toast-success {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* FAQ Styles */
.faq-section { max-width: 850px; margin: 60px auto 30px auto; }
.faq-main-title { font-size: 24px !important; font-weight: 850 !important; color: #0f172a; margin-bottom: 30px; text-align: center; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.faq-question { font-size: 16.5px !important; font-weight: 750 !important; color: #0f172a; margin-top: 0; margin-bottom: 10px; }
.faq-answer { font-size: 14.5px; color: #475569; line-height: 1.6; margin: 0; }