/*
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 {

    position: relative;

    width: 100%;
    max-width: none;

    min-height: 620px;

    margin: 0;

    padding: 95px 30px 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    direction: rtl;

    text-align: center;

    overflow: hidden;

    background: #ffffff;
}


/* ==========================================
   Hero Background — Soft Outel Gradient
   ========================================== */

.outel-home-hero::before {

    content: "";

    position: absolute;

    top: -300px;
    right: -240px;

    width: 680px;
    height: 680px;

    background:
        radial-gradient(
            circle,
            rgba(109, 92, 231, 0.12) 0%,
            rgba(109, 92, 231, 0.055) 35%,
            rgba(109, 92, 231, 0.018) 58%,
            transparent 72%
        );

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


.outel-home-hero::after {

    content: "";

    position: absolute;

    bottom: -340px;
    left: -280px;

    width: 720px;
    height: 720px;

    background:
        radial-gradient(
            circle,
            rgba(109, 92, 231, 0.10) 0%,
            rgba(109, 92, 231, 0.045) 35%,
            rgba(109, 92, 231, 0.015) 58%,
            transparent 72%
        );

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


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

.outel-home-hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


/* ==========================================
   Hero Title
   ========================================== */

.outel-home-hero h1 {

    position: relative;

    margin: 0 0 28px;

    color: var(--outel-text);

    font-size: 72px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -1px;
}


/* ==========================================
   Hero Description
   ========================================== */

.outel-home-hero p {

    width: 100%;

    max-width: 820px;

    margin: 0 auto;

    color: var(--outel-muted);

    font-size: 20px;

    line-height: 2;

    font-weight: 400;
}


/* ==========================================
   Hero Separator
   ========================================== */

.outel-home-hero p::after {

    content: "";

    display: block;

    width: 245px;

    height: 2px;

    margin: 30px auto 0;

    background:
        linear-gradient(
            to left,
            transparent 0%,
            #e8e3ff 18%,
            #d9d2ff 42%,
            #6d5ce7 50%,
            #d9d2ff 58%,
            #e8e3ff 82%,
            transparent 100%
        );

    opacity: 0.9;
}


/* ==========================================
   Business Introduction Note
   ========================================== */

.outel-business-intro-note {

    margin: 28px 0 34px;

    color: var(--outel-text);

    font-size: 17px;

    line-height: 1.8;

    font-weight: 600;
}


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

.outel-home-hero-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


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

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 190px;

    min-height: 64px;

    padding: 0 30px;

    border-radius: 14px;

    text-decoration: none !important;

    font-size: 18px;

    font-weight: 700;

    box-sizing: border-box;

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


/* ==========================================
   Primary Button
   ========================================== */

.outel-home-primary-button {

    background: var(--outel-primary);

    color: #ffffff !important;

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

    box-shadow:
        0 12px 30px
        rgba(109, 92, 231, 0.20);
}


.outel-home-primary-button:hover {

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

    border-color: var(--outel-primary-dark);

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 15px 34px
        rgba(109, 92, 231, 0.24);
}


/* ==========================================
   Secondary Button
   ========================================== */

.outel-home-secondary-button {

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #dfe1eb;

    color: #475569 !important;
}


.outel-home-secondary-button:hover {

    background: #ffffff;

    border-color: #d5cff7;

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

    transform: translateY(-2px);
}


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

@media (max-width: 980px) {

    .outel-home-hero {

        min-height: 560px;

        padding: 80px 25px 75px;
    }


    .outel-home-hero h1 {

        font-size: 54px;
    }


    .outel-home-hero p {

        max-width: 700px;

        font-size: 18px;
    }


    .outel-business-intro-note {

        font-size: 16px;
    }
}


@media (max-width: 600px) {

    .outel-home-hero {

        min-height: 520px;

        padding: 70px 20px 60px;
    }


    .outel-home-hero::before {

        top: -250px;
        right: -250px;

        width: 500px;
        height: 500px;
    }


    .outel-home-hero::after {

        bottom: -260px;
        left: -260px;

        width: 520px;
        height: 520px;
    }


    .outel-home-hero h1 {

        margin-bottom: 20px;

        font-size: 40px;

        line-height: 1.3;

        letter-spacing: 0;
    }


    .outel-home-hero p {

        font-size: 16px;

        line-height: 1.9;
    }


    .outel-home-hero p::after {

        width: 190px;

        margin-top: 25px;
    }


    .outel-business-intro-note {

        margin: 24px 0 30px;

        font-size: 15px;
    }


    .outel-home-hero-actions {

        width: 100%;

        max-width: 360px;

        margin: 0 auto;
    }


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

        width: 100%;

        min-width: 0;

        min-height: 54px;

        font-size: 16px;
    }
}



/* ==========================================
   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;

    }

}



/* ==========================================
   OUTEL — TEST PAGE SCALE
   ========================================== */

html,
body {
    zoom: 1 !important;
    transform: none !important;
}