/* CSS Reset & Basic Styling */
:root {
    --primary-color: #2563eb; /* Biru yang kuat dan profesional */
    --secondary-color: #f97316; /* Oranye sebagai aksen yang hangat */
    --dark-color: #1e293b; /* Abu-abu gelap untuk teks */
    --light-color: #f8fafc; /* Latar belakang terang */
    --grey-color: #94a3b8; /* Abu-abu untuk sub-teks */
    --whatsapp-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -10px auto 50px;
    color: #475569;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn:disabled {
    background: var(--grey-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-secondary:hover {
    background: #ea580c;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.navbar.scrolled .logo {
    height: 45px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo-link {
    display: flex;
    align-items: center;
}

.navbar .logo {
    height: 70px; /* Saran dari Kang Koding */
    width: auto;
    transition: height 0.3s ease;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero .bg-shapes div {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    animation: float 20s infinite linear;
}
.hero .bg-shapes .shape-1 { width: 150px; height: 150px; top: 10%; left: 15%; animation-duration: 25s; }
.hero .bg-shapes .shape-2 { width: 50px; height: 50px; top: 25%; left: 40%; animation-duration: 18s; }
.hero .bg-shapes .shape-3 { width: 100px; height: 100px; top: 70%; left: 10%; animation-duration: 22s; }
.hero .bg-shapes .shape-4 { width: 80px; height: 80px; top: 20%; right: 15%; animation-duration: 20s; }
.hero .bg-shapes .shape-5 { width: 120px; height: 120px; top: 80%; right: 20%; animation-duration: 28s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.hero h1 span {
    color: var(--primary-color);
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #475569;
}

/* Campaign Section */
#campaign {
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: #fff;
    text-align: center;
    border-radius: 20px;
    margin: -40px 20px 0;
    position: relative;
    z-index: 10;
}
#campaign .container {
    padding: 60px 20px;
}
.campaign-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: rocket-launch 3s ease-in-out infinite;
}
@keyframes rocket-launch {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
#campaign h2 {
    color: #fff;
    margin-bottom: 15px;
}
.campaign-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.offer-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 20px;
}
.offer-box p {
    font-size: 1.2rem;
    font-weight: 600;
}
.deadline {
    margin-top: 10px;
    font-weight: 500;
    opacity: 0.8;
}

/* Sector Choice Section */
#sector-choice {
    background: var(--light-color);
    padding-top: 120px;
}
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.sector-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}
.sector-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.sector-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.sector-card p {
    font-size: 0.9rem;
    color: var(--grey-color);
}
.sector-card:hover, .sector-card.active {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}
.sector-card.active i {
    color: var(--secondary-color);
}

/* Insight Counter Section */
#insight-counter {
    background: var(--dark-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
#insight-counter h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}
#insight-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Video Profile Section */
#video-profile {
    padding: 60px 0;
}
.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Section Solusi */
#solusi {
    padding-top: 40px;
}
.solusi-wrapper {
    display: none;
    animation: fadeIn 0.8s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.solusi-wrapper.active {
    display: block;
}
.solusi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.solusi-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
    display: flex;
    flex-direction: column;
}
.solusi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.solusi-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.solusi-card .price {
    font-size: 1rem;
    font-weight: 500;
    color: var(--grey-color);
    margin-bottom: 25px;
}
.solusi-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}
.solusi-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}
.solusi-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}
.solusi-card .btn {
    margin-top: auto;
}
.solusi-card.custom {
    border-color: #6b7280;
    border-style: dashed;
    border-width: 2px;
    border-top-width: 5px;
    border-top-style: solid;
}

/* BRANDING & TESTIMONIAL SECTIONS */
.brand-section, .testimonial-section {
    padding-top: 60px;
}
.brand-section h2 {
    color: var(--primary-color);
}
.brand-message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.message-card {
    text-align: center;
}
.message-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.message-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #475569;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.testimonial-author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
}
.testimonial-author-info span {
    font-size: 0.9rem;
    color: var(--grey-color);
}
.partnership-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.strategy-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.strategy-card .step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.strategy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Styling untuk Generator AI Baru */
.ai-innovation-section {
    background-color: #fff;
}
.generator-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.generator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.input-group {
    display: flex;
    flex-direction: column;
}
.input-group-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.generator-box label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}
.generator-box input,
.generator-box select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
.generator-box button {
    width: 100%;
    font-size: 1.1rem;
}

/* Modal for AI Result */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    animation: slide-down 0.5s ease-out;
    text-align: left;
    white-space: pre-wrap; /* Agar hasil AI rapi */
}
@keyframes slide-down {
    from { top: -100px; opacity: 0; }
    to { top: 0; opacity: 1; }
}
.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover, .close-btn:focus {
    color: black;
}
#result-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}
#result-content h5 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}
#result-content ul {
    list-style-position: inside;
    padding-left: 0;
}
#result-content li {
    margin-bottom: 8px;
}

/* Loader */
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid var(--primary-color);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Kontak & Footer */
#kontak {
    background: var(--dark-color);
    color: #fff;
}
#kontak h2 {
    color: #fff;
}
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: center;
}
.kontak-form input, .kontak-form textarea, .kontak-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: #334155;
    color: #f1f5f9;
}
.kontak-form input::placeholder, .kontak-form textarea::placeholder {
    color: #94a3b8;
}
.kontak-form select {
    color: var(--grey-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1em;
}
.kontak-form select:focus, .kontak-form select:valid {
    color: #f1f5f9;
}
.kontak-form option {
    color: var(--dark-color);
}
.kontak-info p {
    margin-bottom: 15px;
}
.kontak-info p a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.kontak-info p a:hover {
    color: var(--secondary-color);
}
.kontak-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}
.social-media {
    margin-top: 20px;
}
.social-media a {
    color: #fff;
    font-size: 1.8rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.social-media a:hover {
    color: var(--secondary-color);
}

.footer {
    background: #111827;
    color: var(--grey-color);
    text-align: center;
    padding: 20px 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .sector-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .navbar .nav-links.active {
        display: flex;
    }
    .navbar .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .hamburger {
        display: flex;
    }

    .solusi-grid, .testimonial-grid, .ai-feature-grid, .generator-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}