/* Storefront Generator Styles */

/* Logo Styles */
.navbar-brand.logo {
    background: linear-gradient(45deg, #6c194e, #9333ea, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% auto;
    animation: gradient 8s ease infinite;
    font-weight: 800 !important;
    letter-spacing: 5px;
    font-size: 1.6rem;
    display: inline-block;
    text-decoration: none;
}

.logo-jual {
    font-weight: 900 !important;
}

.logo-separator {
    margin-left: -10px;
    margin-right: -10px;
    font-size: 1.2rem;
}

.logo-ai {
    font-weight: 900;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand.logo {
        font-size: 1.4rem;
    }

    .logo-separator {
        font-size: 1.6rem;
    }
}

:root {
    --primary: #6c194e;
    --primary-dark: #410c2a;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #410c2a;
}

body {
    font-family: 'Nunito', sans-serif;
    padding: 0;
    margin: 0;
    color: var(--dark);
}

.hero-section {
    background: url('https://sayajual.sgp1.cdn.digitaloceanspaces.com/sayajual-ai/sayajual-ai-hero.png') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.contact-hero {
    background: url('https://sayajual.sgp1.cdn.digitaloceanspaces.com/sayajual-ai/sayajual-ai-hero.png') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    color: white;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

/* Final CTA Section */
.final-cta {
    background: url('https://sayajual.sgp1.cdn.digitaloceanspaces.com/sayajual-ai/sayajual-ai-hero.png') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    color: white;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

/* Ecosystem Section Styling */
.ecosystem-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ecosystem-links a {
    flex: 0 0 150px;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ecosystem-links i {
    font-size: 2rem !important;
    margin-bottom: 0.5rem !important;
}

.ecosystem-links .small {
    font-weight: 600;
    color: #333;
}

.ecosystem-links .text-muted.smaller {
    font-size: 0.75rem;
}

.btn-primary-cta {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
}

.btn-primary-cta:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Individual icon colors */
.feature-icon .fa-credit-card {
    color: #6c194e;
}

.feature-icon .fa-magic {
    background: linear-gradient(45deg, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 4s ease infinite;
}

.feature-icon .fa-truck {
    color: #ec4899;
}

.feature-icon .fa-shopping-cart {
    color: #f59e0b;
}

.feature-icon .fa-clipboard-check {
    color: #9333ea;
}

.feature-icon .fa-boxes {
    background: linear-gradient(45deg, #6c194e, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 4s ease infinite;
}

.feature-icon .fa-paint-brush {
    color: #3b82f6;
}

.feature-icon .fa-store {
    color: #10b981;
}

/* Step Icons for How It Works */
.step-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.step-icon .fa-plus-circle {
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 4s ease infinite;
}

.step-icon .fa-magic {
    background: linear-gradient(45deg, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 4s ease infinite;
}

.step-icon .fa-rocket {
    background: linear-gradient(45deg, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 4s ease infinite;
}

/* = = = = = Wizard = = = = = */

.wizard-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    padding: 0 20px;
    max-width: 800px;
    flex-wrap: wrap;
}

.wizard-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-width: 80px;
    max-width: 120px;
    text-align: center;
    margin: 0 10px 20px;
    padding: 0 5px;
    box-sizing: border-box;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

/* Mobile styles */
@media (max-width: 767px) {
    .wizard-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap: 10px;
        padding: 0 15px;
        max-width: 100%;
    }

    .step {
        width: 100%;
        max-width: 100px;
        margin: 0 0 15px;
    }

    .step:not(:last-child):after {
        display: none;
    }

    .step-title {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .step-number {
        width: 36px;
        height: 36px;
        margin: 0 auto 5px;
    }
}

.step.completed:not(:last-child):after {
    background-color: #10b981;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /*background: #e9ecef;*/
    background: #e0cdd9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    border: 2px solid #dee2e6;
    /*border: 2px solid #6c194e;*/
    transition: all 0.2s ease;
}

.step:hover:not(.active) .step-number {
    background: #d1e7ff;
    transform: translateY(-2px);
}

.step.active .step-number {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgb(108 25 78 / 22%);
}

.step.completed .step-number {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.step-title {
    font-size: 0.875rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.step.active .step-title {
    color: var(--primary);
    font-weight: 600;
}

.step.completed .step-title {
    /*color: #198754;*/
    color: #10b981;
}

.step-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wizard-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    max-width: 100%;
    width: 100%;
}

.wizard-actions .btn {
    min-width: 120px;
}

.alert-primary {
    color: #2c98c7;
    background-color: #2c98c733;
    border-color: #2c98c7;
    border-radius: 0.75rem !important;
}

.alert-info {
    color: #2c98c7;
    background-color: #2c98c733;
    border-color: #2c98c7;
    border-radius: 0.75rem !important;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgb(224 205 217 / 20%) !important;
    border-radius: 0.75rem !important;
}

/* ======================
   Cute Form Styles
   ====================== */

/* Base Input Styles */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid #e0cdd9;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 0.2rem rgba(147, 51, 234, 0.2);
    outline: none;
}

/* Labels */
.form-label {
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Checkbox and Radio Buttons */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
    border: 2px solid #e0cdd9;
}

.form-check-input:checked {
    background-color: #6c194e;
    border-color: #6c194e;
}

/* Select Dropdown */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%236c194e' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.658l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Placeholder Text */
.form-control::placeholder {
    color: #9ca3af !important;
    font-style: italic;
}

.form-control::-webkit-input-placeholder {
    color: #9ca3af !important;
    font-style: italic;
}

.form-control::-moz-placeholder {
    color: #9ca3af !important;
    font-style: italic;
}

.form-control::-ms-input-placeholder {
    color: #9ca3af !important;
    font-style: italic;
}

/* Disabled State */
.form-control:disabled,
.form-control[readonly] {
    background-color: #f8f9fa;
    opacity: 0.8;
}

/* Input Groups */
.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e0cdd9;
    color: #6c194e;
    font-weight: 500;
}

/* Form Validation */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #10b981;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #ef4444;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Range Input */
.form-range::-webkit-slider-thumb {
    background: #6c194e;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(108, 25, 78, 0.25);
}

.form-range::-moz-range-thumb {
    background: #6c194e;
}

.form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(108, 25, 78, 0.25);
}

/* Toggle Switch */
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.5em;
    margin-top: 0.25em;
    background-color: #e0cdd9;
    border-color: #e0cdd9;
}

.form-switch .form-check-input:checked {
    background-color: #6c194e;
    border-color: #6c194e;
}

/* ======================
   Cute Button Styles
   ====================== */

/* Base Button Styles */
.btn {
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #6c194e, #9333ea);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 25, 78, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a1642, #7c2bc7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 25, 78, 0.4);
    color: white;
}

.btn-primary:focus {
    background: linear-gradient(135deg, #6c194e, #9333ea);
    box-shadow: 0 0 0 0.25rem rgba(108, 25, 78, 0.25);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(108, 25, 78, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background-color: #f8f9fa;
    color: #6c194e;
    border: 2px solid #e0cdd9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #e0cdd9;
    border-color: #d1b8c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #5a1642;
}

.btn-secondary:focus {
    background-color: #f8f9fa;
    border-color: #6c194e;
    box-shadow: 0 0 0 0.25rem rgba(108, 25, 78, 0.15);
    color: #6c194e;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-success:focus {
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
    color: white;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    color: white;
}

.btn-danger:focus {
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25);
    color: white;
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.25);
    color: white;
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-info:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    color: white;
}

/* Light Button */
.btn-light {
    background-color: #f8f9fa;
    color: #4a4a4a;
    border: 2px solid #e0cdd9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
    background-color: #e0cdd9;
    border-color: #d1b8c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #4a4a4a;
}

.btn-light:focus {
    background-color: #f8f9fa;
    border-color: #6c194e;
    box-shadow: 0 0 0 0.25rem rgba(108, 25, 78, 0.15);
    color: #4a4a4a;
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 74, 74, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 74, 74, 0.4);
    color: white;
}

.btn-dark:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 74, 74, 0.25);
    color: white;
}

/* Outline Buttons */
.btn-outline-primary {
    border: 2px solid #6c194e;
    color: #6c194e;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #6c194e;
    border-color: #6c194e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 25, 78, 0.3);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #e0cdd9;
    color: #6c194e;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: #e0cdd9;
    border-color: #d1b8c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #5a1642;
}

/* Button Sizes */
.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 15px;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Button Groups */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Disabled Buttons */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Special CTA Button */
.btn-primary-cta {
    background: linear-gradient(135deg, #6c194e, #9333ea, #ec4899);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(108, 25, 78, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-cta:hover::before {
    left: 100%;
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 25, 78, 0.5);
    color: white;
}

.btn-primary-cta:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 25, 78, 0.25);
    color: white;
}

/* Icon Buttons */
.btn .fas,
.btn .fab,
.btn .far {
    margin-right: 0.5rem;
}

.btn-icon-only .fas,
.btn-icon-only .fab,
.btn-icon-only .far {
    margin-right: 0;
}

/* Block Buttons */
.btn-block {
    display: block;
    width: 100%;
}