/*
Theme Name: Outel Divi Child
Theme URI: https://outel.net/
Description: Outel Link child theme for Divi. Presentation customizations only; application and financial logic remain in the Outel Link plugin.
Author: Outel Link
Author URI: https://outel.net/
Template: Divi
Version: 1.0.1
Text Domain: outel-divi-child
*/

/*
 * Outel Link design system starts here.
 * Keep business/payment logic inside the Outel Link plugin.
 */


/* ==========================================
   Outel Design System
   ========================================== */

:root {

    --outel-primary: #6d5ce7;
    --outel-primary-dark: #5748c7;

    --outel-background: #f8fafc;
    --outel-surface: #ffffff;

    --outel-text: #1f2937;
    --outel-muted: #64748b;

    --outel-border: #e8eaf0;

    --outel-purple-soft: #f3f1ff;

}


/* ==========================================
   Homepage Hero
   ========================================== */

.outel-home-hero {

    max-width: 1180px;

    margin: 0 auto;

    padding: 95px 25px 85px;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    align-items: center;

    gap: 70px;

    box-sizing: border-box;

    direction: rtl;

}


/* ==========================================
   Hero Content
   ========================================== */

.outel-home-hero-content {

    text-align: right;

}


.outel-home-hero-badge {

    display: inline-flex;

    align-items: center;

    padding: 7px 16px;

    margin-bottom: 22px;

    background: var(--outel-purple-soft);

    border: 1px solid #e8e3ff;

    border-radius: 30px;

    color: var(--outel-primary);

    font-size: 14px;

    font-weight: 700;

}


.outel-home-hero h1 {

    margin: 0 0 20px;

    color: var(--outel-text);

    font-size: 56px;

    line-height: 1.2;

    font-weight: 800;

}


.outel-home-hero p {

    max-width: 520px;

    margin: 0 0 32px;

    color: var(--outel-muted);

    font-size: 19px;

    line-height: 1.9;

}


/* ==========================================
   Hero Buttons
   ========================================== */

.outel-home-hero-actions {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    flex-wrap: wrap;

}


.outel-home-primary-button,
.outel-home-secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 25px;

    border-radius: 11px;

    text-decoration: none !important;

    font-size: 15px;

    font-weight: 700;

    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.outel-home-primary-button {

    background: var(--outel-primary);

    color: #ffffff !important;

    box-shadow:
        0 8px 22px
        rgba(109, 92, 231, 0.18);

}


.outel-home-primary-button:hover {

    background: var(--outel-primary-dark);

    color: #ffffff !important;

    transform: translateY(-2px);

}


.outel-home-secondary-button {

    background: var(--outel-surface);

    border: 1px solid var(--outel-border);

    color: #475569 !important;

}


.outel-home-secondary-button:hover {

    background: #fafaff;

    color: var(--outel-primary-dark) !important;

}


/* ==========================================
   Dashboard Preview
   ========================================== */

.outel-home-hero-preview {

    width: 100%;

}


.outel-home-browser {

    overflow: hidden;

    background: var(--outel-surface);

    border: 1px solid #e7e5ef;

    border-radius: 20px;

    box-shadow:
        0 30px 80px rgba(31, 41, 55, 0.10),
        0 8px 25px rgba(109, 92, 231, 0.06);

}


.outel-home-browser-bar {

    display: flex;

    align-items: center;

    gap: 6px;

    height: 42px;

    padding: 0 16px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeef;

    direction: ltr;

}


.outel-home-browser-bar span {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #d6d3df;

}


/* ==========================================
   Dashboard Mockup - RTL
   ========================================== */

.outel-home-dashboard-preview {

    display: flex;

    min-height: 370px;

    direction: rtl;

    background: var(--outel-background);

}


/* ==========================================
   Dashboard Sidebar
   Right Side
   ========================================== */

.outel-preview-sidebar {

    width: 155px;

    padding: 22px 14px;

    background: var(--outel-surface);

    border-left: 1px solid var(--outel-border);

    border-right: 0;

    box-sizing: border-box;

    flex-shrink: 0;

}


.outel-preview-logo {

    margin-bottom: 25px;

    padding: 0 8px;

    color: var(--outel-primary);

    font-size: 17px;

    font-weight: 800;

    text-align: right;

}


.outel-preview-menu {

    margin-bottom: 6px;

    padding: 10px 9px;

    border-radius: 8px;

    color: #94a3b8;

    font-size: 11px;

    text-align: right;

}


.outel-preview-menu.active {

    background: var(--outel-purple-soft);

    color: var(--outel-primary);

    font-weight: 700;

}


/* ==========================================
   Dashboard Main
   Left Side
   ========================================== */

.outel-preview-main {

    flex: 1;

    padding: 25px;

    direction: rtl;

    box-sizing: border-box;

}


.outel-preview-title {

    margin-bottom: 20px;

    color: var(--outel-text);

    font-size: 19px;

    font-weight: 800;

    text-align: right;

}


/* ==========================================
   Dashboard Cards
   ========================================== */

.outel-preview-cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 18px;

}


.outel-preview-card {

    padding: 15px;

    background: var(--outel-surface);

    border: 1px solid var(--outel-border);

    border-radius: 11px;

    text-align: right;

}


.outel-preview-card span {

    display: block;

    margin-bottom: 8px;

    color: #94a3b8;

    font-size: 10px;

}


.outel-preview-card strong {

    color: var(--outel-text);

    font-size: 22px;

}


/* ==========================================
   Invoice Table
   ========================================== */

.outel-preview-table {

    background: var(--outel-surface);

    border: 1px solid var(--outel-border);

    border-radius: 12px;

    overflow: hidden;

}


.outel-preview-table-title {

    padding: 14px 16px;

    border-bottom: 1px solid #eef0f3;

    color: #334155;

    font-size: 12px;

    font-weight: 700;

    text-align: right;

}


.outel-preview-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 13px 16px;

    border-bottom: 1px solid #f1f2f4;

    color: var(--outel-muted);

    font-size: 10px;

    text-align: right;

}


.outel-preview-row:last-child {

    border-bottom: 0;

}


.outel-preview-row strong {

    color: var(--outel-primary);

    font-size: 11px;

}


/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 900px) {

    .outel-home-hero {

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 70px 20px 60px;

        direction: rtl;

    }


    .outel-home-hero-content {

        text-align: center;

        order: 1;

    }


    .outel-home-hero-preview {

        order: 2;

    }


    .outel-home-hero h1 {

        font-size: 44px;

    }


    .outel-home-hero p {

        margin-right: auto;

        margin-left: auto;

    }


    .outel-home-hero-actions {

        justify-content: center;

    }

}


@media (max-width: 600px) {

    .outel-home-hero {

        padding: 50px 15px;

        gap: 35px;

    }


    .outel-home-hero h1 {

        font-size: 34px;

    }


    .outel-home-hero p {

        font-size: 16px;

    }


    .outel-home-primary-button,
    .outel-home-secondary-button {

        width: 100%;

    }


    .outel-home-dashboard-preview {

        min-height: 280px;

    }


    .outel-preview-sidebar {

        display: none;

    }


    .outel-preview-main {

        padding: 16px;

    }


    .outel-preview-cards {

        gap: 7px;

    }


    .outel-preview-card {

        padding: 10px;

    }


    .outel-preview-card strong {

        font-size: 17px;

    }

}









/* ==========================================
   Outel Home Value Section
   ========================================== */

.outel-home-value {

    width: 100%;

    padding: 85px 25px 90px;

    box-sizing: border-box;

    direction: rtl;

}


.outel-home-value-header {

    width: 100%;

    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;

}


.outel-home-section-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 7px 16px;

    margin-bottom: 18px;

    background: var(--outel-purple-soft);

    border: 1px solid #e8e3ff;

    border-radius: 30px;

    color: var(--outel-primary);

    font-size: 13px;

    font-weight: 700;

}


.outel-home-value-header h2 {

    margin: 0 0 15px;

    color: var(--outel-text);

    font-size: 38px;

    line-height: 1.35;

    font-weight: 800;

}


.outel-home-value-header p {

    max-width: 620px;

    margin: 0 auto;

    color: var(--outel-muted);

    font-size: 16px;

    line-height: 1.9;

}


/* ==========================================
   Value Cards
   ========================================== */

.outel-home-value-grid {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    box-sizing: border-box;

}


.outel-home-value-card {

    min-height: 210px;

    padding: 28px 25px;

    background: var(--outel-surface);

    border: 1px solid var(--outel-border);

    border-radius: 16px;

    box-sizing: border-box;

    text-align: right;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


.outel-home-value-card:hover {

    transform: translateY(-3px);

    border-color: #ddd8fa;

    box-shadow:
        0 15px 35px rgba(31, 41, 55, 0.06);

}


/* ==========================================
   Value Icons
   ========================================== */

.outel-home-value-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    margin-bottom: 22px;

    background: var(--outel-purple-soft);

    border-radius: 12px;

    color: var(--outel-primary);

    font-size: 20px;

    font-weight: 700;

}


/* ==========================================
   Value Card Content
   ========================================== */

.outel-home-value-card h3 {

    margin: 0 0 10px;

    color: var(--outel-text);

    font-size: 19px;

    line-height: 1.5;

    font-weight: 800;

}


.outel-home-value-card p {

    margin: 0;

    color: var(--outel-muted);

    font-size: 14px;

    line-height: 1.9;

}


/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 900px) {

    .outel-home-value {

        padding: 70px 20px;

    }


    .outel-home-value-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .outel-home-value-header h2 {

        font-size: 34px;

    }

}


@media (max-width: 600px) {

    .outel-home-value {

        padding: 55px 15px 60px;

    }


    .outel-home-value-header {

        margin-bottom: 35px;

    }


    .outel-home-value-header h2 {

        font-size: 29px;

    }


    .outel-home-value-header p {

        font-size: 15px;

    }


    .outel-home-value-card {

        min-height: auto;

        padding: 24px 20px;

    }

}











/* ==========================================
   Outel FAQ
   ========================================== */

.outel-home-faq {

    max-width: 900px;

    margin: 0 auto;

    padding: 90px 25px 100px;

    box-sizing: border-box;

}


.outel-home-faq-header {

    text-align: center;

    margin-bottom: 40px;

}


.outel-home-faq-header h2 {

    margin: 0 0 14px;

    color: var(--outel-text);

    font-size: 34px;

    line-height: 1.4;

    font-weight: 800;

}


.outel-home-faq-header p {

    margin: 0;

    color: var(--outel-muted);

    font-size: 16px;

    line-height: 1.8;

}


.outel-home-faq-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.outel-home-faq-item {

    background: var(--outel-surface);

    border: 1px solid var(--outel-border);

    border-radius: 14px;

    overflow: hidden;

}


.outel-home-faq-item summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    color: var(--outel-text);

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    list-style: none;

}


.outel-home-faq-item summary::-webkit-details-marker {

    display: none;

}


.outel-home-faq-item summary span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    flex-shrink: 0;

    border-radius: 8px;

    background: var(--outel-purple-soft);

    color: var(--outel-primary);

    font-size: 18px;

    font-weight: 500;

    transition: transform 0.2s ease;

}


.outel-home-faq-item[open] summary span {

    transform: rotate(45deg);

}


.outel-home-faq-answer {

    padding: 0 22px 22px;

    color: var(--outel-muted);

    font-size: 15px;

    line-height: 1.9;

}


@media (max-width: 600px) {

    .outel-home-faq {

        padding: 65px 15px 75px;

    }


    .outel-home-faq-header h2 {

        font-size: 28px;

    }


    .outel-home-faq-item summary {

        padding: 17px;

        font-size: 15px;

    }


    .outel-home-faq-answer {

        padding: 0 17px 18px;

        font-size: 14px;

    }

}

/* ==========================================
   Steps Cards
   ========================================== */

.outel-home-steps-box {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    box-sizing: border-box;
}


/* Independent Cards */

.outel-home-step {
    width: 100%;
    min-width: 0;
    min-height: 210px;
    padding: 28px 25px;
    background: var(--outel-surface);
    border: 1px solid var(--outel-border);
    border-radius: 16px;
    box-sizing: border-box;
    text-align: right;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.outel-home-step:hover {
    transform: translateY(-3px);
    border-color: #ddd8fa;
    box-shadow:
        0 15px 35px rgba(31, 41, 55, 0.06);
}


/* Step Number */

.outel-home-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 44px;
    height: 44px;
    margin-bottom: 22px;

    background: var(--outel-purple-soft);
    border: 1px solid #e8e3ff;
    border-radius: 12px;

    color: var(--outel-primary);
    font-size: 13px;
    font-weight: 800;
}


/* Step Content */

.outel-home-step-content {
    width: 100%;
}


.outel-home-step-content h3 {
    margin: 0 0 10px;

    color: var(--outel-text);
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
}


.outel-home-step-content p {
    max-width: 400px;
    margin: 0;

    color: var(--outel-muted);
    font-size: 14px;
    line-height: 1.9;
}


/* Divider no longer needed */

.outel-home-step-divider {
    display: none;
}


/* ==========================================
   Steps Responsive
   ========================================== */

@media (max-width: 900px) {

    .outel-home-steps {
        padding: 70px 20px;
    }

    .outel-home-steps-box {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

}


@media (max-width: 600px) {

    .outel-home-steps {
        padding: 55px 15px 60px;
    }

    .outel-home-steps-header {
        margin-bottom: 35px;
    }

    .outel-home-steps-header h2 {
        font-size: 27px;
    }

    .outel-home-steps-header p {
        font-size: 15px;
    }

    .outel-home-step {
        min-height: auto;
        padding: 24px 20px;
    }

    .outel-home-step-number {
        width: 42px;
        height: 42px;
        margin-bottom: 18px;
    }

    .outel-home-step-content h3 {
        font-size: 17px;
    }

    .outel-home-step-content p {
        font-size: 13px;
    }

}