:root {
    --primary-color: #4a6cf7;
    --primary-dark: #3652c8;
    --secondary-color: #f3f5ff;
    --text-color: #333;
    --text-light: #666;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --premium-color: #9c59b6;
    --premium-dark: #8e44ad;
    --border-color: #eaeaea;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9faff;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
}

nav a:hover {
    color: var(--primary-color);
}

.btn-docs {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.btn-docs:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 108, 247, 0.15);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-copy {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    background-color: #e8ebff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 0;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Animation for floating image */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.premium {
    border: 2px solid var(--premium-color);
    transform: translateY(-5px) scale(1.02);
    z-index: 1;
}

.pricing-card.premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(156, 89, 182, 0.2);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--premium-color);
    color: white;
    padding: 5px 40px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price del {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.price .discount-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-card.premium .price .discount-price {
    color: var(--premium-color);
}

.price .discount-tag {
    background-color: #ffecb3;
    color: #ff8f00;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 25px;
}

.pricing-features ul {
    list-style: none;
    padding-left: 0;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

/* Order Section */
.order {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.order h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Order container - masih butuh max-width untuk form */
.order-container {
    max-width: 900px;
    margin: 0 auto;
}

.order-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

/* Step styling - memperbaiki garis urutan */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 33.333%;
}

.step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
    transition: var(--transition);
}

.step.active .step-number {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.step-title {
    font-weight: 500;
    font-size: 0.9rem;
}

.order-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.order-form {
    display: none;
    padding: 30px;
}

.order-form.active {
    display: block;
}

.order-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.payment-details {
    max-width: 500px;
    margin: 0 auto;
}

.payment-info {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.payment-row:last-child {
    border-bottom: none;
}

/* Bagian QRIS - memperbaiki posisi ke tengah */
.qris-container {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qris-image {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qris-image img {
    max-width: 100%;
    max-height: 100%;
}

.qris-loading {
    color: var(--text-light);
}

.qris-instructions {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.payment-status {
    text-align: center;
    margin-top: 20px;
}

.status-indicator {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.status-indicator.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-indicator.success {
    background-color: #d4edda;
    color: #155724;
}

.status-indicator.expired {
    background-color: #f8d7da;
    color: #721c24;
}

.time-remaining {
    color: var(--text-light);
    font-size: 0.9rem;
}

.expired-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    border-left: 4px solid #ffc107;
}

.warning-message {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.warning-message::before {
    content: '⚠️';
    font-size: 1.5rem;
}

/* Token options in order form */
.token-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.token-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
}

.token-option:hover {
    border-color: var(--primary-color);
}

.token-option input[type="radio"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

.token-option input[type="radio"]:checked + .token-option-content {
    background-color: rgba(74, 108, 247, 0.05);
}

.token-option input[type="radio"]:checked + .token-option-content::before {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.token-option-content {
    padding: 15px 20px;
    padding-right: 45px; /* Menambah padding di kanan untuk memberi ruang pada ikon check */
    position: relative;
    width: 100%;
    transition: var(--transition);
}

.token-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.token-option-header h4 {
    margin: 0;
    font-size: 16px;
    max-width: calc(100% - 80px); /* Batasi lebar untuk menghindari tumpang tindih */
}

.token-price {
    font-weight: 600;
    color: var(--primary-color);
}

.token-option-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* Override for premium option */
.token-option:nth-child(2):hover {
    border-color: var(--premium-color);
}

.token-option:nth-child(2) input[type="radio"]:checked + .token-option-content {
    background-color: rgba(156, 89, 182, 0.05);
}

.token-option:nth-child(2) input[type="radio"]:checked + .token-option-content::before {
    color: var(--premium-color);
}

.token-option:nth-child(2) .token-price {
    color: var(--premium-color);
}

/* Success Step */
.success-animation {
    text-align: center;
    margin: 20px 0 40px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--success-color);
    color: white;
    font-size: 40px;
    animation: scale-up 0.5s ease-out;
}

@keyframes scale-up {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.token-details {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 25px;
}

.token-info {
    margin-bottom: 25px;
}

.token-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.token-row:last-child {
    border-bottom: none;
}

.token-value-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.token-value {
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 5px;
    border-radius: 4px;
    font-size: 0.9rem;
    word-break: break-all;
    max-width: 100%;
}

.token-instructions {
    margin-bottom: 25px;
    color: var(--text-light);
}

.token-instructions code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9rem;
}

.token-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.token-actions a {
    min-width: 180px;
}

/* Ikon Telegram */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a6cf7'%3E%3Cpath d='M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm5.5 8.5c-.2.9-1.12 4.05-1.58 5.38-.18.5-.38.85-.5 1.12-.21.44-.38.45-.55.44-.3-.02-.67-.17-1.05-.34-.58-.25-1.13-.5-2.15-1.1-.94-.58-1.48-1.28-.17-2.53 1.32-1.25 2.97-2.87 3.75-3.7.1-.12.22-.32-.02-.45-.23-.13-.38-.06-.54.06-.24.17-2.53 1.68-4.96 3.37-.47.32-.9.48-1.3.47-.42-.01-1.23-.26-1.84-.47-.75-.27-1.33-.4-1.28-.88.03-.23.28-.46.77-.7 2.96-1.35 4.94-2.24 5.93-2.7 2.8-1.27 3.38-1.5 3.76-1.5.08 0 .28.03.4.13.1.08.13.2.14.3 0 .06 0 .18-.02.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Order Closed Message */
.order-closed-message {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.closed-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.order-closed-message h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.order-closed-message p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 60px 5% 20px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.fb-icon {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.fb-icon:before {
    content: '';
    background-color: #1877f2;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='white' d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

/* Section Paddings */
.hero, .features, .pricing, .order {
    padding: 80px 5%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .order-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .step::after {
        display: none;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .payment-row, .token-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .token-value-container {
        width: 100%;
    }
    
    .token-value {
        width: 100%;
    }
    
    .btn-copy {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .token-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .token-actions a {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .pricing-card.premium {
        transform: translateY(0) scale(1);
    }
    
    .pricing-card.premium:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .qris-image {
        height: 250px;
    }
} 

/* Media query untuk menyesuaikan padding pada layar kecil */
@media (max-width: 768px) {
    header, .hero, .features, .pricing, .order, footer {
        padding-left: 20px;
        padding-right: 20px;
    }
} 