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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #4299e1;
    font-size: 1.5rem;
}

.logo span {
    color: #2d3748;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #2d3748;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4299e1;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-ghost {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #4a5568;
    color: #4a5568;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: #4a5568;
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content h1 .highlight {
    color: #ffffff;
    background: #4299e1;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #4299e1;
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Image / AI Interface */
.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.ai-interface {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
}

.chat-history {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.message {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    max-width: 80%;
    font-size: 0.875rem;
}

.message.bot-message {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    margin-left: 0;
}

.message.user-message {
    background: #ffffff;
    color: #2d3748;
    margin-right: 0;
    text-align: right;
}

.input-area {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.input-area input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.875rem;
}

.input-area input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-area button {
    background: #4299e1;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.input-area button:hover {
    background: #2c5aa0;
}

.input-area button i {
    color: white;
    font-size: 1rem;
}

/* Fitur Section */
.features {
    padding: 6rem 0;
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #4299e1;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid #4299e1;
}

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

.feature-card .card-icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-size: 1.25rem;
}

/* Capabilities Section */
.capabilities {
    padding: 6rem 0;
    background: white;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.capability-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.capability-card:hover {
    background: #4299e1;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(66, 153, 225, 0.2);
}

.capability-card:hover .cap-icon {
    color: white;
}

.capability-card:hover h3 {
    color: white;
}

.cap-icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 1rem;
    display: block;
}

.capability-card h3 {
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-size: 1.25rem;
    transition: color 0.3s;
}

/* Footer */
footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: #4299e1;
}

.footer-description {
    font-size: 0.875rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: #4a5568;
    color: white;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    background: #2d3748;
}

.social-link i {
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #4a5568;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-image {
        order: -1; 
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        margin-top: 1rem;
    }
}
