* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f9fafb;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 217, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    border: 2px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s;
    max-width: 100%;
}

.logo-container:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 45px;
    border-radius: 8px;
    transition: all 0.3s;
	
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.logo-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #00d9ff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d9ff;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cta-button.cta-secondary {
    background: #374151;        /* Abu tua */
    color: #84cc16;             /* Lime */
    margin-left: 0;
    margin-right: 1rem;
}

.cta-button.cta-secondary:hover {
    background: #4b5563;        /* Abu lebih terang */
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.3);
    border-color: #84cc16;
}

.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-primary {
    background: #93C5FD;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
	border: 2px solid white;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: yellow;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.features {
    padding: 5rem 2rem;
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

.stats {
    padding: 4rem 2rem;
    background: var(--dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
}

.pricing {
    padding: 5rem 2rem;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.pricing-card.pricing-card-premium {
    border-color: #60a5fa;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1f2937;
    transform: scale(1.05);
}

.pricing-card.pricing-card-premium:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-card.pricing-card-premium .features-list i {
    color: #2563eb;
}

.pricing-card.pricing-card-premium .pricing-button {
    background: #2563eb;
    color: white;
}

.pricing-card.pricing-card-premium .pricing-button:hover {
    background: #1d4ed8;
}

.pricing-card.pricing-card-lifetime {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
    color: white;
    transform: scale(1.05);
}

.pricing-card.pricing-card-lifetime:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-card.pricing-card-lifetime .features-list i {
    color: #60a5fa;
}

.pricing-card.pricing-card-lifetime .pricing-button {
    background: white;
    color: #1e3a8a;
}

.pricing-card.pricing-card-lifetime .pricing-button:hover {
    background: #f3f4f6;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.pricing-card .description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    display: block;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.pricing-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.faq {
    padding: 5rem 2rem;
    background: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== BROKER LOGOS SECTION ===== */
.brokers-section {
    padding: 4rem 2rem;
    background: white;
    overflow: hidden;
}

.brokers-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.brokers-section p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.broker-scroll-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.broker-logos-auto {
    display: flex;
    gap: 2rem;
    animation: scroll-brokers 30s linear infinite;
}

.broker-logos-auto:hover {
    animation-play-state: paused;
}

@keyframes scroll-brokers {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.broker-logo-item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* ✅ DARI: 1rem → JADI: 1px */
    transition: all 0.3s;
    position: relative;
}

.broker-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
    border-color: var(--primary);
}

.broker-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0);
    transition: all 0.3s;
	object-fit: contain; /* Keep aspect ratio */
}

.broker-logo-item:hover img {
    filter: grayscale(0) brightness(1.1);
}

@media (max-width: 768px) {
    .broker-logo-item {
        width: 120px;
        height: 70px;
    }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.portfolio-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.portfolio-section p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.portfolio-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-widget {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.portfolio-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.portfolio-widget iframe {
    width: 100%;
    min-height: 140px;
    border: none;
}

@media (max-width: 768px) {
    .portfolio-widgets {
        grid-template-columns: 1fr;
    }
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-section {
    padding: 3rem 2rem;
    background: #fff3cd;
    border-top: 4px solid #ff9800;
    border-bottom: 4px solid #ff9800;
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 152, 0, 0.5);
    }
}

.disclaimer-text {
    flex: 1;
    color: #664d03;
}

.disclaimer-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #dc3545;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.disclaimer-text strong {
    color: #dc3545;
    font-weight: 700;
}

.disclaimer-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.disclaimer-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.disclaimer-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: #dc3545;
    border-radius: 50%;
}

.disclaimer-warning {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin: 1.5rem 0;
}

.disclaimer-footer {
    background: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .disclaimer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer-icon {
        margin: 0 auto;
    }
    
    .disclaimer-text h3 {
        justify-content: center;
    }
    
    .disclaimer-list {
        text-align: left;
    }
}

.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo-container {
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 35px;
    }
    
    .logo-brand {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .pricing-card.pricing-card-premium,
    .pricing-card.pricing-card-lifetime {
        transform: scale(1);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

/* ===== CHAT SUPPORT BUTTONS ===== */
.chat-buttons {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    transition: bottom 0.3s ease;
}

/* Adjust position when near footer */
.chat-buttons.at-footer {
    bottom: 120px;
}

.chat-buttons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-buttons a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-buttons a:hover {
    transform: scale(1.15);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn:hover {
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.5);
}

.telegram-btn:hover {
    box-shadow: 0px 6px 20px rgba(0, 136, 204, 0.5);
}

@media (max-width: 768px) {
    .chat-buttons {
        bottom: 70px;
        right: 15px;
        gap: 10px;
    }
    
    .chat-buttons.at-footer {
        bottom: 100px;
    }

    .chat-buttons a {
        width: 50px;
        height: 50px;
    }
}