* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #20c997;
    --accent-color: #ff6b6b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --dark: #12151a;
    --light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #475569;
    --muted: #64748b;
    --card: rgba(255, 255, 255, 0.85);
    --card-border: rgba(148, 163, 184, 0.25);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e6f0ff 0%, #ffffff 60%);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 1100;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

..mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top, rgba(13, 110, 253, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(32, 201, 151, 0.12), transparent 50%),
                linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary-color);
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Image Slider */
.image-slider {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.slide {
    display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.slide-caption {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-cta {
    margin: 2rem 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(13, 110, 253, 0.25);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.header-cta {
    display: none;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    margin-left: 1.5rem;
}

@media (min-width: 992px) {
    .header-cta {
        display: inline-flex;
    }
}

/* Trust Badges */
.trust-badges-hero {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.09);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-badge svg {
    color: var(--primary-color);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.25);
}

.step-icon {
    margin: 2rem 0 1.5rem;
    color: var(--primary-color);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--muted);
    line-height: 1.6;
}

/* Gallery */
.gallery {
    padding: 4rem 0;
    background: rgba(250, 250, 255, 0.95);
}

.gallery-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: var(--card);
}

.gallery-slide {
    display: none;
}

.gallery-slide.active {
    display: block;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Features */
.features {
    padding: 4rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.feature-card:hover {
    border-color: rgba(13, 110, 253, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* About */
.about {
    padding: 4rem 0;
    background: rgba(13, 110, 253, 0.04);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-item svg {
    color: var(--success-color);
}

/* Legal & Compliance */
.legal-compliance {
    padding: 4rem 0;
    background: rgba(245, 250, 255, 0.92);
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.legal-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.legal-card:hover {
    transform: translateY(-5px);
}

.legal-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.legal-link:hover {
    color: var(--secondary-color);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.compliance-badge svg {
    color: var(--primary-color);
}

.compliance-badge span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.9);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.99));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Download Button */
.floating-download-btn-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    max-width: 100%;
    width: 90%;
    max-width: 400px;
    margin: 0;
}

.floating-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #fff5f0;
}

.floating-download-btn svg {
    color: var(--primary-color);
}

body {
    padding-bottom: 100px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 110px;
    right: 1rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(340px, calc(100vw - 2rem));
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border-left: 5px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--warning-color);
}

.toast .toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
    padding: 0;
}

.toast.hide {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 4.5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    font-size: 1.2rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges-hero {
        flex-direction: column;
        align-items: center;
    }

    .compliance-badges {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-download-btn span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .step-card,
    .feature-card {
        padding: 1.5rem;
    }

    .floating-download-btn-container {
        padding: 0.75rem;
    }

    .floating-download-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 85%;
        gap: 8px;
    }

    .floating-download-btn svg {
        width: 20px;
        height: 20px;
    }

    .floating-download-btn span {
        font-size: 0.85rem;
    }
}
