:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #2997ff;
    --accent-hover: #0071e3;
    --surface-color: #1d1d1f;
    --surface-hover: #2d2d2f;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 18px;
    --max-width: 980px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 44px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-content {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
}

/* refined logo */
.logo {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    /* Slightly smaller for mobile safety */
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 1;
}

.brand-icon {
    width: 24px;
    height: 24px;
}

.nav-links a {
    color: #e8e8ed;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 13px;
}

.nav-links a:hover {
    opacity: 1;
}

.cta-button-small {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.cta-button-small:hover {
    background: var(--accent-hover);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    /* Reduced from 100vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 40px;
    /* Reduced padding */
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* opacity: 0; removed for stability */
    /* transform: translateY(30px); removed for stability */
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 30px;
    font-weight: 400;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    /* opacity: 0; */
    /* transform: translateY(30px); */
    margin-bottom: 20px;
}

/* Cleaned up Hero styles */
.hero-image-container {
    width: 100%;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-logo-icon {
    width: 160px;
    height: 160px;
    color: white;
    /* Fallback */
    filter: drop-shadow(0 0 50px rgba(41, 151, 255, 0.3));
    /* Soft Blue Glow */
    animation: float-logo 5s ease-in-out infinite;
}

@keyframes float-logo {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 50px rgba(41, 151, 255, 0.3));
    }

    50% {
        transform: translateY(-10px);
        filter: drop-shadow(0 0 70px rgba(41, 151, 255, 0.5));
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.02);
}

.link-button {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.link-button:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 60px 20px;
    /* Reduced from 100px */
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 21px;
    color: var(--text-secondary);
}

/* Ambient Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
    animation: ambient-rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes ambient-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ... existing code ... */

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--surface-color);
    padding: 30px;
    /* refined padding */
    border-radius: var(--border-radius);
    transition: transform 0.3s, background 0.3s;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align bottom like Apple */
}

.bento-item:hover {
    transform: scale(1.02);
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-item.large {
    grid-column: span 2;
    min-height: 360px;
    /* refined height */
    background: linear-gradient(135deg, var(--surface-color) 0%, #1c1c2e 100%);
}

.icon-container {
    width: 50px;
    height: 50px;
    background: rgba(41, 151, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.bento-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    stroke-width: 2;
}

.bento-item h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.bento-item p {
    font-size: 19px;
    color: var(--text-secondary);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card.highlight {
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.card-header {
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.sub-price {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.price-options {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span:first-child {
    color: var(--text-secondary);
    font-size: 15px;
}

.price-row .amount {
    font-weight: 600;
    font-size: 17px;
    color: var(--text-color);
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 20px;
}

.card ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 17px;
    position: relative;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: -25px;
    color: var(--accent-color);
}

.buy-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #2c2c2e;
    color: var(--accent-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.highlight .buy-button {
    background: var(--accent-color);
    color: white;
}

.buy-button:hover {
    background: #3a3a3c;
}

.highlight .buy-button:hover {
    background: var(--accent-hover);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    color: var(--text-color);
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question .icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    padding-bottom: 24px;
}

.faq-answer strong {
    color: var(--text-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: #1c1c1e;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.qris-container {
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.qris-image {
    width: 200px;
    height: 200px;
    display: block;
}

.payment-steps {
    text-align: left;
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 0 10px;
}

.payment-steps ol {
    padding-left: 20px;
}

.payment-steps li {
    margin-bottom: 8px;
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

footer {
    padding: 50px 20px;
    background: #111;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    font-size: 10px;
    color: #555;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
    width: 28px;
    height: 28px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {

    .hero-title,
    .hero-subtitle,
    .hero-actions {
        transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .fade-in-up {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Navbar tweaks */
    .nav-content {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
        /* Hide links on mobile to keep it clean, assume CTA is enough or use hamburger later if requested */
    }

    /* Hero adjustments */
    .hero {
        padding: 100px 20px 40px;
        /* More top padding for navbar clearance */
        min-height: auto;
    }

    .hero-title {
        font-size: 34px;
        /* Smaller font */
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .hero-logo-icon {
        width: 120px;
        height: 120px;
    }

    /* Section adjustments */
    section {
        padding: 40px 16px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-item {
        padding: 24px;
        min-height: auto;
    }

    .bento-item.large {
        grid-column: span 1;
        min-height: 280px;
    }

    .bento-item h3 {
        font-size: 24px;
    }

    .bento-item p {
        font-size: 15px;
    }

    /* Cards */
    .card {
        padding: 24px;
    }

    .card-header h3 {
        font-size: 20px;
    }

    .price-row .amount {
        font-size: 15px;
    }

    /* FAQ */
    .faq-question {
        font-size: 16px;
        padding: 16px 0;
    }
}