/* Landing Page Styles */
/* Modern dark-themed marketing landing page for Finance Gateway */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

/* Background image layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/landing/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Gradient overlay for blended edges */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom,
            #0a0a0a 0%,
            transparent 20%,
            transparent 80%,
            #0a0a0a 100%),
        linear-gradient(to right,
            #0a0a0a 0%,
            transparent 15%,
            transparent 85%,
            #0a0a0a 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: #00ffff;
    background: linear-gradient(135deg, #00ffff, #00cccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #00ffff, #00cccc);
    color: #000;
    border-color: #00ffff;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.4);
    filter: brightness(1.1);
}

.cta-button.secondary {
    background: transparent;
    color: #00ffff;
    border-color: #00ffff;
}

.cta-button.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

/* Solutions Section */
.solutions-section {
    padding: 20px 20px 100px;
    background: #0a0a0a;
}

.solutions-header {
    text-align: center;
    margin-bottom: 70px;
}

.solutions-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.solutions-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
}

/* Product Cards Grid */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

/* Product Card Link Wrapper */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product Card */
.product-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #2d2d2d;
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #00cccc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.product-card-link:hover .product-card::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
}

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

.product-image-placeholder {
    font-size: 4rem;
    color: #00ffff;
    opacity: 0.3;
    position: relative;
    z-index: 1;
}

.product-content {
    padding: 32px 28px;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.product-description {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.discover-button {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.product-card-link:hover .discover-button {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(4px);
}

/* Minimal Navigation */
.minimal-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .logo-accent {
    color: #00ffff;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #00ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 80px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .solutions-section {
        padding: 60px 20px;
    }

    .solutions-header {
        margin-bottom: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .minimal-nav {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .product-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .product-content {
        padding: 24px 20px;
    }

    .product-name {
        font-size: 1.3rem;
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.product-card-link {
    animation: fadeInUp 0.8s ease-out backwards;
}

.product-card-link:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card-link:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card-link:nth-child(3) {
    animation-delay: 0.3s;
}
