/* ============================================
   CropSort Analyse - Main Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-blue: #4A90E2;
    --primary-green: #2ECC71;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient: linear-gradient(135deg,
            rgba(200, 255, 255, 0.8) 0%,
            rgba(230, 200, 255, 0.6) 25%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 220, 180, 0.6) 75%,
            rgba(200, 255, 200, 0.5) 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;
    --border-color: #e8e8f0;
    --btn-primary: #7c8ce0;
    --btn-hover: #6b7cd0;
    --success-green: #27ae60;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-gradient: linear-gradient(135deg,
            rgba(30, 40, 60, 1) 0%,
            rgba(40, 30, 60, 1) 25%,
            rgba(25, 25, 35, 1) 50%,
            rgba(50, 40, 40, 1) 75%,
            rgba(30, 45, 35, 1) 100%);
    --card-bg: rgba(40, 40, 55, 0.95);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --text-primary: #e8e8f0;
    --text-secondary: #b8b8d0;
    --text-muted: #8888a8;
    --border-color: #3a3a50;
    --btn-primary: #8a9cef;
    --btn-hover: #7a8cdf;
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(30, 30, 45, 0.9);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon {
    width: 100%;
    height: 100%;
}

.logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-name .brand-line {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-name .brand-line .green-letter {
    color: #2ECC71;
}

.brand-info h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.6rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(124, 140, 224, 0.1);
}

.nav-link.active {
    background: var(--btn-primary);
    color: var(--white);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .dropdown-menu {
    background: #2a2a3d;
    border-color: #3a3a50;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

/* Marketplace logo in dropdown, feature links, and page titles */
.marketplace-logo {
    width: 27px;
    height: 27px;
    object-fit: contain;
    flex-shrink: 0;
}

.marketplace-logo-title {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.dropdown-item:hover {
    background: rgba(124, 140, 224, 0.1);
    color: var(--btn-primary);
}

/* Disabled/Coming Soon Items */
.dropdown-item.disabled,
.tool-link.disabled,
.quick-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.dropdown-item.disabled:hover,
.tool-link.disabled:hover {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.coming-soon {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: 0.5rem;
}

/* Home Button */
.nav-link.home-link {
    background: transparent;
}

.nav-link.home-link:hover {
    background: rgba(124, 140, 224, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(124, 140, 224, 0.1);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Tool Card */
.tool-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.tool-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.15) 0%, rgba(124, 140, 224, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon svg {
    width: 24px;
    height: 24px;
    color: var(--btn-primary);
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.tool-detail {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Tool Links */
.tool-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.tool-link:hover {
    border-color: var(--btn-primary);
    background: rgba(124, 140, 224, 0.05);
}

.tool-link svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.tool-link:hover svg {
    color: var(--btn-primary);
    transform: translateX(5px);
}

/* ============================================
   TOOL PAGE STYLES
   ============================================ */

.page-content {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Form Styles */
.upload-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-label .required {
    color: #e74c3c;
    margin-left: 0.25rem;
}

.form-label .optional {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

.file-input-wrapper {
    position: relative;
}

.file-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

[data-theme="dark"] .file-input {
    background: rgba(60, 60, 80, 0.5);
}

.file-input:hover {
    border-color: var(--btn-primary);
}

.file-input::file-selector-button {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border: none;
    border-radius: 6px;
    background: var(--border-color);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.file-input::file-selector-button:hover {
    background: var(--btn-primary);
    color: var(--white);
}

/* Generate Button */
.generate-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    background: var(--btn-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.generate-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.4);
}

.generate-btn svg {
    width: 20px;
    height: 20px;
}

/* Quick Access */
.quick-access {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.quick-access-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.quick-access-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-link {
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.quick-link:hover {
    border-color: var(--btn-primary);
    color: var(--btn-primary);
    background: rgba(124, 140, 224, 0.05);
}

/* ============================================
   COMPACT FORM STYLES
   ============================================ */

.upload-form-compact {
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-group-compact {
    margin-bottom: 1rem;
}

.form-group-compact .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.file-input-compact {
    padding: 0.625rem 0.875rem;
    font-size: 0.85rem;
}

.file-input-compact::file-selector-button {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

/* ============================================
   ADVANCED OPTIONS STYLES
   ============================================ */

.advanced-options {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Compact generate button */
.generate-btn-compact {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.generate-btn-compact svg {
    width: 18px;
    height: 18px;
}

/* Compact quick access */
.quick-access-compact {
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.quick-access-compact .quick-access-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.quick-access-compact .quick-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.options-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid var(--border-color);
}

.option-group {
    margin-bottom: 0.5rem;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.option-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.option-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    padding-bottom: 0.125rem;
}

/* Courier Options Grid */
.courier-options {
    background: rgba(124, 140, 224, 0.05);
    border-radius: 6px;
    padding: 0.5rem;
}

.courier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.375rem;
    border-bottom: 1px solid var(--border-color);
}

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

/* Options Grid for side-by-side layout */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.option-group-half {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.courier-row-threshold {
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Smaller toggle switch for threshold rows */
.toggle-switch-small {
    width: 36px;
    height: 20px;
}

.toggle-switch-small .toggle-slider:before {
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
}

.toggle-switch-small input:checked+.toggle-slider:before {
    transform: translateX(16px);
}

.courier-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 70px;
}

.threshold-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.threshold-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.threshold-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.threshold-input {
    width: 58px;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    text-align: center;
    background: var(--white);
    color: var(--text-primary);
    transition: var(--transition);
}

.threshold-input:focus {
    outline: none;
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 2px rgba(124, 140, 224, 0.2);
}

.threshold-input.disabled,
.threshold-input:disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    border-color: #dee2e6;
}

[data-theme="dark"] .threshold-input.disabled,
[data-theme="dark"] .threshold-input:disabled {
    background: rgba(60, 60, 80, 0.3);
    color: #6c757d;
    border-color: #4a4a5a;
}

[data-theme="dark"] .threshold-input {
    background: rgba(60, 60, 80, 0.5);
}

/* ============================================
   TOGGLE SWITCH STYLES
   ============================================ */

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--success-green);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(16px);
}

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.3);
}

[data-theme="dark"] .toggle-slider {
    background-color: #4a4a5a;
}

[data-theme="dark"] .toggle-switch input:checked+.toggle-slider {
    background-color: var(--success-green);
}

/* ============================================
   SPLIT LAYOUT (for tool pages with info panel)
   ============================================ */

.split-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    padding: 1rem 1.5rem;
    margin: 0 auto;
    align-items: start;
}

.split-layout .page-card {
    height: fit-content;
    padding: 1.25rem;
    border-radius: 16px;
}

.split-layout .page-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.split-layout .page-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.split-layout .page-card {
    height: fit-content;
}

.tool-panel {
    max-width: 100%;
}

.info-panel {
    max-width: 100%;
}

.info-panel .page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 28px;
    height: 28px;
    color: var(--btn-primary);
}

/* File Count Display */
.file-count {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--success-green);
    background: rgba(39, 174, 96, 0.1);
    border-radius: 6px;
    display: none;
}

.file-count.show {
    display: block;
}

/* Info Section */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-item {
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.08) 0%, rgba(124, 140, 224, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--btn-primary);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.1);
}

.info-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.info-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item-icon svg {
    width: 22px;
    height: 22px;
}

.info-item-icon.upload-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.info-item-icon.grouping-icon {
    background: linear-gradient(135deg, #2ECC71 0%, #27ae60 100%);
    color: white;
}

.info-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 55px;
}

/* Workflow Section */
.workflow-section {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(39, 174, 96, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
}

.workflow-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.step-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Main workflow section (when used as primary content) */
.workflow-section-main {
    background: transparent;
    border: none;
    padding: 0;
}

.workflow-section-main .workflow-title {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
}

.workflow-section-main .workflow-step {
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.08) 0%, rgba(124, 140, 224, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.workflow-section-main .workflow-step:hover {
    border-color: var(--btn-primary);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.1);
}

.workflow-section-main .step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive for split layout */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .info-panel {
        order: 2;
    }

    .tool-panel {
        order: 1;
    }
}

@media (max-width: 600px) {
    .info-item-description {
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .info-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-heart {
    color: #e74c3c;
}

.footer-link {
    color: var(--btn-primary);
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #b8860b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="dark"] .footer-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.25);
    color: #ffc107;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .page-card {
        padding: 1.5rem;
    }

    .main-content,
    .page-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.5rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .brand-info h1 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.tool-card {
    animation: fadeIn 0.5s ease forwards;
}

.tool-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tool-card:nth-child(2) {
    animation-delay: 0.2s;
}

.page-card {
    animation: fadeIn 0.4s ease forwards;
}

/* Hover Glow Effect */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card:hover::before {
    opacity: 1;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   NEW HOMEPAGE STYLES
   ============================================ */

/* New Header Style */
.header-new {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .header-new {
    background: rgba(30, 30, 45, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-btn-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.privacy-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 247, 250, 0.8);
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .privacy-notice {
    background: rgba(40, 40, 55, 0.8);
}

.privacy-notice svg {
    opacity: 0.6;
}

/* New Main Content */
.main-content-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section New */
/* Modified spacing */
.hero-section-new {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0 0.5rem;
    /* Reduced bottom padding from 2rem */
    min-height: auto;
}

.hero-content {
    max-width: 850px;
}

.hero-title-new {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-new {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.cta-btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.35);
    transition: all 0.3s ease;
}

.cta-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.45);
}

/* Micro Proof Line */
.micro-proof {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Pain Column Title */
.pain-column-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(231, 76, 60, 0.3);
}

/* Hero Illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-stack {
    position: relative;
    width: 240px;
    height: 220px;
}

.doc-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 1rem;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .doc-card {
    background: #3a3a50;
}

.doc-1 {
    width: 110px;
    height: 80px;
    left: 0;
    bottom: 20px;
    transform: rotate(-5deg);
    z-index: 1;
}

.doc-2 {
    width: 150px;
    height: 110px;
    right: 0;
    top: 0;
    z-index: 3;
}

.doc-3 {
    width: 100px;
    height: 65px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.doc-header {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.check-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-circle svg {
    width: 24px;
    height: 24px;
    color: white;
}

.clock-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #48dbfb 0%, #00d2d3 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.line {
    height: 8px;
    background: linear-gradient(90deg, #e8e8f0 0%, #f5f5f8 100%);
    border-radius: 4px;
}

[data-theme="dark"] .line {
    background: linear-gradient(90deg, #4a4a5a 0%, #5a5a6a 100%);
}

.line.short {
    width: 60%;
}

.line.medium {
    width: 80%;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100%;
    padding-top: 0.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 4px 4px 0 0;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 70%;
}

.bar-3 {
    height: 55%;
}

/* Pain Points Section */
.pain-points-section {
    background: linear-gradient(135deg, #fff9f0 0%, #fff5f5 50%, #f0fff4 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 0.5rem 0;
    /* Reduced margin from 1rem 0 */
}

[data-theme="dark"] .pain-points-section {
    background: linear-gradient(135deg, rgba(60, 50, 40, 0.3) 0%, rgba(60, 40, 40, 0.3) 50%, rgba(40, 60, 50, 0.3) 100%);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.x-icon {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pain-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pain-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pain-item strong {
    color: var(--text-primary);
}

.pain-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.pain-bullet.red {
    background: #e74c3c;
}

.pain-item.muted {
    opacity: 0.6;
    margin-top: 0.5rem;
}

.pain-bracket {
    color: var(--text-muted);
    font-weight: 600;
    margin-top: -0.1rem;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0 0.5rem 0;
    /* Reduced margin from 3rem 0 */
    scroll-margin-top: 180px;
    /* Offset for sticky header when scrolling to #services */
}

.feature-card {
    background: linear-gradient(180deg, #f8fff8 0%, #fffff8 100%);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background: linear-gradient(180deg, rgba(40, 55, 45, 0.5) 0%, rgba(50, 50, 40, 0.5) 100%);
    border-color: rgba(46, 204, 113, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(46, 204, 113, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-icon.label-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-icon.pnl-icon {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    color: white;
}

.feature-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.feature-tagline .highlight {
    color: #27ae60;
}

.feature-tagline .sub-text {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.15rem;
    position: relative;
}

.check-icon.green {
    background: #27ae60;
}

.check-icon.green::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-link {
    background: rgba(50, 50, 65, 0.5);
}

.feature-link:hover {
    border-color: var(--btn-primary);
    background: rgba(124, 140, 224, 0.05);
}

.feature-link svg {
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.feature-link:hover svg {
    color: var(--btn-primary);
    transform: translateX(3px);
}

.feature-link.active {
    border-color: #27ae60;
    background: rgba(46, 204, 113, 0.08);
}

.feature-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.coming-soon-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.feature-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-note strong {
    color: #e74c3c;
}

/* Sellers Section */
.sellers-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.section-title-center {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.seller-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.seller-callout .emoji {
    font-size: 1.5rem;
}

.seller-callout h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.benefit-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.benefit-dot.blue {
    background: #3498db;
}

.benefit-row p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer New */
.footer-new {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(245, 247, 250, 0.5) 100%);
}

[data-theme="dark"] .footer-new {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 30, 45, 0.5) 100%);
}

/* Bottom Footer */
.bottom-footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem 2rem;
    background: var(--card-bg);
}

.bottom-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.bottom-footer-copyright {
    flex-shrink: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-top: 0.25rem;
}

.bottom-footer-columns {
    display: flex;
    gap: 4rem;
}

.bottom-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bottom-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.bottom-footer-col a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-footer-col a:hover {
    color: var(--btn-primary);
}

.reach-email {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.reach-email svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.reach-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.reach-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.reach-socials a:hover {
    color: var(--btn-primary);
    background: rgba(102, 126, 234, 0.08);
}

[data-theme="dark"] .bottom-footer {
    background: var(--card-bg);
    border-top-color: var(--border-color);
}

/* Responsive Styles for New Homepage */
@media (max-width: 1024px) {
    .hero-section-new {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title-new {
        font-size: 2.25rem;
    }

    .hero-illustration {
        order: -1;
    }

    .illustration-stack {
        width: 250px;
        height: 230px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-btn-header {
        order: 2;
    }

    .hero-title-new {
        font-size: 1.85rem;
    }

    .hero-subtitle-new {
        font-size: 1rem;
    }

    .pain-points-section {
        padding: 2rem 1.5rem;
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .features-section {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .main-content-new {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .privacy-notice {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    .hero-section-new {
        padding: 2rem 0;
    }

    .hero-title-new {
        font-size: 1.5rem;
    }

    .section-title,
    .section-title-center {
        font-size: 1.35rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .illustration-stack {
        width: 200px;
        height: 180px;
    }

    .doc-2 {
        width: 140px;
        height: 110px;
    }

    .doc-1 {
        width: 100px;
        height: 70px;
    }

    .doc-3 {
        width: 90px;
        height: 60px;
    }
}

/* Bottom Footer Responsive */
@media (max-width: 768px) {
    .bottom-footer-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .bottom-footer-columns {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .bottom-footer-col {
        min-width: 120px;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-card {
    max-width: 700px;
    margin: 0 auto;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

[data-theme="dark"] .form-input {
    background: rgba(60, 60, 80, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--btn-primary);
    box-shadow: 0 0 0 3px rgba(124, 140, 224, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.required {
    color: #e74c3c;
}

.contact-btn {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-info-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.08) 0%, rgba(124, 140, 224, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-info-item:hover {
    border-color: var(--btn-primary);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.1);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
}

.info-icon.email-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.info-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.info-value:hover {
    color: var(--btn-primary);
}

/* Faded text for dropdown items */
.faded-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

/* Compact Seller Section Styles */
.sellers-section-compact {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.section-title-compact {
    margin-bottom: 0.75rem;
}

.seller-callout-compact {
    margin-bottom: 1rem;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .loading-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.loading-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 90vw;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: 95vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-message {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.loading-submessage {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Green highlight for workflow step */
.workflow-step.green-bg {
    background-color: #d1fae5;
    border: 1px solid #34d399;
}

.workflow-step.green-bg .step-number {
    background-color: #059669;
    color: white;
}

.workflow-step.green-bg h4 {
    color: #065f46;
}

/* Reduced font size for How It Works section */
.workflow-step h4 {
    font-size: 0.9rem !important;
}

.workflow-step p {
    font-size: 0.85rem !important;
    line-height: 1.4;
}

.workflow-step .step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
}

/* Ultra Compact How It Works Section */
.workflow-step {
    gap: 0.5rem !important;
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    align-items: center !important;
    /* Vertically align items */
}

.workflow-step h4 {
    font-size: 0.75rem !important;
    margin-bottom: 0.1rem !important;
}

.workflow-step p {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
}

.workflow-step .step-number {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}

.workflow-section-main h3.workflow-title {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Make Notify When Live links clearer */
a .coming-soon,
a .coming-soon-badge {
    color: var(--btn-primary) !important;
    text-decoration: underline;
    cursor: pointer;
}

a:hover .coming-soon,
a:hover .coming-soon-badge {
    color: var(--btn-hover) !important;
}


/* ============================================
   MULTI ACCOUNT SECTION
   ============================================ */

.multi-account-section {
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(124, 140, 224, 0.08) 0%, rgba(124, 140, 224, 0) 100%);
    border-radius: 20px;
    border: 1px solid rgba(124, 140, 224, 0.15);
}

[data-theme="dark"] .multi-account-section {
    background: linear-gradient(180deg, rgba(60, 65, 90, 0.3) 0%, rgba(30, 30, 45, 0) 100%);
    border: 1px solid rgba(124, 140, 224, 0.2);
}

.multi-account-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.multi-account-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

[data-theme="dark"] .multi-account-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.multi-account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(124, 140, 224, 0.5);
}

.ma-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 140, 224, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
}

.multi-account-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.multi-account-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .multi-account-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .multi-account-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WHO IS THIS FOR SECTION
   ============================================ */

.who-is-this-for-section {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 3rem 2rem;
}

.section-subtitle-center {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
    margin: -0.5rem auto 2.5rem;
    line-height: 1.6;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.who-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--btn-primary);
}

.who-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.who-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.who-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.who-card a {
    color: var(--btn-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.who-card a:hover {
    color: var(--btn-hover);
}

@media (max-width: 900px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .who-grid {
        grid-template-columns: 1fr;
    }

    .who-is-this-for-section {
        padding: 2rem 1rem;
    }
}


/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 3rem 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: var(--btn-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item[open] {
    border-color: var(--btn-primary);
    box-shadow: 0 4px 20px rgba(124, 140, 224, 0.15);
}

.faq-question {
    padding: 1.125rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--btn-primary);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-question:hover {
    color: var(--btn-primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--btn-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer a:hover {
    color: var(--btn-hover);
}

@media (max-width: 600px) {
    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1rem;
        font-size: 0.85rem;
    }
}


/* ============================================
   SEO CONTENT SECTIONS
   ============================================ */

.seo-content-section {
    max-width: 100%;
    margin: 0;
    padding: 1rem 0;
}

.seo-content-block {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.seo-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.seo-content-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.seo-content-block a {
    color: var(--btn-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.seo-content-block a:hover {
    color: var(--btn-hover);
}

.seo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}

.seo-benefits-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.seo-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1rem;
}

.seo-search-terms {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.25rem;
}

.seo-search-terms li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.6;
}

.seo-search-terms li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    color: var(--btn-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.seo-cta-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--btn-primary);
    color: var(--white) !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: var(--transition);
}

.seo-cta-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.4);
    color: var(--white) !important;
}

/* Highlight section (Long SEO Block) */
.seo-highlight-section .seo-content-block {
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.06) 0%, rgba(46, 204, 113, 0.04) 100%);
    border-color: rgba(124, 140, 224, 0.2);
}

[data-theme="dark"] .seo-highlight-section .seo-content-block {
    background: linear-gradient(135deg, rgba(124, 140, 224, 0.1) 0%, rgba(46, 204, 113, 0.06) 100%);
}

/* How It Works Steps */
.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--btn-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 2px;
}

.step-item p {
    margin-bottom: 0 !important;
    flex: 1;
}

@media (max-width: 768px) {
    .seo-content-section {
        padding: 1.5rem 1rem;
    }

    .seo-content-block {
        padding: 1.5rem;
    }

    .seo-section-title {
        font-size: 1.25rem;
    }
}


/* ============================================
   SEO LANDING PAGE - HERO SECTION
   ============================================ */

.tool-hero-section {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 2.5rem 2rem;
    text-align: center;
}

.tool-hero-section h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.tool-hero-section h1 span.hero-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.hero-check-list {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.25rem auto;
    text-align: left;
}

.hero-check-list span {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-check-list span::before {
    content: '✔';
    color: var(--success-green);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-trust-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.25rem;
}

/* ============================================
   TOOL PAGE - SEO CONTENT SECTION
   ============================================ */

.tool-seo-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
}

.tool-seo-block {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .tool-seo-block {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.tool-seo-block h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.tool-seo-block h2:first-child {
    margin-top: 0;
}

.tool-seo-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.tool-seo-block ul,
.tool-seo-block ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0 1.25rem;
}

.tool-seo-block ul li,
.tool-seo-block ol li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.tool-seo-block ul li::marker {
    color: var(--success-green);
}

.tool-seo-block ol li::marker {
    color: var(--btn-primary);
    font-weight: 600;
}

.tool-seo-block a {
    color: var(--btn-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tool-seo-block a:hover {
    color: var(--btn-hover);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.tool-faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 2.5rem;
}

.tool-faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    gap: 1rem;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(124, 140, 224, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    stroke: var(--btn-primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    background: var(--btn-primary);
}

.faq-item.open .faq-toggle svg {
    stroke: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   TOOL H2 ABOVE TOOL UI
   ============================================ */

.tool-section-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 900px;
    padding: 0 2rem;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

.blog-article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .blog-article {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.blog-article h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 1rem;
}

.blog-article h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
    line-height: 1.4;
}

.blog-article h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.blog-article p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-article ul,
.blog-article ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0 1.25rem;
}

.blog-article li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.blog-article a {
    color: var(--btn-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article a:hover {
    color: var(--btn-hover);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.blog-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.75rem;
    background: var(--btn-primary);
    color: var(--white) !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: var(--transition);
}

.blog-cta:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 140, 224, 0.4);
}

/* ============================================
   RESPONSIVE - TOOL LANDING PAGE
   ============================================ */

@media (max-width: 768px) {
    .tool-hero-section {
        padding: 1.5rem 1rem;
    }

    .tool-hero-section h1 {
        font-size: 1.5rem;
    }

    .tool-hero-subtitle {
        font-size: 1rem;
    }

    .tool-seo-section {
        padding: 1.5rem 1rem 0;
    }

    .tool-seo-block {
        padding: 1.5rem;
    }

    .tool-seo-block h2 {
        font-size: 1.2rem;
    }

    .tool-faq-section {
        padding: 1.5rem 1rem 2rem;
    }

    .tool-section-heading {
        font-size: 1.15rem;
        padding: 0 1rem;
    }

    .blog-article {
        margin: 1rem;
        padding: 1.5rem;
    }

    .blog-article h1 {
        font-size: 1.4rem;
    }
}