/* Home Page Specific Styles */

/* Hero - Breathtaking */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 64px 120px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 96px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00a86b;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1.5px;
}

.hero-content h1::selection {
    background: rgba(0, 168, 107, 0.2);
}

.hero-content p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
    letter-spacing: -0.2px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 64px;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 15px;
}

.hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    letter-spacing: -0.1px;
}

/* Dashboard Mockup - Stunning */
.hero-image {
    position: relative;
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 40px 120px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-mockup:hover {
    transform: translateY(-8px) scale(1.01);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.1px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e5e5;
    transition: background 0.3s ease;
}

.mockup-dot:nth-child(1):hover { background: #ff5f57; }
.mockup-dot:nth-child(2):hover { background: #ffbd2e; }
.mockup-dot:nth-child(3):hover { background: #28ca42; }

.mockup-content {
    background: linear-gradient(135deg, #00a86b 0%, #008f5c 100%);
    height: 420px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.mockup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mockup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 100%);
}

/* Trust Section - Elegant */
.clients {
    padding: 80px 64px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.clients-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.clients-title {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 56px;
    align-items: center;
}

.client-logo {
    font-size: 40px;
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 0.6;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Features - Beautiful Grid */
.features {
    padding: 120px 64px;
    max-width: 1280px;
    margin: 0 auto;
    background: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00a86b, #008f5c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 168, 107, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.08) 0%, rgba(0, 168, 107, 0.04) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: -0.1px;
}

/* Hero Centered (sans mockup) */
.hero.hero-centered {
    min-height: auto;
    padding: 160px 64px 100px;
}

.hero.hero-centered .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
}

.hero-content.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content.centered p {
    max-width: 640px;
}

.hero-content.centered .hero-buttons {
    justify-content: center;
}

.hero-content.centered .hero-stats {
    justify-content: center;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 64px;
    background: white;
    max-width: 1280px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00a86b, #008f5c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.08) 0%, rgba(0, 168, 107, 0.04) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 32px auto 24px;
    color: #00a86b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.15) 0%, rgba(0, 168, 107, 0.08) 100%);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.step-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Compliance Section */
.compliance {
    padding: 100px 64px;
    background: #fafafa;
}

.compliance-container {
    max-width: 1280px;
    margin: 0 auto;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.compliance-item i {
    font-size: 28px;
    color: #00a86b;
    flex-shrink: 0;
}

.compliance-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.compliance-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Features CTA */
.features-cta {
    text-align: center;
    margin-top: 48px;
}

.features-cta .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.features-cta .btn:hover i {
    transform: translateX(4px);
}

/* Responsive - Flawless */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

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

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 120px 32px 80px;
    }

    .hero.hero-centered {
        padding: 140px 32px 80px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features,
    .clients,
    .cta,
    .how-it-works,
    .compliance,
    footer {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 640px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}
