:root {
    --primary-color: #0066cc;
    --secondary-color: #333;
    --background-color: #fff;
    --light-background: #f8f9fa;
    --text-color: #333;
    --light-text: #999;
    --border-color: #ddd;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
}

.button.secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-links a {
    color: var(--secondary-color);
    text-shadow: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.header.scrolled .nav-links a::after {
    background-color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    text-align: center;
    background-color: #f5f5f5;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/index-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-in;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-in 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-in 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Stats Section */
.stats {
    padding: 8rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: -1px;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

.stats h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.5;
    max-width: 200px;
    margin: 0 auto;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .stats-grid {
        gap: 2rem;
        padding: 0 3rem;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .stats {
        padding: 6rem 0;
    }

    .stats h2 {
        font-size: 2.5rem;
        padding: 0 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .stats {
        padding: 4rem 0;
    }
    
    .stats h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.solutions .section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 4rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.solution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.solution-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
}

.solution-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-content p {
    color: var(--light-text);
    margin-bottom: 0;
    line-height: 1.6;
}

.solution-card .platform-buttons {
    margin-top: 0;
    padding: 1.5rem 2rem;
    border-top: 1px solid #EAEAEA;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.platform-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.platform-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.platform-icon:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .solution-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .solutions {
        padding: 4rem 0;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-image {
        height: 180px;
    }

    .solution-content {
        padding: 1.5rem;
    }

    .solutions .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background-color: var(--light-background);
}

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

.partner-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-grid img:hover {
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.contact-form button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Contact form success message */
.form-success {
    display: none;
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background-color: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Loading state */
.contact-form.loading .button-text {
    visibility: hidden;
}

.contact-form.loading .loading-indicator {
    display: block;
}

.loading-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--light-text);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-background {
        height: 100vh;
    }
    
    .hero .container {
        padding-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .solution-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

/* Platform buttons styles */
.platform-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.platform-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #F5F5F7;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.platform-button:hover {
    background: #E8E8E8;
    transform: translateY(-2px);
}

.platform-button img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.platform-button.android {
    background: #F8F9FA;
}

.platform-button.ios {
    background: #F5F5F7;
}

/* Add platform button container to solution cards */
.solution-card .platform-buttons {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid #EAEAEA;
} 