:root {
    --primary-color: #bc2738;
    --primary-dark: #9E1224;
    --primary-light: #E53950;
    --gradient-start: #f6f5f5;
    --gradient-end: #8C0D1F;
    --text-color: #333;
    --light-text: #777;
    --background-light: #f9f9f9;
    --border-color: #e5e5e5;
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
body {
    color: var(--text-color);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: white;
    overflow-x: hidden;
}

a {
    transition: all 0.3s ease;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.uk-heading-primary {
    font-size: 3.5rem;
}

.uk-text-lead {
    font-size: 1.3rem;
    color: var(--light-text);
}

/* Navigation */
.uk-navbar-container:not(.uk-navbar-transparent) {
    background: white;
    box-shadow: var(--shadow-light);
    padding: 10px 0;
}

.logo-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-circle:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.uk-navbar-nav > li > a {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
}

.uk-navbar-nav > li > a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Stats Section */
.stats-section {
    background-color: white;
    padding: 60px 0;
    margin-top: -50px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.stat-item .uk-card {
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    background-color: white;
}

.stat-item .uk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Plan Options Section */
.plan-options-section {
    background-color: var(--background-light);
    padding: 100px 0;
    position: relative;
}

.plan-options-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, white, var(--background-light));
    z-index: 1;
}

.option-card {
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    padding: 40px 30px 30px;
    border: none;
    box-shadow: var(--shadow-light);
    background-color: white;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(188, 39, 56, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.success-badge {
    background-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
}

.card-icon i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(188, 39, 56, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.option-card:hover .card-icon i {
    transform: scale(1.1);
}

.uk-card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 10px;
}

.uk-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.option-card ul {
    margin-left: 0;
    padding-left: 20px;
}

.option-card li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
    padding-left: 25px;
}

.option-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* How It Works Section */
.step-section {
    padding: 100px 0;
    background-color: white;
}

.step-card {
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    padding: 50px 30px 30px;
    border: 1px solid var(--border-color);
    background-color: white;
    height: 100%;
    box-shadow: var(--shadow-light);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(188, 39, 56, 0.3);
}

.step-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: rgba(188, 39, 56, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.step-image {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.testimonial-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border-color);
    background-color: white;
    box-shadow: var(--shadow-light);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(188, 39, 56, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--light-text);
    display: block;
    margin-top: 5px;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-rating {
    color: #FFC107;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.uk-slider-items {
    padding: 20px 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.uk-button-default {
    border: 2px solid white;
    color: white;
    background-color: transparent;
    transition: all 0.3s ease;
}

.uk-button-default:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
}

footer h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

footer a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.uk-icon-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.uk-icon-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
}

/* Buttons */
.uk-button {
    border-radius: 50px;
    padding: 0 25px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.uk-button-large {
    height: 60px;
    padding: 0 35px;
    font-size: 1.1rem;
}

.uk-button-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.uk-button-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uk-button-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(188, 39, 56, 0.3);
}

.uk-button-primary:hover::after {
    opacity: 1;
}

/* Form Elements */
.uk-input, .uk-select, .uk-textarea {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0 15px;
    height: 50px;
    transition: all 0.3s ease;
}

.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(188, 39, 56, 0.2);
}

.uk-textarea {
    min-height: 120px;
    padding: 15px;
}

/* Progress Bars */
.uk-progress {
    height: 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.uk-progress::-webkit-progress-bar {
    background-color: #f0f0f0;
    border-radius: 4px;
}

.uk-progress::-webkit-progress-value {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

/* Labels */
.uk-label {
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .uk-heading-primary {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 100px 0 80px;
    }

    .stats-section {
        padding: 40px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .uk-heading-primary {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .uk-text-lead {
        font-size: 1.1rem;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .plan-options-section, .step-section, .testimonials-section {
        padding: 60px 0;
    }

    .option-card, .step-card {
        padding: 30px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .uk-heading-primary {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 70px 0 50px;
    }

    .uk-button-large {
        height: 50px;
        font-size: 1rem;
    }

    footer {
        padding: 50px 0 20px;
    }

    footer .uk-grid > * {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Mobile Device Illustration */
.mobile-illustration {
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.mobile-frame {
    width: 300px;
    margin: auto;
    background: #f2f2f7;
    border-radius: 40px;
    padding: 20px 15px 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 8px solid #111;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mobile-illustration:hover .mobile-frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.mobile-header {
    margin-bottom: 15px;
    padding: 0 5px;
}

.mobile-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.mobile-balance {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.balance-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-chart {
    height: 80px;
    margin-top: 10px;
    background: linear-gradient(to top right, #bce0fd, #e0f3ff);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.mobile-chart svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bank-label {
    font-size: 10px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

.mobile-buttons {
    margin-bottom: 15px;
}

.mobile-buttons .uk-button {
    width: calc(50% - 5px);
    border-radius: 12px;
    padding: 0 10px;
    height: 40px;
    font-size: 14px;
}

.mobile-buttons .uk-button-default {
    margin-right: 5px;
    background: #fff;
    border-color: #e5e5ea;
}

.mobile-buttons .uk-button-primary {
    margin-left: 5px;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.mobile-transactions {
    margin-top: 15px;
}

.mobile-transactions h5 {
    margin-bottom: 10px;
    font-size: 16px;
    padding-left: 5px;
}

.transaction-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.transaction-detail {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.transaction-amount {
    font-weight: 500;
    font-size: 15px;
}

.mobile-nav-bar {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: #fff;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.nav-item.active {
    opacity: 1;
}

.nav-item.active .nav-label {
    color: var(--primary-color);
}

.nav-item.active svg {
    color: var(--primary-color);
}

.nav-label {
    font-size: 10px;
    margin-top: 3px;
    color: #000;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive Adjustments for Mobile Illustration */
@media (max-width: 960px) {
    .mobile-frame {
        width: 260px;
        padding: 15px 10px 25px;
    }

    .balance-amount {
        font-size: 24px;
    }

    .mobile-chart {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .mobile-illustration {
        margin-top: 30px;
    }

    .mobile-frame {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .mobile-frame {
        width: 250px;
        padding: 12px 8px 22px;
    }

    .balance-amount {
        font-size: 22px;
    }

    .mobile-chart {
        height: 60px;
    }

    .mobile-buttons .uk-button {
        height: 36px;
        font-size: 13px;
    }
}