/* ===========================
   FONT / RESET
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background: #ffffff;
    color: #2C2C2C;
    line-height: 1.7;
}

/* ===========================
   NAVBAR
=========================== */

.main-nav {
    padding: 18px 0;
    transition: 0.3s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background: transparent;
}

.main-nav.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.nav-link {
    color: #2C2C2C !important;
    font-weight: 600;
    padding: 8px 18px !important;
    transition: 0.2s;
}

.nav-link:hover {
    color: #00A651 !important;
}

.logo {
    width: 135px;
}

/* ===========================
   HERO / SLIDER
=========================== */

.hero-section {
    margin-top: 150px;
    padding: 40px 0;
}

.hero-textbox h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-textbox p {
    font-size: 16px;
    color: #474747;
    margin-bottom: 20px;
}

.hero-media video,
.hero-media img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ===========================
   BUTTONS
=========================== */

.btn-main {
    background: #04783d;
    color: #fff !important;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 12px;
    transition: 0.25s;
    display: inline-block;
}

.btn-main:hover {
    background: #02803B;
    color: #fff !important;
}

.btn-secondary {
    background: #F2F2F2;
    color: #2C2C2C;
    padding: 12px 28px;
    border-radius: 10px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

/* ===========================
   FEATURES
=========================== */

.features-section {
    padding: 70px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: 0.25s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.09);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px auto;
    display: flex;
    border-radius: 18px;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    background: #F2F2F2;
    color: #00A651;
    transition: 0.3s;
}

.feature-card:hover .icon-wrap {
    background: #00A651;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 22px;
}

/* ===========================
   ACADEMY
=========================== */

.academy-section {
    padding: 80px 0;
    background: #F8F8F8;
    text-align: center;
}

.academy-section h2 {
    font-weight: 800;
    margin-bottom: 15px;
}

.academy-section p {
    color: #555;
}

/* ===========================
   CONTACT
=========================== */

.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 800;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    text-align: center;
    padding: 25px 0;
    background: #F2F2F2;
    font-size: 14px;
    color: #2C2C2C;
    margin-top: 60px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {

    .hero-textbox h1 {
        font-size: 30px;
    }

    .hero-section {
        padding-top: 20px;
    }

    .feature-card {
        padding: 25px 15px;
    }
}

/* ===========================
   ETIPAX PAGE
=========================== */

.etipax-hero {
    background: linear-gradient(to left, #00A651, #0058A8);
    padding: 80px 0;
    color: #fff;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}

.etipax-title {
    font-size: 42px;
    font-weight: 900;
}

.etipax-desc {
    font-size: 17px;
    margin: 15px 0 20px;
}

.etipax-logo {
    max-width: 260px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.etipax-container {
    margin-top: 30px;
}

.etipax-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

.etipax-sidebar h4 {
    font-weight: 800;
    margin-bottom: 15px;
}

.etipax-sidebar ul {
    list-style: none;
    padding: 0;
}

.etipax-sidebar ul li {
    margin: 10px 0;
}

.etipax-sidebar a {
    color: #0058A8;
    font-weight: 600;
    transition: 0.2s;
}

.etipax-sidebar a:hover {
    color: #00A651;
}

.et-section {
    margin-bottom: 60px;
}

.et-section h2 {
    font-weight: 800;
    margin-bottom: 15px;
}

.et-box,
.et-feature {
    background: #F8F8F8;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.video-box video {
    width: 100%;
    border-radius: 16px;
    margin-top: 20px;
}
/* ===========================
   TIPAX PLUGIN DOCS
=========================== */

.plugin-docs {
    padding-top: 130px;
    padding-bottom: 80px;
    max-width: 1100px;
}

/* HERO */
.plugin-hero h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
}

.plugin-hero p {
    font-size: 15px;
    color: #555;
}

/* DOWNLOAD */
.plugin-download {
    margin: 40px 0;
}

.download-card {
    background: linear-gradient(135deg, #00A651, #02803B);
    border-radius: 22px;
    padding: 28px 32px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.btn-download {
    background: #fff;
    color: #00A651;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-3px);
}

/* VERSION */
.version-card {
    margin: 50px 0;
    background: #f8fafc;
    border-radius: 18px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-number {
    font-size: 30px;
    color: #00A651;
    font-weight: 900;
}

/* CHANGELOG */
.plugin-changelog h2,
.plugin-faq h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
}

.changelog-item {
    border-right: 4px solid #00A651;
    background: #fff;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.badge-new {
    background: #00A651;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 900;
}

/* FAQ */
.plugin-faq {
    margin-top: 80px;
}

.accordion-button:not(.collapsed) {
    background: #f3f9f6;
    color: #00A651;
}
