/* ============================================
   Authentiza Welcome Page - Modern Styles
   ============================================ */

:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-blue: #dbeafe;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Dark mode variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: rgba(226, 232, 240, 0.8);
    --card-bg: #ffffff;
    --card-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    --card-text: #263238;
}

[data-theme="dark"] {
    --text-dark: #f9fafb;
    --text-gray: #d1d5db;
    --text-light: #9ca3af;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: rgba(75, 85, 99, 0.8);
    --card-bg: #1f2937;
    --card-text: #f9fafb;
    --accent-blue: rgba(37, 99, 235, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --card-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

.welcome-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Particles.js Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.4;
}

/* ============================================
   Header Styles
   ============================================ */

.welcome-header {
    position: relative;
    z-index: 101;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .welcome-header {
    background: rgba(17, 24, 39, 0.85);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.4);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-content .brand-name {
    margin: 0;
    font-size: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.announcement-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: box-shadow 0.2s ease, background 0.3s ease;
}

.announcement-badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.announcement-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.announcement-badge:hover .announcement-icon {
    animation: shakeHorizontal 0.5s ease-in-out;
}

@keyframes shakeHorizontal {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

.announcement-text {
    white-space: nowrap;
}

.header-btn {
    padding: 0.625rem 1.5rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background-color 0.2s ease, color 0.2s ease, background 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 44px;
    box-sizing: border-box;
}

.header-btn:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.games-btn {
    border: 1.5px solid var(--primary-blue);
}

.dropdown-wrapper {
    position: relative;
}

.theme-toggle-btn {
    padding: 0.625rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, background 0.3s ease;
    height: 44px;
    width: 44px;
    box-sizing: border-box;
    position: relative;
}

.theme-toggle-btn:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.theme-toggle-btn svg {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon-sun,
.theme-icon-moon {
    width: 20px;
    height: 20px;
}

.profile-btn {
    padding: 0.625rem 1.5rem;
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, background 0.3s ease;
    height: 44px;
    box-sizing: border-box;
    font-size: 0.9375rem;
}

.profile-btn:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.profile-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.profile-text {
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dropdown-wrapper:hover .dropdown-arrow {
    transform: translateY(1px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.15s ease-out, 
                visibility 0.15s ease-out, 
                transform 0.15s ease-out,
                background 0.3s ease;
    z-index: 1000;
    padding: 0.375rem;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .dropdown-menu {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.dropdown-wrapper:hover .dropdown-menu,
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    position: relative;
    border-radius: 6px;
    margin: 0.125rem 0;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.375rem 0;
    transition: background 0.3s ease;
}

/* ============================================
   Main Content Styles
   ============================================ */

.welcome-main {
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 4rem;
    width: 100%;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   Content Section (Left)
   ============================================ */

.content-section {
    animation: fadeInUp 0.8s ease-out;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.brand-taglines {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.brand-taglines .announcement-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    margin: 0;
}

.brand-taglines .announcement-icon {
    width: 14px;
    height: 14px;
}

.brand-tagline {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    background: var(--accent-blue);
    border-radius: 20px;
    white-space: nowrap;
}

.main-heading {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #283549;
    letter-spacing: -0.03em;
}

.heading-text {
    display: inline-block;
    color: #283549;
    transition: color 0.3s ease;
}

[data-theme="dark"] .heading-text {
    color: #f9fafb;
}

.brand-taglines {
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-text {
    display: inline-block;
    min-width: 140px;
    text-align: left;
    margin-top: 0.25rem;
}

.typewriter-text::after {
    content: '|';
    animation: blink 1s infinite;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}


.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn-primary .btn-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    color: var(--bg-white);
    border-color: transparent;
}

.btn-secondary .lock-icon,
.btn-secondary .unlock-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
}

.btn-secondary .lock-icon {
    opacity: 1;
}

.btn-secondary .unlock-icon {
    opacity: 0;
    transform: translateY(-50%) translateY(-5px);
}

.btn-secondary:hover .lock-icon {
    opacity: 0;
    transform: translateY(-50%) translateY(5px) rotate(-10deg);
}

.btn-secondary:hover .unlock-icon {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

.btn-secondary span {
    margin-left: 1.625rem;
}

.btn-icon {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 1;
}

.features-list {
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
}

.feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* ============================================
   Visual Section (Right)
   ============================================ */

.visual-section {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.main-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-end) 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.2) 100%);
    pointer-events: none;
}

/* Clip-path for modern blob shape */
.main-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

/* ============================================
   Overlay Cards
   ============================================ */

.overlay-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.125rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    transition: background 0.3s ease;
}

.card-1 {
    top: 15%;
    left: -8%;
    width: 240px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -10%;
    right: -5%;
    width: 240px;
    animation-delay: 1.5s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.crown-icon {
    color: #fbbf24;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.card-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.card-content {
    margin-bottom: 0.875rem;
}

.unlimited-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.check-icon {
    color: #10b981;
    flex-shrink: 0;
}

.card-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
    cursor: pointer;
}

.icon-box svg {
    width: 14px;
    height: 14px;
}

.icon-box:hover {
    transform: translateY(-3px) scale(1.1);
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

@media (max-width: 1200px) {
    .welcome-grid {
        gap: 3rem;
    }

    .main-heading {
        font-size: 2rem;
    }

    .card-1 {
        left: -5%;
        width: 220px;
    }

    .card-2 {
        bottom: -8%;
        right: -3%;
        width: 220px;
    }

    .image-wrapper {
        height: 400px;
    }
}

@media (max-width: 968px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visual-section {
        order: -1;
    }

    .image-wrapper {
        height: 350px;
    }

    .card-1,
    .card-2 {
        display: none;
    }

    .main-heading {
        font-size: 1.875rem;
    }

    .header-content .brand-name {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 6rem 1.5rem 3rem;
    }
}

@media (max-width: 640px) {
    .welcome-header {
        padding: 1rem 1.5rem;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .announcement-text {
        font-size: 0.75rem;
    }

    .header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        height: 40px;
    }

    .profile-btn {
        padding: 0.5rem 1rem;
        gap: 0.375rem;
        height: 40px;
        font-size: 0.875rem;
    }

    .profile-icon {
        width: 18px;
        height: 18px;
    }

    .dropdown-arrow {
        width: 11px;
        height: 11px;
    }

    .dropdown-icon {
        width: 14px;
        height: 14px;
    }

    .profile-btn {
        padding: 0.5rem 0.875rem;
        gap: 0.375rem;
    }

    .profile-icon {
        width: 18px;
        height: 18px;
    }

    .dropdown-arrow {
        width: 11px;
        height: 11px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .dropdown-menu {
        min-width: 150px;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .image-wrapper {
        height: 280px;
    }

    .hero-section {
        padding: 5rem 1rem 2rem;
    }

    .header-content .brand-name {
        font-size: 1.125rem;
    }
}

/* ============================================
   Why Us Section
   ============================================ */

.why-us-section {
    margin-top: 6rem;
    padding: 2.5rem 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.why-us-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-us-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.why-us-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.banner-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.banner-item:hover {
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.banner-item.small {
    padding: 1.5rem;
    min-height: 280px;
}

.banner-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .banner-icon {
    box-shadow: none;
}

.banner-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-item:hover .banner-icon::before {
    opacity: 1;
}

.banner-item.small .banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.banner-icon.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: box-shadow 0.3s ease;
}

.banner-icon.icon-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    transition: box-shadow 0.3s ease;
}

.banner-icon.icon-green {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: box-shadow 0.3s ease;
}

.banner-icon.icon-orange {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .banner-icon.icon-blue,
[data-theme="dark"] .banner-icon.icon-purple,
[data-theme="dark"] .banner-icon.icon-green,
[data-theme="dark"] .banner-icon.icon-orange {
    box-shadow: none;
}

.banner-item:hover .banner-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .banner-item:hover .banner-icon {
    box-shadow: none;
}

.banner-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.banner-item.small .banner-icon svg {
    width: 20px;
    height: 20px;
}

.banner-item p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.banner-item.small p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.banner-item p.text-start {
    text-align: left;
}

.banner-image {
    width: 100%;
    margin-top: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-light);
}

.banner-item:not(.small) .banner-image {
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    margin-top: auto;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: -2rem;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.banner-item.small .banner-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
    margin-top: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-item:not(.small) .banner-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.banner-item:not(.small) {
    min-height: 500px;
}

.banner-item.small .banner-image img {
    width: auto;
    height: auto;
    max-width: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    object-fit: contain;
}

.banner-item:hover .banner-image img {
    transform: scale(1.05);
}

.banner-item.small:hover .banner-image img {
    transform: scale(0.55);
    transform-origin: bottom right;
}

/* Why Us Responsive */
@media (max-width: 968px) {
    .why-us-section {
        margin-top: 5rem;
        padding: 2rem 1.5rem;
    }

    .why-us-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .why-us-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-us-col {
        gap: 1.5rem;
    }

    .banner-item {
        padding: 1.75rem;
    }

    .banner-item:not(.small) {
        min-height: 450px;
    }

    .banner-item:not(.small) .banner-image {
        width: calc(100% + 3.5rem);
        margin-left: -1.75rem;
        margin-right: -1.75rem;
        margin-bottom: -1.75rem;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .banner-item.small {
        padding: 1.5rem;
        min-height: 260px;
    }

    .banner-title {
        font-size: 1.125rem;
    }

    .banner-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .banner-item.small .banner-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

@media (max-width: 640px) {
    .why-us-section {
        margin-top: 4rem;
        padding: 2rem 1rem;
    }

    .why-us-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .why-us-row {
        gap: 1.5rem;
    }

    .why-us-col {
        gap: 1.5rem;
    }

    .banner-item {
        padding: 1.5rem;
    }

    .banner-item:not(.small) {
        min-height: 400px;
    }

    .banner-item:not(.small) .banner-image {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-bottom: -1.5rem;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .banner-item.small {
        padding: 1.25rem;
        min-height: 240px;
    }

    .banner-title {
        font-size: 1.0625rem;
        margin-bottom: 0.875rem;
    }

    .banner-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .banner-item.small .banner-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .banner-icon svg {
        width: 20px;
        height: 20px;
    }

    .banner-item.small .banner-icon svg {
        width: 18px;
        height: 18px;
    }

    .banner-item p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .banner-item.small p {
        font-size: 0.8125rem;
    }
}

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

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    overflow: visible;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--accent-blue) 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
}

[data-theme="dark"] .stat-icon-wrapper {
    box-shadow: none;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
}

.stat-item:hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.stat-item:hover .stat-icon {
    color: var(--primary-blue);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Statistics Responsive */
@media (max-width: 968px) {
    .statistics-section {
        margin-top: 5rem;
        padding: 2rem 1.5rem;
    }

    .statistics-section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .stat-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 1.375rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }
}

/* ============================================
   Review Section
   ============================================ */

.reviews-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    max-width: 320px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    overflow: visible;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    grid-gap: 1rem;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-image {
    height: 4rem;
    width: 4rem;
    border-radius: 9999px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-light);
}

.review-stars {
    display: flex;
    justify-content: center;
    grid-gap: 0.125rem;
    gap: 0.125rem;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.review-stars svg {
    height: 1rem;
    width: 1rem;
}

.review-name {
    margin-top: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgba(55, 65, 81, 1);
    text-align: center;
    transition: color 0.3s ease;
}

[data-theme="dark"] .review-name {
    color: #f9fafb;
}

.review-message {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    margin-top: 1rem;
    color: rgba(107, 114, 128, 1);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Review Responsive */
@media (max-width: 968px) {
    .reviews-grid {
        margin-top: 2.5rem;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .review-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        margin-top: 2rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }
}

/* ============================================
   CTA Banner Section
   ============================================ */

.cta-banner-section {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 3.5rem 2rem;
    margin: 0 auto -10rem;
    max-width: 1000px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>');
    opacity: 0.3;
}

.cta-banner-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-banner-text {
    flex: 1;
    max-width: 600px;
}

.cta-banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cta-banner-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cta-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #2563eb;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.cta-button-icon {
    flex-shrink: 0;
}

/* CTA Banner Responsive */
@media (max-width: 968px) {
    .cta-banner-section {
        padding: 3rem 1.5rem;
        margin: 0 auto -4rem;
        max-width: calc(100% - 3rem);
    }

    .welcome-footer {
        padding-top: 6rem;
    }

    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-banner-text {
        max-width: 100%;
    }

    .cta-banner-title {
        font-size: 1.125rem;
    }

    .cta-banner-description {
        font-size: 0.8125rem;
    }

    .cta-banner-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .cta-banner-section {
        padding: 2.5rem 1rem;
        margin: 0 auto -3.5rem;
        max-width: calc(100% - 2rem);
        border-radius: 12px;
    }

    .welcome-footer {
        padding-top: 5.5rem;
    }

    .cta-banner-title {
        font-size: 1rem;
    }

    .cta-banner-description {
        font-size: 0.75rem;
    }

    .cta-banner-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* ============================================
   Footer Styles
   ============================================ */

.welcome-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--bg-white);
    margin-top: 0;
    padding: 7rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.welcome-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.3) 50%, transparent 100%);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-top: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-about {
    max-width: 400px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    flex-shrink: 0;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: none;
    filter: none;
    transition: background 0.3s ease;
}

[data-theme="dark"] .footer-brand-name {
    background: linear-gradient(135deg, #f9fafb 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: none;
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-description {
    color: rgba(249, 250, 251, 0.8);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-title {
    color: #f9fafb;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-block;
}

[data-theme="dark"] .footer-link {
    color: rgba(249, 250, 251, 0.8);
}

.footer-link:hover {
    color: var(--bg-white);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .social-icon {
    border-color: rgba(249, 250, 251, 0.3);
    color: rgba(249, 250, 251, 0.8);
    background: rgba(249, 250, 251, 0.05);
}

.social-icon:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue-light);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(249, 250, 251, 0.2);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-copyright p {
    color: rgba(249, 250, 251, 0.7);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

[data-theme="dark"] .footer-legal-link {
    color: rgba(249, 250, 251, 0.8);
}

.footer-legal-link:hover {
    color: var(--bg-white);
}

/* Footer Responsive */
@media (max-width: 968px) {
    .welcome-footer {
        padding: 5rem 1.5rem 1.5rem;
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-legal {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .welcome-footer {
        padding: 4.5rem 1rem 1.5rem;
        margin-top: 0;
    }

    .footer-grid {
        gap: 2.5rem;
    }

    .footer-logo-section {
        margin-bottom: 1.25rem;
    }

    .footer-logo {
        width: 40px;
        height: 40px;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-description {
        font-size: 0.875rem;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary-blue);
    color: var(--bg-white);
}

/* Dark mode responsive adjustments */
@media (max-width: 640px) {
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
    
    .theme-icon-sun,
    .theme-icon-moon {
        width: 18px;
        height: 18px;
    }
}