/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

    .nav a:not(.btn-scm-login)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav a:not(.btn-scm-login):hover::after {
        width: 100%;
    }

    .nav a:hover {
        color: var(--primary-color);
    }

.nav .btn-scm-login {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav li a .btn-scm-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .mobile-menu-toggle span {
        width: 1.5rem;
        height: 2px;
        background-color: var(--text-dark);
        transition: all 0.3s ease;
    }

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust {
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

    .hero-trust strong {
        font-size: 1.1rem;
        color: var(--accent-color);
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-primary .btn-arrow {
        transition: transform 0.3s ease;
    }

    .btn-primary:hover .btn-arrow {
        transform: translateX(4px);
    }

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

    .btn-secondary:hover {
        background-color: white;
        color: var(--primary-color);
    }

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-link {
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

    .btn-link:hover {
        background-color: var(--bg-light);
    }

/* Sections */
.section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header h2 {
        font-size: 2.75rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

.section-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Story Section */
.story {
    background-color: var(--bg-white);
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .story-header h2 {
        font-size: 2.75rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .story-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-color);
    }

.story-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.story-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.story-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-lighter);
}

.steps {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

    .step:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-lg);
    }

.step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.step-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

    .cta-box h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-box p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

/* Benefits Section */
.benefits {
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
    }

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonial Section */
.testimonial {
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-light));
    padding: 5rem 0;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -2rem;
}

blockquote {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .testimonial-author strong {
        font-size: 1.125rem;
        color: var(--text-dark);
    }

    .testimonial-author span {
        color: var(--text-light);
    }

/* Contact Section */
.contact {
    background: linear-gradient(0deg, var(--bg-light), var(--bg-lighter));
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
    }

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

    .contact-item a:hover {
        text-decoration: underline;
    }

.contact-sub {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.final-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.final-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.final-cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .footer-logo h3 {
        font-size: 1.5rem;
        font-weight: 700;
    }

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.75rem;
    }

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

    .footer-section a:hover {
        opacity: 1;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-bottom p {
        opacity: 0.7;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

        .nav.active {
            display: block;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-lg);
        }

            .nav.active ul {
                flex-direction: column;
                padding: 1rem;
                gap: 0;
            }

                .nav.active ul li {
                    width: 100%;
                    padding: 0.75rem 0;
                    border-bottom: 1px solid var(--border-color);
                }

                    .nav.active ul li:last-child {
                        border-bottom: none;
                    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header .container {
        position: relative;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-content h2 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .story-content,
    .benefits-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    blockquote {
        font-size: 1.25rem;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-content h2 {
        font-size: 1.875rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Page Transition Overlay - Button Expand Effect */
.page-transition-overlay {
    position: fixed;
    background: white;
    color: var(--primary-color);
    z-index: 99999;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

    .page-transition-overlay .btn-text {
        position: relative;
        z-index: 1;
        white-space: nowrap;
        transition: opacity 0.3s ease;
    }

    /*.page-transition-overlay.move-center {
    left: 50% !important;
    top: 50% !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
*/
    .page-transition-overlay.active {
        transform: translate(-50%, -50%) scale(30);
        pointer-events: all;
    }

        .page-transition-overlay.active .btn-text {
            opacity: 0;
        }
/*
.page-transition-overlay .spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    opacity: 0;
    margin-left: -25px;
    margin-top: -25px;
    animation: spin 0.8s linear infinite, fadeInSpinner 0.3s ease 0.5s forwards;
    z-index: 100000;
}
*/
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInSpinner {
    to {
        opacity: 1;
    }
}

/* Fade out effect for page */
body.page-transitioning {
    overflow: auto;
}
