/* --- ROOT VARIABLES & BASE STYLES --- */
:root {
    --blue-neuro: #0A2B5E;
    --gold-circuit: #C5A554;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --text-dark: #333333;
    --text-light: #E0E0E0;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-dark { color: var(--blue-neuro) !important; }
.light { color: var(--text-light) !important; }

/* --- HEADER --- */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--blue-neuro);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold-circuit);
}

/* --- SECTIONS --- */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #666;
}

/* Hero Section */
.hero-section {
    background-color: var(--off-white);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--blue-neuro);
    margin-bottom: 15px;
}

.hero-title em {
    font-style: italic;
    font-weight: 600;
    color: var(--gold-circuit);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn {
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--blue-neuro);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-circuit);
    color: var(--blue-neuro);
}

/* Approach Section */
.approach-section {
    background-color: var(--blue-neuro);
    color: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.approach-item .approach-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold-circuit);
    display: block;
    margin-bottom: 10px;
}

.approach-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    background-color: var(--off-white);
}

.team-layout {
    margin-top: 50px;
}

.team-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.team-row:last-child {
    margin-bottom: 0;
}

.team-member {
    text-align: center;
    flex-basis: 220px;
    flex-grow: 0;
    flex-shrink: 0;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h4 {
    color: var(--blue-neuro);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.9rem;
    color: #555;
}

/* App Section */
.app-section {
    background-color: var(--white);
}

.app-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-visual {
    flex: 1;
    text-align: center;
}

.app-visual img {
    max-width: 300px;
}

.app-info {
    flex: 1.5;
}

.app-info .section-title {
    text-align: left;
    margin-bottom: 15px;
}

.app-buttons {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-secondary {
    background: none;
    border: 2px solid var(--blue-neuro);
    color: var(--blue-neuro);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--blue-neuro);
    color: var(--white);
}

.play-store-badge img {
    height: 48px;
    transition: transform 0.2s ease;
}

.play-store-badge img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--blue-neuro);
    color: var(--white);
}

.contact-form {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    display: flex;
    flex: 1 1 calc(50% - 10px);
    gap: 20px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-sans);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--gold-circuit);
    color: var(--blue-neuro);
    border: none;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--white);
}

/* Footer */
.main-footer-section {
    background-color: var(--blue-neuro);
    color: var(--text-light);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.powered-by {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.pt-logo {
    max-height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    text-decoration: none;
    color: var(--text-light);
}

.social-links a i {
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-links a:hover i {
    color: var(--gold-circuit);
}

.copyright {
    font-size: 0.9rem;
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* <-- INI PERBAIKANNYA */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
}

.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }
    
    .form-group {
        flex-direction: column;
        flex: 1 1 100%;
    }
    
    .app-container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-info .section-title {
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
        flex-direction: column;
    }
}