/* Buy Domain Steps - Custom CSS */

/* Import fonts to match theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Root Variables - Matching the main theme */
:root {
    --primary-color: #61197C;
    --primary-dark: #471160;
    --secondary-color: #5C5C5C;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}


@font-face {
    font-family: 'WSans';
    src: url('../fonts/WSansNew-Bold.woff') format('woff'), url('../fonts/wsans/WSansNew-Bold.woff.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}


/* Arabic Primary Font - Cairo Rakkas (Elegant Arabic with distinctive character) */

@font-face {
    font-family: 'Cairo';
    src: url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hOA-a1biLD-H.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

/* Global Styles */
body {
 /*   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    line-height: 1.6;
    color: var(--dark-color);
    background-color: white !important;
}

/* Hero Section */
.hero-section-steps {
    /* Replace the gradient with your background image */
    background: url('../images/heropic.jpg') !important; /* Replace with your actual PNG path */
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: creates parallax effect */

    padding: var(--section-padding);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 25vh; /* Ensures good height even with short content */
}

    .hero-section-steps::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
    color: white !important
}

.hero-title {
    font-family: 'WSans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .hero-title {
    font-family: 'Cairo';
}

.hero-subtitleX {
    font-family: 'WSans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: whitesmoke;
}

.hero-subtitle {
    font-family: sans-serif;
    display: inline-block;
    padding: 0px 4px;
    /*background-color: #61197C;*/
    /*background-color: rgba(255, 255, 255, 0.7);*/
    /*background-color: #61197C;*/
    background-color: whitesmoke;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    /*opacity: 0;*/
    transition: opacity 1s ease-in-out;
    /* Optional subtle text glow for elegance */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
    /* Gradient fade effect on text */
    /*background-image: linear-gradient(to right, rgba(255,255,255,0), #ffffff 60%, rgba(255,255,255,0));*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 600px;
    letter-spacing: 1px;
    font-weight: 500;
}


[dir="rtl"] .hero-subtitle {
    font-family: 'Cairo';
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    color:white !important;
}

.stat-icon {
    font-size: 2.5rem;
    color: white !important;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: white !important;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Timeline Styles */
.steps-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

    .steps-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .timeline-item:nth-child(even) {
        transform: translateY(30px) translateX(20px);
    }

    .timeline-item:nth-child(odd) {
        transform: translateY(30px) translateX(-20px);
    }

    .timeline-item.animate {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(97, 25, 124, 0.3);
    border: 4px solid var(--white);
}

.step-number {
    background: var(--white);
  color: white !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    width: 45%;
    padding: 1rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

/* Step Cards */
.step-card {
    background-color:white !important;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

    .step-card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-5px);
    }

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

    .step-header h3 {
        color: var(--primary-color);
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
        flex: 1;
    }

.step-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color:white !important;
}

    .step-badge:not(.discover):not(.purchase):not(.secure):not(.processing):not(.complete) {
        background: var(--primary-color);
        color: white !important;
    }

    .step-badge.discover {
        background: var(--info-color);
        color: white !important;
    }

    .step-badge.purchase {
        background: var(--warning-color);
        color: white !important;
    }

    .step-badge.secure {
        background: var(--success-color);
        color: white !important;
    }

    .step-badge.processing {
        background: var(--warning-color);
        color: white !important;
    }

    .step-badge.complete {
        background: var(--success-color);
        color: white !important;
    }

.step-body p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Step Features */
.step-features {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

    .feature-item i {
        color: var(--success-color);
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }

    .feature-item span {
        font-size: 0.95rem;
    }

/* Step Action */
.step-action {
    margin-top: 2rem;
}

    .step-action .btn {
        padding: 0.75rem 2rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

/* Preview and Demo Elements */
.step-preview {
    margin: 1.5rem 0;
    text-align: center;
}

.preview-card {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-now-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.demo-button {
    transform: scale(1.1);
    opacity: 0.9;
}

.demo-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: bounce-right 2s infinite;
}

@keyframes bounce-right {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(3px);
    }
}

/* Account Flow */
.account-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.flow-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 15px rgba(97, 25, 124, 0.3);
}

.flow-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.security-badge {
    height: 40px;
    opacity: 0.8;
}

/* Processing Timeline */
.processing-timeline {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .process-step:hover {
        background: var(--gray-200);
    }

.process-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 1rem;
    flex-shrink: 0;
}

    .process-icon.completed {
        background: var(--success-color);
    }

    .process-icon.processing {
        background: var(--warning-color);
        color: var(--dark-color);
        animation: pulse 2s infinite;
    }

    .process-icon:not(.completed):not(.processing) {
        background: var(--gray-400);
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.process-info h6 {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
}

.process-info small {
    color: var(--gray-600);
    margin: 0;
}

/* Transfer Process */
.transfer-process {
    margin: 2rem 0;
}

.transfer-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .transfer-step:hover {
        border-color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(97, 25, 124, 0.1);
    }

.transfer-number {
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.transfer-content h6 {
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.transfer-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Status Progression */
.status-progression {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .status-badge.pending {
        background: var(--gray-400);
        color: var(--white);
    }

    .status-badge.processing {
        background: var(--warning-color);
        color: var(--dark-color);
    }

    .status-badge.transferring {
        background: var(--info-color);
        color: var(--white);
    }

    .status-badge.completed {
        background: var(--success-color);
        color: var(--white);
    }

.status-item i {
    color: var(--gray-400);
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    padding: var(--section-padding);
    color: var(--white);
    text-align: center;
}

    .cta-section h2 {
        color: ghostwhite !important;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-buttons {
    margin-top: 2rem;
}

    .cta-buttons .btn {
        padding: 1rem 2rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin: 0.5rem;
    }

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* FAQ Section */
.accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--dark-color);
    font-weight: 500;
    border: none;
    padding: 1.25rem 1.5rem;
}

    .accordion-button:not(.collapsed) {
        background-color: var(--primary-color);
        color: var(--white);
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(97, 25, 124, 0.25);
        border-color: var(--primary-color);
    }

.accordion-body {
    padding: 1.5rem;
    background-color: var(--gray-100);
    color: var(--gray-700);
    line-height: 1.7;
}

/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1000;
    background: rgba(97, 25, 124, 0.2);
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .steps-timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
