/* Sleek Dark Modern Theme untuk OrynPOS */

:root {
    --bg-main: #050505;
    --bg-surface: #111111;
    --bg-surface-hover: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-muted: #a1a1aa;
    
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --neon-blue: #3b82f6;
    --neon-purple: #8b5cf6;
    --neon-glow: rgba(139, 92, 246, 0.4);
}

html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6, .font-display {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.text-muted { color: var(--text-muted) !important; }
.text-main { color: var(--text-primary) !important; }

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Navbar */
.navbar-glass {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
    border-bottom: 1px solid transparent;
}
.navbar-glass.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    transition: color 0.2s;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
}

/* Buttons */
.btn-modern {
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-primary-modern {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--neon-glow);
    text-decoration: none;
}
.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
    color: #fff;
}
.btn-secondary-modern {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-color);
    text-decoration: none;
}
.btn-secondary-modern:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Background Blobs (Sleek Dark Theme) */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
    max-width: 50vw;
}
.blob-1 {
    top: -10%; left: -15%;
    width: 500px; height: 500px;
    background: var(--neon-purple);
}
.blob-2 {
    top: 20%; right: -15%;
    width: 600px; height: 600px;
    background: var(--neon-blue);
}

/* Sections */
.section-padding { padding: 120px 0; }
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    display: block;
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}
.mockup-container {
    margin-top: 5rem;
    position: relative;
    border-radius: 20px;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}
.hero-mockup {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Features Glass Cards */
.feature-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.feature-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.feature-box:hover::before { opacity: 1; }
/* Tabbed Screenshot Gallery */
.screenshot-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.screenshot-tab-btn {
    padding: 10px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.screenshot-tab-btn.active,
.screenshot-tab-btn:hover {
    background: var(--bg-surface);
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}
.screenshot-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.screenshot-tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Featured Image */
.gallery-featured {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(59, 130, 246, 0.08);
    margin-bottom: 1.25rem;
    cursor: pointer;
    background: #0d0d0d;
}
.gallery-featured img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-featured:hover img {
    transform: scale(1.02);
}
.gallery-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 40%);
    pointer-events: none;
}
.gallery-featured-label {
    position: absolute;
    bottom: 1.25rem;
    left: 1.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    pointer-events: none;
}
.gallery-featured-label .badge-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Thumbnail Strip */
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.gallery-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 16/9;
    background: #0d0d0d;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s;
    opacity: 0.6;
}
.gallery-thumb:hover img { opacity: 0.85; transform: scale(1.05); }
.gallery-thumb.active {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.gallery-thumb.active img { opacity: 1; }

/* Mobile panel: vertical-oriented thumbs */
.gallery-thumbs-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 360px;
    margin: 0 auto;
}
.gallery-thumb-mobile {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 9/16;
    background: #0d0d0d;
}
.gallery-thumb-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.6;
    transition: all 0.4s;
}
.gallery-thumb-mobile:hover img { opacity: 0.85; transform: scale(1.04); }
.gallery-thumb-mobile.active {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.gallery-thumb-mobile.active img { opacity: 1; }
.gallery-mobile-featured { max-width: 320px; margin: 0 auto 1rem; }
@media (max-width: 576px) {
    .gallery-mobile-featured { max-width: 260px; }
    .gallery-thumbs-mobile { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}
.icon-circle {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
    transition: all 0.3s;
}
.feature-box:hover .icon-circle {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Pricing Grid */
.pricing-section {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-surface));
    border-top: 1px solid var(--border-color);
}
.pricing-toggle-wrapper {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 999px;
    display: inline-flex;
    /* margin-bottom: 4rem; */
}
.toggle-btn {
    padding: 10px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}
.toggle-btn.active {
    background: var(--text-primary);
    color: var(--bg-main);
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

.price-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.price-card.popular {
    background: var(--bg-surface);
    border-color: var(--neon-purple);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15), inset 0 0 0 1px rgba(139, 92, 246, 0.3);
    transform: scale(1.02);
    z-index: 1;
}
@media (max-width: 991px) {
    .price-card.popular { transform: none; }
}
.badge-popular {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary-gradient); color: #fff;
    padding: 6px 20px; border-radius: 99px; font-weight: 700; font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.price-amount {
    font-size: clamp(2rem, 8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-primary);
}
.price-period {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.feature-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
    color: var(--text-muted);
    display: flex; align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list i { color: var(--neon-blue); font-size: 1.25rem; margin-right: 14px; }

/* Contact Forms */
.contact-section {
    overflow-x: clip;
}
.contact-box {
    background: rgba(255,255,255,0.02);
    border-radius: 32px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden; /* <-- ini yang menahan pseudo-element ::before */
}
.contact-box::before {
    content: ''; position: absolute; bottom: -30%; right: -10%;
    width: 300px; height: 300px; background: var(--neon-blue);
    filter: blur(80px); opacity: 0.1; z-index: 0; pointer-events: none;
}
.form-control-modern {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s;
}
.form-control-modern:focus {
    background: rgba(255,255,255,0.05);
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    outline: none;
    color: var(--text-primary);
}
.form-control-modern::placeholder { color: rgba(255,255,255,0.3); }

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-muted);
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--text-primary); }

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-surface);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
}

@media (max-width: 767px) {
    .btn-modern { width: 100%; padding: 1rem; }
    .hero-section { padding-top: 120px; padding-bottom: 40px; }
    .hero-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }
    .section-padding { padding: 60px 0; }
    .price-card { padding: 1.5rem 1.25rem; }
    .contact-box { padding: 2rem 1.25rem; }
    .blob { display: none; } /* Hide blobs on mobile to prevent horizontal overflow */

    /* Force long toggle to stack on mobile */
    .pricing-toggle-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
        padding: 8px;
    }
    .toggle-btn {
        width: 100%;
        text-align: center;
        border-radius: 12px;
        padding: 12px;
    }
}
/* ===== Testimonial Section ===== */
.testimonial-section {
    background: linear-gradient(to bottom, var(--bg-surface), var(--bg-main));
    border-top: 1px solid var(--border-color);
}
.testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.testimonial-card-featured {
    background: var(--bg-surface);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.12), inset 0 0 0 1px rgba(139, 92, 246, 0.2);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
}
.testimonial-stars i {
    color: #f59e0b;
    font-size: 1rem;
}
.testimonial-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    flex-grow: 1;
    margin: 0;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.3;
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== FAQ Section ===== */
.faq-section {
    border-top: 1px solid var(--border-color);
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:has(.collapse.show) {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.08);
}
.faq-question {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}
.faq-btn {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: -0.01em;
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
    color: var(--neon-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.faq-chevron {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.35s ease;
}
.faq-btn:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    color: var(--neon-purple);
}
.faq-body {
    padding: 0 1.5rem 1.5rem 3.75rem;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
}
.faq-body strong { color: var(--text-primary); }

/* Mobile adjustments */
@media (max-width: 767px) {
    .testimonial-card { padding: 1.5rem; }
    .faq-btn { font-size: 0.9rem; padding: 1rem 1.25rem; gap: 0.65rem; }
    .faq-body { padding: 0 1.25rem 1.25rem 2.75rem; font-size: 0.9rem; }
}
