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

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e1a;
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a9c0;
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #0a0e1a 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

nav a:hover {
    color: var(--text-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a0a9c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.3s both;
    padding: 0 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.6);
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

.section {
    margin-bottom: 100px;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a9c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 1rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* AI Implementation Cards */
.ai-implementations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.implementation-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.implementation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.implementation-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

.implementation-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.implementation-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover::before {
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.benefit-item h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.benefit-item p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    padding: 0 1rem;
}

.cta-section p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
}

.footer-section p, .footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero h1{
        margin-top: 50px;
    }

    .header-content {
        justify-content: space-between;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .main-content {
        padding: 60px 0;
    }

    .section {
        margin-bottom: 80px;
    }

    .section h2 {
        margin-bottom: 3rem;
    }

    .ai-implementations {
        gap: 1.5rem;
    }

    .implementation-card {
        padding: 1.8rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .benefits {
        padding: 60px 0;
    }

    .benefits #manfaat{
        text-align: center;
    }

    .benefits-grid {
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .benefit-item {
        padding: 1.8rem;
    }

    .cta-section {
        padding: 60px 0;
    }

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

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

    footer {
        padding: 40px 0 30px;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 1.5rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .implementation-card, .benefit-item {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        border-radius: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .implementation-card, .benefit-item {
        padding: 1.2rem;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

/* Landscape tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        padding: 120px 0 80px;
    }

    .ai-implementations {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Large screen adjustments */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

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

/* High density displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .cta-button, .implementation-card, .benefit-item {
        border-width: 0.5px;
        text-align: center;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for better accessibility */
a:focus, button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}