:root {
    --bg-dark: #06080d;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: #4A90E2;
    --accent-gradient: linear-gradient(135deg, #4A90E2 0%, #2a5298 100%);
    --header-gradient: linear-gradient(180deg, #1a2a44 0%, #06080d 100%);
    --body-gradient: radial-gradient(circle at top, #1a2a44 0%, #06080d 100%);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--body-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: "Inter", "Hiragino Kaku Gothic ProN", sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Non-Sticky Blue Gradient Header */
header.site-header {
    height: 90px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    /* Seamless blend */
}

/* Removed .scrolled class as it's no longer sticky */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo img {
    height: 38px;
    margin-right: 12px;
}

.logo-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 12px;
    height: 20px;
    display: flex;
    align-items: center;
}

.badge-new {
    background: rgba(0, 242, 255, 0.1);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 242, 255, 0.2);
    margin-left: 12px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-menu a:hover {
    opacity: 1;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--accent);
}

.btn-primary {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* Hero Scanning Animation */
.hero {
    min-height: 90vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.hero-content {
    flex: 1.1;
    z-index: 2;
}

.hero-visual {
    flex: 0.9;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

/* Premium Glow behind the dashboard */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-content h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
}

.hero-cta {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    padding: 16px 40px;
    font-size: 1.15rem;
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(58, 123, 213, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(58, 123, 213, 0.6);
}

.hero-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.dashboard-mock {
    display: flex;
    background: #0d1117;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    height: 440px;
    width: 100%;
    max-width: 650px;
    /* Lock max width to prevent stretching */
}

.sidebar-mock {
    width: 45px;
    /* Slightly narrower */
    background: #161b22;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
}

.sidebar-mock i,
.sidebar-mock div.icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    font-size: 14px;
}

.sidebar-mock div.icon.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px var(--accent);
}

.main-mock {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d1117;
}

.mock-header {
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: white;
}

.mock-body {
    flex: 1;
    display: flex;
    padding: 15px;
    gap: 15px;
    overflow: hidden;
}

.scan-panel {
    flex: 0.6;
    position: relative;
    background: #161b22;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scan-panel-title {
    font-size: 12px;
    color: white;
    margin-bottom: 5px;
}

.scan-panel img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-panel {
    flex: 1.8;
    background: #0d1117;
    padding: 12px;
    overflow: hidden;
    /* Prevent internal scroll if possible */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sheets-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.sheets-title-bar {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #30363d;
}

.sheets-menu {
    padding: 2px 15px;
    display: flex;
    gap: 15px;
    font-size: 10px;
    color: #8b949e;
    border-bottom: 1px solid #30363d;
}

.sheets-toolbar {
    padding: 5px 15px;
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #30363d;
}

.mock-table th,
.mock-table td {
    border: 1px solid #30363d;
    padding: 4px 2px;
    /* Reduced horizontal padding */
    text-align: left;
    white-space: nowrap;
    /* Prevent wrapping in cells */
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-row {
    opacity: 0;
    animation: rowAppear 0.8s ease forwards;
}

@keyframes rowAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.verify-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-panel {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.status-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #30363d;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
}

/* Laser Beam Scanning Effect */
.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(180deg,
            rgba(255, 77, 77, 0) 0%,
            rgba(255, 77, 77, 1) 50%,
            rgba(255, 77, 77, 0) 100%);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.8), 0 0 40px rgba(255, 77, 77, 0.4);
    animation: scanLaser 4s infinite linear;
    z-index: 10;
}

@keyframes scanLaser {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

/* Spreadsheet UI Enhancements */
.sheet-header-col {
    background: #1a1d21;
    color: #9ca3af;
    text-align: center;
    border: 1px solid #30363d;
    font-weight: normal;
}

.sheet-row-num {
    background: #1a1d21;
    color: #9ca3af;
    text-align: center;
    border: 1px solid #30363d;
    width: 30px;
    font-weight: normal;
}

.mock-table td {
    border: 1px solid #30363d;
}

.mock-table th {
    background: #1a1d21;
    border: 1px solid #30363d;
}

/* Pricing Grid - Aligned Buttons */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s;
    position: relative; /* Added to fix absolute positioning of child elements */
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    position: relative;
}

.pricing-card ul {
    text-align: left;
    margin: 30px 0;
    list-style: none;
    flex-grow: 1;
}

/* flex-grow is key for alignment */
.pricing-card li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-card li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
}

.pricing-card li.disabled {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-card li.disabled::before {
    content: "✕";
    color: rgba(255, 255, 255, 0.2);
}

/* Back to Top */
/* Transparent Style - Icon Only */
.back-to-top {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    /* No blue background */
    color: var(--accent) !important;
    /* Use blue for the arrow instead */
    border: none !important;
    z-index: 999999 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.back-to-top svg {
    width: 40px;
    height: 40px;
    stroke: #ffffff !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.back-to-top:hover svg {
    transform: scale(1.3) !important;
}

.back-to-top:hover {
    background: transparent !important;
}

/* Q&A / Contact Section */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

/* FAQ Accordion Styles */
.accordion {
    width: 100%;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
    font-weight: 400;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: #1a1d26;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        gap: 40px;
    }

    .hero-content h1 {
        white-space: normal;
        text-wrap: balance;
        font-size: clamp(2.2rem, 6vw, 3rem);
    }

    .hero-actions {
        align-items: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        padding-left: 0;
    }

    .dashboard-mock {
        max-width: 100%;
        height: auto;
        min-height: 350px;
    }

    .nav-menu {
        display: none;
    }
}