/* TAB UI */
.tab-buttons {
    text-align: center;
    margin: 40px 0;
}

.tab-btn {
    padding: 12px 25px;
    margin: 10px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active {
    background: #6c4cff;
    color: #fff;
}

.tab-btn:hover {
    background: #6c4cff;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* WRAPPER */
.tab-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

/* BUTTON CONTAINER */
.tab-buttons {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    gap: 5px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* BUTTON */
.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* ICON */
.tab-btn i {
    font-size: 16px;
}

/* ACTIVE BUTTON */
.tab-btn.active {
    background: linear-gradient(135deg, #6c4cff, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 76, 255, 0.3);
}

/* HOVER */
.tab-btn:hover {
    color: #000;
}

/* ACTIVE HOVER FIX */
.tab-btn.active:hover {
    color: #fff;
}

/* MOBILE */
@media(max-width:768px) {
    .tab-buttons {
        flex-direction: column;
        border-radius: 12px;
    }

    .tab-btn {
        justify-content: center;
    }
}

/* Advance Sectio */

.adv-section {
    background: #f8fafc;
    padding: 80px 20px;
}

.adv-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
}

.adv-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.adv-header p {
    color: #555;
}

.adv-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.adv-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.adv-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.adv-card h3 {
    margin-bottom: 10px;
    color: #6c4cff;
}

.adv-card p {
    color: #444;
    line-height: 1.6;
}

/* MOBILE */
@media(max-width:768px) {
    .adv-grid {
        flex-direction: column;
        align-items: center;
    }
}

.code-block {
    background: #0f172a;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* HEADER (like VS Code) */
.code-header {
    background: #1e293b;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.code-title {
    color: #cbd5f5;
    font-size: 13px;
    margin-left: 10px;
}

/* CODE AREA */
.code-block pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
    font-family: "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
}