:root {
    /* Light Mode (Premium Professional) */
    --primary: #ffffff;
    --secondary: #fdfdfd;
    --accent: #0284c7;
    /* Sky 600 */
    --accent-glow: rgba(14, 165, 233, 0.4);
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    --text-primary: #020617;
    /* Darker slate */
    --text-secondary: #475569;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --surface: #ffffff;
    --glow-color: rgba(14, 165, 233, 0.05);
    --nav-bg: 255, 255, 255;
    --hero-gradient: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    --hero-text: linear-gradient(to bottom, #020617 0%, #475569 100%);
    --overlay-bg: rgba(2, 6, 23, 0.4);
    --input-bg: #f8fafc;
    --footer-bg: #f8fafc;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    --card-shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.08), 0 8px 12px -6px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
    /* Dark Mode (True Black) */
    --primary: #000000;
    --secondary: #050505;
    --accent: #38bdf8;
    /* Sky 400 */
    --accent-glow: rgba(56, 189, 248, 0.4);
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Sophisticated subtle border */
    --surface: #000000;
    --glow-color: rgba(14, 165, 233, 0.1);
    --nav-bg: 0, 0, 0;
    --overlay-bg: rgba(0, 0, 0, 0.95);
    --input-bg: rgba(255, 255, 255, 0.03);
    --footer-bg: #000000;
    --hero-gradient: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    --hero-text: linear-gradient(to bottom, #ffffff 0%, #94a3b8 100%);
    --card-bg: rgba(255, 255, 255, 0.01);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Background Atmosphere */
.glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
}

.glow-1 {
    top: -200px;
    right: -200px;
}

.glow-2 {
    bottom: -200px;
    left: -200px;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 8%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    backdrop-filter: blur(12px);
    background: rgba(var(--nav-bg), 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

nav.scrolled {
    padding: 1.25rem 8%;
    background: rgba(var(--nav-bg), 0.9);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--accent-glow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    /* Soften edges for JPEG logos */
    object-fit: contain;
}

.logo span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
}

/* Theme Toggle Switch */
.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    width: 64px;
    height: 32px;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.theme-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.theme-toggle-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    position: absolute;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(32px);
}

.theme-toggle i {
    width: 14px;
    height: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    margin-left: 1rem;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
    z-index: 10002;
}

.mobile-menu-btn:hover {
    border-color: var(--accent);
    background: var(--glass);
}

nav ul {
    display: flex;
    gap: 3.5rem;
    list-style: none;
}

.mobile-only-logo {
    display: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul li a svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

nav ul li a:hover,
.active-link {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent-gradient);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 8% 80px;
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
}

/* Hero Badge */
.hero-badge {
    background: var(--glass);
    color: var(--accent);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
    background: var(--hero-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* For animation */
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 3.5rem;
    opacity: 0;
    /* For animation */
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    /* For animation */
    animation: fadeInUp 1s cubic-bezier(0.19, 1, 0.22, 1) 0.6s forwards;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tool Card Link Wrapper */
.tool-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: white;
    padding: 1.25rem 2.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 40px -12px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 50px -15px var(--accent-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1.25rem 2.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    background: var(--glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-white {
    background: white !important;
    color: black !important;
    border: none !important;
}

.btn-white:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
}

/* Features/Tools Section */
.section {
    padding: 8rem 10%;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-tag::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    max-width: 60px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
    font-family: 'Outfit', sans-serif;
}

.grid-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.flagship-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    /* Widened the right column slightly */
    gap: 2rem;
    align-items: flex-start;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.tool-header .tool-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.comparison-card {
    margin-top: 4rem;
    padding: 4rem;
}

.tool-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 4rem 3.5rem;
    border-radius: 32px;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(56, 189, 248, 0.1),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-20px);
    box-shadow: var(--card-shadow-hover);
}

[data-theme="dark"] .tool-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.tool-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-icon {
    transform: translateY(-8px) scale(1.15);
}


.tool-icon svg,
.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    /* Soften edges for JPEG icons */
}

.tool-icon svg {
    stroke-width: 2px;
}

.tool-card h3 {
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: 0.3s;
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 1;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.tool-card-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-card-footer {
    gap: 1.25rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 10%;
    text-align: center;
    background: var(--secondary);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 6rem 4rem;
    border-radius: 48px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--card-shadow-hover);
}

.contact-card h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 1.25rem;
}

/* Comparison Table */
.comparison-container {
    margin-top: 5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.comp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.comp-table th {
    background: var(--glass);
    color: var(--text-primary);
    font-weight: 700;
    padding: 1.8rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--glass-border);
}

.comp-table td {
    padding: 1.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.comp-table tr {
    transition: 0.3s;
}

.comp-table tr:hover td:first-child {
    color: var(--text-primary);
    padding-left: 2rem;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-highlight {
    background: rgba(56, 189, 248, 0.08);
    color: var(--text-primary) !important;
    font-weight: 600;
    text-align: center !important;
    border-left: 1px solid rgba(56, 189, 248, 0.1);
    border-right: 1px solid rgba(56, 189, 248, 0.1);
}

th.comp-highlight {
    background: rgba(56, 189, 248, 0.15) !important;
    color: var(--accent) !important;
}

.check-icon {
    color: #10b981;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.cross-icon {
    color: #ef4444;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.feature-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.open-inquiry {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.modal-content {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 32px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group select option {
    background: var(--secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--text-primary);
}

/* Footer Refinement */
footer {
    background: var(--footer-bg);
    padding: 3rem 8% 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-column ul li {
    margin-bottom: 0;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Animations & Transitions */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 100px;
    border: 3px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .flagship-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 6rem 5%;
    }

    .grid-tools {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 10001;
    }

    nav ul.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Stats & Features Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--secondary);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

.stat-card:hover .stat-icon {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.stat-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: 0.3s;
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.icon-speed {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.icon-trust {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.icon-simplicity {
    color: #0284c7;
    /* Sky 600 */
    background: rgba(2, 132, 199, 0.1);
}

.value-card:hover .icon-speed {
    background: #f59e0b;
    color: white;
}

.value-card:hover .icon-trust {
    background: #10b981;
    color: white;
}

.value-card:hover .icon-simplicity {
    background: #0284c7;
    color: white;
}

/* About Page Components */
.about-page-container {
    overflow: hidden;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 6rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.sub-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.values-section {
    margin-top: 8rem;
}

.values-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

/* Get Started Box Specifics */
.get-started-box {
    background: var(--accent-gradient) !important;
    border: none !important;
    padding: 2.5rem !important;
    z-index: 10;
    position: relative;
    pointer-events: auto;
    /* Reduced from 3.5rem 3rem */
}

.get-started-box h3,
.get-started-box p {
    color: white !important;
}

.get-started-box p {
    opacity: 0.9;
}

.overview-card,
.comparison-card {
    padding: 2.25rem 2rem !important;
}

/* Responsive Design */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 5%;
    }

    .section {
        padding: 6rem 5%;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        /* Proper sidebar width */
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        /* Force top alignment */
        align-items: flex-start;
        /* Ensure left alignment */
        padding: 2rem;
        gap: 0.5rem;
        /* Tighter gap for better top-heavy alignment */
        border-left: 1px solid var(--glass-border);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        margin: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        /* Handle many links */
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        transition: 0.2s;
    }

    nav ul li a:hover {
        background: var(--glow-color);
        padding-left: 1.5rem;
    }

    .mobile-only-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
    }

    .mobile-only-logo .logo {
        justify-content: flex-start;
    }

    nav ul.active {
        transform: translateX(0);
        border-left: 1px solid var(--accent);
    }

    /* Side Menu Overlay */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
        z-index: 9998;
        /* Lowered slightly to ensure it's behind everything else in nav */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    .menu-overlay.active {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    nav .btn-nav {
        display: none;
        /* Hide on mobile navbar, could put inside UL instead if wanted */
    }

    .hero h1 br {
        display: none;
    }

    .hero {
        padding: 100px 5% 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .grid-tools {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 2.5rem 2rem;
        border-color: var(--accent);
        background: rgba(var(--nav-bg), 0.05);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    }

    [data-theme="dark"] .tool-card {
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    }

    .tool-icon {
        transform: scale(1.1);
    }

    .tool-card h3 {
        font-size: 1.6rem;
        color: var(--accent);
    }

    .tool-card-footer {
        gap: 1.25rem;
    }

    .btn-primary {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
    }

    .btn-secondary {
        border-color: var(--accent);
        background: var(--glass-border);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 7rem 0.5rem 4rem;
        /* Ultra-thin padding to maximize width */
    }

    .about-page-container {
        padding: 6rem 5% 4rem;
    }

    .lead-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .sub-text {
        font-size: 1rem;
    }

    .story-section {
        margin-bottom: 4rem;
    }

    .values-section {
        margin-top: 5rem;
    }

    .values-heading {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .value-card {
        padding: 1.25rem;
        gap: 1rem;
        /* Slightly smaller gap to save space */
    }

    .content-wrapper {
        width: 100%;
    }

    .footer-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-column {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Flagship Tool Grid Responsiveness */
    .flagship-grid {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .tool-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .tool-header h1 {
        font-size: 2.2rem;
    }

    .tool-header .tool-icon {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 0;
    }

    .comparison-card {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .comp-table th,
    .comp-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }

    /* Re-designed Comparison Table for Mobile */
    .comp-table {
        margin-top: 2rem;
        border-collapse: separate;
        border-spacing: 0 1.5rem;
        /* Clean vertical gap between feature cards */
    }

    .comp-table thead {
        display: none;
    }

    .comp-table,
    .comp-table tbody,
    .comp-table tr,
    .comp-table td {
        display: block;
        width: 100%;
    }

    .comp-table tr {
        background: var(--surface);
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
    }

    .comp-table td {
        padding: 0;
        border: none;
        margin-bottom: 1.25rem;
    }

    .comp-table td:last-child {
        margin-bottom: 0;
    }

    /* Feature Label */
    .comp-table td:first-child {
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .comp-table .feature-name {
        font-size: 1.4rem;
        font-weight: 850;
        color: var(--accent);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    /* Traditional Way Label & Value */
    .comp-table td[data-label="Traditional"]::before {
        content: "Traditional Method";
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-secondary);
        opacity: 0.6;
        margin-bottom: 0.5rem;
    }

    .comp-table td[data-label="Traditional"] {
        padding: 0.5rem 0;
        font-size: 0.95rem;
        color: var(--text-secondary);
        display: flex;
        flex-direction: column;
    }

    /* Inventory Studio Label & Value (The Champion) */
    .comp-table .comp-highlight {
        background: var(--accent-gradient) !important;
        padding: 1.25rem !important;
        border-radius: 20px;
        margin: 0.5rem -0.5rem 0 !important;
        position: relative;
        color: white !important;
        display: flex !important;
        flex-direction: column;
        border: none !important;
        box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.3);
    }

    .comp-table .comp-highlight::before {
        content: "Inventory Studio";
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
        opacity: 0.9;
    }

    .comp-table .comp-highlight .check-icon {
        color: #10b981 !important;
        background: white;
        border-radius: 50%;
        padding: 2px;
        margin-right: 0.6rem;
        width: 22px;
        height: 22px;
    }

    .comp-table .comp-highlight {
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.4;
    }

    /* Modal Responsiveness */
    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.5rem;
        border-radius: 40px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
    }

    .value-icon {
        margin-bottom: 1.25rem;
        flex-shrink: 0;
    }

    .icon-speed {
        background: #f59e0b !important;
        color: white !important;
    }

    .icon-trust {
        background: #10b981 !important;
        color: white !important;
    }

    .icon-simplicity {
        background: #0284c7 !important;
        color: white !important;
    }

    .value-card h3 {
        margin-top: 0;
        margin-bottom: 0.75rem;
        font-size: 1.5rem;
    }

    .value-card p {
        margin-bottom: 0;
        line-height: 1.6;
    }

    .get-started-box {
        padding: 1.5rem 1.25rem !important;
    }

    .overview-card,
    .comparison-card {
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    /* Adjust headers when box is removed */
    .overview-card h2,
    .comparison-card h2 {
        text-align: left;
        margin-left: 0;
        font-size: 2.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-card {
        padding: 2rem 1rem;
    }

    .section,
    .about-page-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .contact-card h2 {
        font-size: 2rem;
    }
}