/* Global Styles and Variables */
:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #4d94ff;
    --secondary-color: #00cc88;
    --secondary-dark: #00a36f;
    --secondary-light: #4ddbac;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --shadow-small: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 12px 48px rgba(0, 0, 0, 0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 80px;
    --container-width: 1120px;
    --content-padding: 40px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.yescom-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section > div {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

/* Button Styles */
.yescom-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.yescom-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-small);
}

.yescom-btn-primary:hover {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    color: white;
}

.yescom-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.yescom-btn-secondary:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

/* Header Styles */
.yescom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-small);
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.yescom-header > div {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--content-padding);
}

.yescom-logo {
    background-image: url('img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 180px;
    height: 60px;
}

.yescom-nav ul {
    display: flex;
    gap: var(--spacing-xl);
}

.yescom-nav a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.yescom-nav a:hover, .yescom-nav a.active {
    color: var(--primary-color);
}

.yescom-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.yescom-nav a:hover::after, .yescom-nav a.active::after {
    width: 100%;
}

/* Hero Section */
.yescom-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-section);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.8), rgba(240, 255, 250, 0.8));
    position: relative;
    overflow: hidden;
}

.yescom-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 204, 136, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
}

.yescom-hero-content {
    width: 48%;
    max-width: 520px;
    padding-right: var(--spacing-xl);
}

.yescom-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yescom-hero p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.yescom-hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.yescom-hero-image {
    width: 48%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-large);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    background-image: url('img/hero-app-display.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

.yescom-hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Features Section */
.yescom-features {
    padding: var(--spacing-section) 0;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-features-inner {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.yescom-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.yescom-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.yescom-section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

.yescom-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.yescom-feature-card {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yescom-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.yescom-feature-card img {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-lg);
}

.yescom-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.yescom-feature-card p {
    color: var(--text-medium);
    font-size: 16px;
}

/* Loan Overview Section */
.yescom-loan-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-section) 0;
    background-color: var(--background-white);
}

.yescom-loan-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-loan-content {
    width: 48%;
    max-width: 520px;
}

.yescom-loan-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.yescom-loan-content h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.yescom-loan-content p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.yescom-loan-highlights {
    background: rgba(0, 102, 255, 0.03);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.yescom-loan-highlights li {
    margin-bottom: var(--spacing-md);
    font-size: 16px;
}

.yescom-loan-highlights li:last-child {
    margin-bottom: 0;
}

.yescom-loan-highlights span {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

.yescom-loan-image {
    width: 48%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

/* Credentials Section */
.yescom-credentials {
    padding: var(--spacing-section) 0;
    background-color: var(--background-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-credentials-inner {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-credentials-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.yescom-credential-item {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-small);
    min-width: 230px;
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yescom-credential-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.yescom-credential-item h3 {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.yescom-credential-item p {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Testimonials Section */
.yescom-testimonials {
    padding: var(--spacing-section) 0;
    background-color: var(--background-white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-testimonials-inner {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
}

.yescom-testimonials-slider {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.yescom-testimonial-card {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-small);
    max-width: 48%;
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yescom-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.yescom-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.yescom-testimonial-content {
    flex: 1;
}

.yescom-testimonial-stars {
    color: #ffcc00;
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
}

.yescom-testimonial-content p {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.yescom-testimonial-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.yescom-testimonial-location {
    color: var(--text-light);
    font-size: 14px;
}

/* Download Section */
.yescom-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-section) 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 204, 136, 0.05));
    position: relative;
    overflow: hidden;
}

.yescom-download-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
    position: relative;
    z-index: 1;
}

.yescom-download::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(0, 204, 136, 0.03));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.yescom-download-content {
    width: 48%;
    max-width: 520px;
}

.yescom-download-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.yescom-download-content p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.yescom-download-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.yescom-download-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.yescom-download-badge:hover {
    transform: translateY(-5px);
}

.yescom-app-screens {
    width: 48%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-large);
    background-image: url('img/app-screens.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
}

/* Footer */
.yescom-footer {
    background-color: #f0f4f8;
    padding-top: var(--spacing-xxl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yescom-footer-main {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--content-padding) var(--spacing-xxl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.yescom-footer-company {
    max-width: 350px;
    flex: 1;
    min-width: 250px;
}

.yescom-footer-company p {
    color: var(--text-medium);
    margin-top: var(--spacing-lg);
}

.yescom-footer-links {
    display: flex;
    gap: var(--spacing-xxl);
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.yescom-footer-col {
    min-width: 200px;
}

.yescom-footer-col h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.yescom-footer-col ul li {
    margin-bottom: var(--spacing-md);
}

.yescom-footer-col ul li a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.yescom-footer-col ul li a:hover {
    color: var(--primary-color);
}

.yescom-footer-bottom {
    background-color: #e5eaf0;
    width: 100%;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.yescom-footer-bottom div {
    max-width: var(--container-width);
    padding: 0 var(--content-padding);
    margin: 0 auto;
}

.yescom-footer-bottom p {
    color: var(--text-medium);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --header-height: 70px;
        --spacing-section: 60px;
        --container-width: 960px;
        --content-padding: 30px;
    }

    .yescom-hero h1 {
        font-size: 36px;
    }

    .yescom-section-header h2, 
    .yescom-loan-content h2, 
    .yescom-download-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
        --content-padding: 20px;
    }
    
    .yescom-hero-container,
    .yescom-loan-container,
    .yescom-download-container {
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .yescom-hero-content,
    .yescom-loan-content,
    .yescom-download-content,
    .yescom-hero-image,
    .yescom-loan-image,
    .yescom-app-screens {
        width: 100%;
        max-width: 600px;
    }

    .yescom-loan-content h2::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .yescom-download-buttons,
    .yescom-hero-buttons {
        justify-content: center;
    }
    
    .yescom-credential-item {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --spacing-section: 50px;
        --container-width: 540px;
    }

    .yescom-header > div {
        padding: 0 var(--content-padding);
    }

    .yescom-logo {
        width: 140px;
    }

    .yescom-nav {
        display: none;
    }

    .yescom-hero h1 {
        font-size: 32px;
    }

    .yescom-hero p, 
    .yescom-section-header p, 
    .yescom-loan-content p, 
    .yescom-download-content p {
        font-size: 16px;
    }

    .yescom-features-grid {
        grid-template-columns: 1fr;
    }

    .yescom-section-header h2, 
    .yescom-loan-content h2, 
    .yescom-download-content h2 {
        font-size: 28px;
    }
    
    .yescom-credential-item {
        width: 100%;
        max-width: none;
    }
    
    .yescom-testimonial-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --content-padding: 15px;
    }
    
    .yescom-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .yescom-hero-buttons, 
    .yescom-download-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .yescom-testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .yescom-hero h1 {
        font-size: 28px;
    }

    .yescom-section-header h2, 
    .yescom-loan-content h2, 
    .yescom-download-content h2 {
        font-size: 24px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yescom-hero-content, 
.yescom-section-header, 
.yescom-feature-card, 
.yescom-loan-content, 
.yescom-credential-item, 
.yescom-testimonial-card, 
.yescom-download-content {
    animation: fadeInUp 0.8s ease forwards;
}

.yescom-feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.yescom-feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.yescom-feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.yescom-credential-item:nth-child(2) {
    animation-delay: 0.1s;
}

.yescom-credential-item:nth-child(3) {
    animation-delay: 0.2s;
}

.yescom-testimonial-card:nth-child(2) {
    animation-delay: 0.1s;
}

.yescom-download-btn {
    font-size: 18px;
    padding: 14px 32px;
    min-width: 200px;
    text-align: center;
    margin: 10px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}