/*--------------------------------------------------------------
# AxxisPay Custom Beautification Styles
# Modern, Clean, Professional Design
--------------------------------------------------------------*/

/* ========================================
   Typography Improvements
   ======================================== */

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #334155;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
}

h1, .h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2, .h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3, .h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: #475569;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1, .h1 { font-size: 2.5rem; }
    h2, .h2 { font-size: 2rem; }
    h3, .h3 { font-size: 1.75rem; }
}

/* ========================================
   Banner Section Improvements
   ======================================== */

.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content .title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner-content .sub-title {
    font-family: "Inter", sans-serif !important;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .banner-content .title {
        font-size: 2.25rem;
    }
}

/* ========================================
   Form Improvements
   ======================================== */

.form--control {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form--control:focus {
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-group label {
    font-family: "Inter", sans-serif !important;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.banner-form-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
}

.banner-form-exchange-area code {
    font-family: "Inter", sans-serif !important;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #334155;
}

/* ========================================
   Button Improvements
   ======================================== */

.btn--base {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--base:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--base:active {
    transform: translateY(0);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header .section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header .section-sub-title {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color, #667eea);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   Card Improvements
   ======================================== */

.work-item,
.security-item,
.statistics-item {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.work-item:hover,
.security-item:hover,
.statistics-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color, #667eea);
}

.work-item .work-icon,
.security-item .security-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color, #667eea);
}

.work-item .work-title,
.security-item .security-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.work-item .work-content,
.security-item .security-content {
    font-family: "Inter", sans-serif !important;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
}

/* ========================================
   Testimonial Section
   ======================================== */

.testimonial-item {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-item .testimonial-content {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    font-style: italic;
}

.testimonial-item .client-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
}

.testimonial-item .client-designation {
    font-family: "Inter", sans-serif !important;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* ========================================
   Statistics Section
   ======================================== */

.statistics-area {
    position: relative;
}

.statistics-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.statistics-item .statistics-content .title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.statistics-item .statistics-content .sub-title {
    font-family: "Inter", sans-serif !important;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   Footer Improvements
   ======================================== */

.footer-section {
    background: #0f172a;
    color: #cbd5e1;
}

.footer-widget .footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-widget .footer-list li a {
    font-family: "Inter", sans-serif !important;
    font-size: 0.9375rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-widget .footer-list li a:hover {
    color: var(--primary-color, #667eea);
    padding-left: 5px;
}

/* ========================================
   Header & Navigation Improvements
   ======================================== */

.header-section {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-nav .nav-link,
.main-menu li a {
    font-family: "Inter", sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after,
.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color, #667eea);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.main-menu li a:hover::after,
.navbar-nav .nav-link.active::after,
.main-menu li a.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.main-menu li a:hover,
.navbar-nav .nav-link.active,
.main-menu li a.active {
    color: var(--primary-color, #667eea);
}

.site-logo img {
    max-height: 50px;
    transition: all 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.language-select select,
.language-select .nice-select {
    font-family: "Inter", sans-serif !important;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.language-select select:hover,
.language-select .nice-select:hover {
    border-color: var(--primary-color, #667eea);
}

.header-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-toggler {
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--primary-color, #667eea);
    border-color: var(--primary-color, #667eea);
    color: #ffffff;
}

.navbar-toggler .fas {
    font-size: 1.25rem;
}

/* ========================================
   Smooth Animations
   ======================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

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

@media (max-width: 991px) {
    .banner-form-wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .section-header .section-title {
        font-size: 2rem;
    }

    .statistics-item .statistics-content .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 15px;
    }

    .banner-form-wrapper {
        padding: 1.25rem;
    }

    h1, .h1 {
        font-size: 2rem;
    }
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0;
    position: relative;
}

.how-it-works-item {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color, #667eea);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.how-it-works-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.how-it-works-number {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.how-it-works-content .title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.how-it-works-content p {
    font-family: "Inter", sans-serif !important;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 0;
}

.how-it-works-thumb img {
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.how-it-works-thumb img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Feature/Security Section Enhancements
   ======================================== */

.feature-section {
    background: #ffffff;
    position: relative;
}

.feature-item {
    height: 100%;
}

.feature-item-inner {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-item-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color, #667eea);
    background: linear-gradient(to bottom, #ffffff 0%, #fafbff 100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transition: all 0.3s ease;
}

.feature-item-inner:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, #764ba2 100%);
    transform: rotateY(360deg);
}

.feature-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-item-inner:hover .feature-icon img {
    filter: brightness(0) invert(1);
}

.feature-content .title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.feature-content p {
    font-family: "Inter", sans-serif !important;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 0;
}

/* ========================================
   Download App Section
   ======================================== */

.app-download-section {
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
}

.app-download-content .title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-download-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
}

/* ========================================
   Call to Action Section
   ======================================== */

.call-to-action-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.call-to-action-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

/* ========================================
   Smooth Scroll Enhancement
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   Custom Select Improvements
   ======================================== */

.custom-select-inner {
    font-family: "Inter", sans-serif !important;
    font-weight: 500;
}

.custom-currency {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-weight: 600;
}

/* ========================================
   Input Focus States
   ======================================== */

.form--control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ========================================
   Loading and Transition States
   ======================================== */

.page-transition {
    transition: opacity 0.3s ease-in-out;
}

/* ========================================
   Accessibility Improvements
   ======================================== */

*:focus-visible {
    outline: 2px solid var(--primary-color, #667eea);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color, #667eea);
    outline-offset: 3px;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    body {
        font-family: "Inter", sans-serif;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: "Plus Jakarta Sans", sans-serif;
    }
}
