/* CSS Reset & Variables */
:root {
    --bg-dark: #fcfcfa; /* Soft warm white */
    --bg-darker: #f5f5f2; /* Light warm grey */
    --bg-card: #ffffff; /* Pure white for cards */
    --bg-card-hover: #fafafa;
    --primary: #fed86c; /* Logo Warm Gold */
    --primary-hover: #e6bf47;
    --primary-glow: rgba(254, 216, 108, 0.25);
    --secondary: #f59e0b; /* Amber */
    --secondary-hover: #d97706;
    --secondary-glow: rgba(245, 158, 11, 0.2);
    --accent: #ea580c; /* Orange-red for better readability on light bg */
    --accent-glow: rgba(234, 88, 12, 0.2);
    --text-main: #334155; /* Slate 700 - Highly readable */
    --text-muted: #64748b; /* Slate 500 */
    --text-dark: #0f172a; /* Slate 900 */
    --border: rgba(15, 23, 42, 0.06); /* Soft dark border */
    --border-hover: rgba(15, 23, 42, 0.12);
    --glow-violet: radial-gradient(circle, rgba(254, 216, 108, 0.12) 0%, transparent 60%);
    --glow-cyan: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    --font-primary: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow Blobs */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}
.glow-blob-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(254, 216, 108, 0.2) 0%, transparent 70%);
}
.glow-blob-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}
.glow-blob-3 {
    bottom: 400px;
    right: -100px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.text-purple { color: #d97706; }
.text-cyan { color: #ea580c; }
.text-pink { color: #c2410c; }
.text-green { color: #16a34a; }
.margin-top-sm { margin-top: 12px; }
.margin-top-md { margin-top: 24px; }
.margin-bottom-md { margin-bottom: 24px; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.btn-secondary:hover {
    background-color: var(--bg-darker);
    border-color: rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}
.btn-large {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 12px;
}
.btn-full {
    width: 100%;
    display: flex;
}
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}
.btn-glow:hover::after {
    transform: scale(1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(252, 252, 250, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-dark);
}
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(252, 252, 250, 0.96);
    backdrop-filter: blur(20px);
    z-index: 99;
    overflow: hidden;
    transition: height 0.3s ease-out;
}
.mobile-nav-overlay.open {
    height: calc(100vh - 80px);
}
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
}
.mobile-nav-link {
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

/* Sections */
section {
    padding: 100px 0;
}
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.section-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 216, 108, 0.08);
    border: 1px solid rgba(254, 216, 108, 0.18);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-hover);
    margin-bottom: 24px;
}
.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-dark);
}
.gradient-text {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--secondary-hover) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}
.hero-visual {
    position: relative;
}
.mockup-wrapper {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background-color: #0d111a; /* Keep dark editor style for strong focus */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    transition: var(--transition);
}
.mockup-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18);
}
.mockup-img {
    width: 100%;
    height: auto;
    display: block;
}
.mockup-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(254, 216, 108, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    animation: float 4s ease-in-out infinite;
}
.floating-badge i {
    font-size: 22px;
}
.floating-badge h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.floating-badge p {
    font-size: 12px;
    color: var(--text-muted);
}
.badge-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}
.badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

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

/* Trust Banner */
.trust-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-darker);
}
.trust-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}
.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.trust-logo:hover {
    color: var(--text-dark);
}
.trust-logo i {
    font-size: 20px;
}

/* Features Section */
.features-section {
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.feature-icon {
    font-size: 24px;
}
.purple-glow {
    background-color: rgba(254, 216, 108, 0.15);
    color: #d97706;
}
.cyan-glow {
    background-color: rgba(245, 158, 11, 0.15);
    color: #ea580c;
}
.pink-glow {
    background-color: rgba(249, 115, 22, 0.15);
    color: #c2410c;
}
.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.feature-list li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Workflow Section */
.workflow-section {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}
.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    opacity: 0.15;
    z-index: 1;
}
.workflow-step {
    position: relative;
    z-index: 2;
    text-align: center;
}
.step-num {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 3px solid var(--border);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
}
.workflow-step:hover .step-num {
    border-color: var(--secondary);
    box-shadow: 0 0 25px var(--secondary-glow);
    transform: scale(1.05);
}
.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.step-content p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 280px;
    margin: 0 auto;
}

/* Success Cases Section */
.cases-section {
    position: relative;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.case-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition);
}
.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}
.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}
.merchant-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.merchant-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.merchant-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}
.merchant-meta {
    font-size: 13px;
    color: var(--text-muted);
}
.rating-tag {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--secondary-hover);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.case-body {
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.case-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.case-stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}
.case-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
    transition: var(--transition);
}
.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}
.faq-toggle {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(15, 23, 42, 0.01);
}
.faq-answer p {
    padding: 24px;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid var(--border);
}
.faq-item.open {
    border-color: var(--border-hover);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-hover);
}

/* CTA Section (Keep Dark for visual impact and grounding) */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-color: #0b0f19;
    color: #fff;
    overflow: hidden;
}
.cta-container {
    max-width: 850px;
    position: relative;
    z-index: 2;
}
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(254, 216, 108, 0.18) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}
.cta-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff;
}
.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}
.cta-form-wrapper {
    max-width: 600px;
    margin: 0 auto 24px auto;
}
.cta-form {
    display: flex;
    gap: 12px;
}
.cta-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}
.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.cta-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}
.cta-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer Styles */
.footer {
    background-color: #070a10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    margin-bottom: 60px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255,255,255,0.08);
}
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.footer-col a:hover {
    color: #fff;
}
.footer-contact-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 36px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .workflow-timeline::before {
        display: none;
    }
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .section-title {
        font-size: 30px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .cta-title {
        font-size: 32px;
    }
    .cta-form {
        flex-direction: column;
    }
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .floating-badge {
        display: none;
    }
}
