:root {
    --navy-900: #0b1f3a;
    --navy-800: #102a4c;
    --navy-700: #163a63;
    --blue-600: #1f6feb;
    --blue-500: #2b7fff;
    --teal-500: #14b8a6;
    --teal-400: #2dd4bf;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue-600);
    text-decoration: none;
}

a:hover {
    color: var(--navy-800);
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 31, 58, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--teal-400);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--teal-400);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
}

.btn-primary:hover {
    color: var(--white);
    box-shadow: 0 12px 28px rgba(31, 111, 235, 0.34);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    color: var(--navy-900);
    border-color: var(--blue-500);
}

.btn-sm {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    padding: 120px 0 140px;
    overflow: visible;
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
    min-width: 0;
    max-width: 760px;
}

.hero-visual {
    min-width: 0;
    max-width: 520px;
    justify-self: end;
    width: 100%;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.16);
    color: var(--teal-400);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero h1,
.hero-title {
    margin: 0 0 24px;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.08;
    color: var(--white);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-subtitle {
    margin: 0 0 36px;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-title {
    margin-left: 0.5rem;
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 600;
}

.mockup-body {
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 320px;
}

.mockup-sidebar {
    background: var(--navy-900);
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.mockup-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.mockup-nav-item {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.mockup-nav-item.active {
    background: var(--teal-400);
}

.mockup-main {
    padding: 1rem;
    background: var(--gray-50);
}

.mockup-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mockup-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.widget-label {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.mockup-widget strong {
    display: block;
    font-size: 1rem;
    color: var(--navy-900);
}

.widget-trend {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: var(--gray-500);
}

.widget-trend.up {
    color: var(--success);
}

.widget-trend.warn {
    color: var(--warning);
}

.mockup-chart {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 1rem;
    min-height: 120px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    height: 90px;
}

.chart-bars span {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--blue-500), var(--teal-500));
    opacity: 0.85;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy-900);
    line-height: 1.2;
}

.section-header p {
    margin: 0;
    color: var(--gray-500);
    font-size: 1.05rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.problem-card,
.feature-card {
    padding: 1.5rem;
}

.card-icon,
.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(31, 111, 235, 0.1);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.problem-card h3,
.feature-card h3,
.screenshot-card h3 {
    margin: 0 0 0.5rem;
    color: var(--navy-900);
    font-size: 1.08rem;
}

.problem-card p,
.feature-card p,
.screenshot-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.section-features {
    background: var(--white);
}

.section-screenshots {
    background: var(--gray-100);
}

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

.screenshot-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.screenshot-frame {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    background: var(--gray-50);
    aspect-ratio: 16 / 10;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.css-mockup {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.css-mockup-bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.65rem 0.8rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.css-mockup-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}

.css-mockup-content {
    display: grid;
    grid-template-columns: 56px 1fr;
    flex: 1;
    min-height: 0;
}

.css-mockup-sidebar-mini {
    background: var(--navy-900);
}

.css-mockup-panel {
    padding: 1rem;
}

.css-mockup-line {
    height: 10px;
    border-radius: 999px;
    background: var(--gray-200);
    margin-bottom: 0.65rem;
    width: 70%;
}

.css-mockup-line.wide {
    width: 90%;
    background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
    opacity: 0.35;
}

.css-mockup-line.medium {
    width: 55%;
}

.css-mockup-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1rem;
}

.css-mockup-blocks span {
    height: 48px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.css-mockup-dashboard .css-mockup-blocks span:nth-child(1) {
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.15), rgba(20, 184, 166, 0.15));
}

.css-mockup-pos .css-mockup-panel {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 0.75rem;
}

.css-mockup-pos .css-mockup-blocks {
    grid-template-columns: 1fr;
}

.css-mockup-inventory .css-mockup-blocks {
    grid-template-columns: repeat(4, 1fr);
}

.css-mockup-inventory .css-mockup-blocks span {
    height: 36px;
}

.css-mockup-reports .css-mockup-blocks span {
    height: 70px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    padding: 2rem 1.5rem;
    position: relative;
}

.pricing-card h3 {
    margin: 0 0 0.5rem;
    color: var(--navy-900);
    font-size: 1.25rem;
}

.price {
    margin: 0 0 1.25rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy-900);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.price-custom {
    font-size: 1.8rem;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.pricing-card li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 0.95rem;
}

.pricing-card li::before {
    content: "✓";
    color: var(--teal-500);
    font-weight: 700;
    margin-right: 0.55rem;
}

.pricing-card-featured {
    border: 2px solid var(--blue-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.section-founding {
    padding-top: 0;
}

.founding-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    border: none;
}

.founding-card h2 {
    margin: 0 0 0.75rem;
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.founding-card p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 70ch;
}

.founding-list {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.founding-list li {
    margin-bottom: 0.45rem;
}

.section-contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.contact-info h2 {
    margin: 0 0 0.75rem;
    color: var(--navy-900);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact-info p {
    margin: 0 0 1rem;
    color: var(--gray-500);
}

.contact-details p {
    margin: 0.35rem 0;
    color: var(--gray-700);
}

.contact-form-wrap {
    padding: 1.75rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--navy-900);
    font-size: 0.92rem;
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font: inherit;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.15);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.alert-error {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.18);
}

.alert-error p {
    margin: 0 0 0.5rem;
}

.alert-error p:last-child {
    margin-bottom: 0;
}

.alert-contact {
    font-size: 1rem;
}

.alert-contact a {
    color: var(--navy-800);
    font-weight: 600;
}

.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.82);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: start;
}

.site-footer h3 {
    margin: 0 0 0.35rem;
    color: var(--white);
}

.site-footer p {
    margin: 0.25rem 0;
}

.site-footer a {
    color: var(--teal-400);
}

.site-footer a:hover {
    color: var(--white);
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        max-width: 100%;
        justify-self: stretch;
    }

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

    .hero h1,
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
        line-height: 1.12;
    }
}

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

    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid-3,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card-featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--navy-900);
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 0.65rem 0;
    }

    .hero {
        min-height: auto;
        padding: 96px 0 80px;
    }

    .hero h1,
    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.15rem);
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .card-grid-3,
    .card-grid-4,
    .screenshot-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        order: -1;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-form-wrap {
        padding: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
    }

    .mockup-widgets {
        grid-template-columns: 1fr;
    }
}
