/* --- VARIABEL & RESET --- */
:root {
    --bg-body: #050505;
    --bg-card: #121212;
    --bg-nav: rgba(10, 10, 10, 0.85);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-purple: #9d4edd;
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #9d4edd 100%);
    --gradient-text: linear-gradient(90deg, #d4af37, #f3e5ab);
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITY CLASSES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: #f3e5ab;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

/* --- HEADER & NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.brand span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-icons a:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HOME HERO --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
    padding-top: var(--header-height);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.vm-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.vm-card h3 {
    margin-bottom: 15px;
    color: var(--accent-gold);
}

/* --- FOUNDER PROFILE SECTION --- */
.section {
    padding: 60px 0;
}

.section-compact {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Developer Card */
.developers-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.developer-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
}

.developer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.developer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease;
}

.developer-card:hover .developer-img {
    transform: scale(1.05);
}

.developer-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
}

.developer-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.developer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.developer-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.developer-link:hover {
    color: #f3e5ab;
}

.developer-link i {
    font-size: 1.1rem;
}

.developer-separator {
    color: var(--text-muted);
    font-weight: 300;
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- PRODUCT --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-text);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.status-available { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-dev { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.status-coming { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }

.product-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- NEWS --- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.news-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.news-date {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    text-align: center;
}

.news-date span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- FORM INPUT --- */
input, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    
    .hamburger { 
        display: block; 
        color: #fff; 
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-150%);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
    }
    
    .nav-container {
        padding: 0 20px;
    }

    .social-icons {
        display: none;
    }
    
    .vision-mission { 
        grid-template-columns: 1fr; 
        margin-top: 50px;
    }
    
    .news-item { 
        flex-direction: column; 
    }
    
    .news-date { 
        flex-direction: row; 
        gap: 10px; 
        justify-content: flex-start; 
        padding: 10px 20px;
        min-width: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .developer-card {
        max-width: 280px;
        padding: 25px 20px;
    }
    
    .developer-img {
        width: 100px;
        height: 100px;
    }
    
    .developer-card h3 {
        font-size: 1.2rem;
    }
    
    .developer-socials {
        flex-direction: column;
        gap: 8px;
    }
    
    .developer-separator {
        display: none;
    }
}
