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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    min-height: 100vh;
}

.container {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

.feature-card {
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* Feature Header */
.feature-header {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.feature-link:hover {
    color: #2563eb;
    transform: translateX(4px);
}

.feature-icon {
    color: #14b8a6;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.feature-link:hover .feature-icon {
    color: #0d9488;
}

.feature-title {
    flex: 1;
}

.external-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.feature-link:hover .external-icon {
    opacity: 1;
}

.feature-description {
    color: #4b5563;
    margin-top: 0.5rem;
    margin-left: 2.25rem;
    line-height: 1.7;
}

/* Feature Image - 16:9 Landscape Ratio */
.feature-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    background: #f8fafc;
    /* 16:9 Aspect Ratio using CSS aspect-ratio */
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 1;
}

.feature-image-container:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.feature-image-link {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    background: #f8fafc;
}

.feature-image-container:hover .feature-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-image-container:hover .image-overlay {
    opacity: 1;
}

.image-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #374151;
}

.feature-image-container:hover .image-arrow {
    opacity: 1;
}

/* Call to Action */
.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.cta-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 40px -6px rgba(37, 99, 235, 0.4);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    max-width: 32rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .cta-card {
        margin: 0 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* 16:9 ratio tetap konsisten di mobile */
    .feature-image-container {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .feature-link {
        font-size: 1.125rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    /* 16:9 ratio tetap konsisten di layar sangat kecil */
    .feature-image-container {
        aspect-ratio: 16 / 9;
    }
}