/* =========================================================
   STOCKLITE
   COMPLETE WEBSITE + DASHBOARD STYLES
   Black • Gold • Professional • Responsive
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #f5f5f5;
    line-height: 1.6;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

section {
    width: 100%;
}


/* =========================================================
   SHARED COLORS
========================================================= */

:root {
    --black: #080808;
    --black-light: #111111;
    --black-card: #151515;
    --black-soft: #1b1b1b;

    --gold: #d4af37;
    --gold-light: #f0cc55;
    --gold-dark: #a9841f;

    --white: #ffffff;
    --text: #eeeeee;
    --muted: #8d8d8d;
    --border: #292929;

    --green: #57d68d;
    --red: #ff6b6b;

    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   LANDING PAGE NAVIGATION
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);

    backdrop-filter: blur(12px);
}

.main-nav {
    width: 90%;
    max-width: 1200px;
    min-height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    font-size: 22px;
    font-weight: 800;
}

.logo-mark {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );

    color: #080808;

    font-weight: 900;

    box-shadow:
        0 5px 20px rgba(212, 175, 55, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #bdbdbd;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-get-started {
    padding: 11px 20px;

    border-radius: 8px;

    background: var(--gold);
    color: #080808 !important;

    font-weight: 800 !important;
}

.nav-get-started:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


/* =========================================================
   LANDING PAGE HERO
========================================================= */

.hero-section {
    min-height: 720px;

    padding: 100px 5% 90px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(212, 175, 55, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(212, 175, 55, 0.08),
            transparent 30%
        ),
        #080808;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 600px;
}

.hero-badge {
    display: inline-block;

    padding: 8px 15px;

    margin-bottom: 25px;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 50px;

    background: rgba(212, 175, 55, 0.07);

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-bottom: 25px;

    color: white;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.05;

    letter-spacing: -3px;
}

.hero-content h1 span {
    display: block;

    color: var(--gold);
}

.hero-content > p {
    max-width: 560px;

    margin-bottom: 32px;

    color: #a8a8a8;

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-bottom: 28px;
}

.hero-primary-button,
.hero-secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 140px;

    padding: 14px 24px;

    border-radius: 9px;

    font-size: 15px;
    font-weight: 800;

    transition: 0.25s ease;
}

.hero-primary-button {
    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );

    color: #080808;

    box-shadow:
        0 12px 30px rgba(212, 175, 55, 0.18);
}

.hero-primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.3);
}

.hero-secondary-button {
    border: 1px solid #555;

    background: rgba(255, 255, 255, 0.03);

    color: white;
}

.hero-secondary-button:hover {
    border-color: var(--gold);

    color: var(--gold);

    transform: translateY(-3px);
}

.hero-note {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #777;

    font-size: 13px;
}

.gold-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 12px rgba(212, 175, 55, 0.6);
}


/* =========================================================
   LANDING PAGE DASHBOARD PREVIEW
========================================================= */

.hero-dashboard {
    position: relative;
    z-index: 2;
}

.preview-window {
    overflow: hidden;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 18px;

    background: #111;

    box-shadow: var(--shadow);

    transform: perspective(1000px) rotateY(-3deg);

    transition: 0.4s ease;
}

.preview-window:hover {
    transform:
        perspective(1000px)
        rotateY(0deg)
        translateY(-5px);
}

.preview-top {
    height: 52px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    border-bottom: 1px solid #262626;

    background: #151515;
}

.preview-dots {
    position: absolute;
    left: 18px;

    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #555;
}

.preview-title {
    color: #999;

    font-size: 12px;
}

.preview-content {
    padding: 25px;
}

.preview-welcome small {
    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.preview-welcome h3 {
    margin-top: 5px;

    color: white;

    font-size: 23px;
}

.preview-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin: 25px 0;
}

.preview-stat {
    padding: 18px;

    border: 1px solid #292929;

    border-radius: 10px;

    background: #181818;
}

.preview-stat small {
    display: block;

    margin-bottom: 7px;

    color: #777;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.preview-stat strong {
    color: #f1f1f1;

    font-size: 24px;
}

.preview-table {
    overflow: hidden;

    border: 1px solid #292929;

    border-radius: 10px;
}

.preview-table-header,
.preview-row {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 10px;

    padding: 13px 15px;

    font-size: 11px;
}

.preview-table-header {
    background: #151515;

    color: #777;

    font-weight: 800;
}

.preview-row {
    border-top: 1px solid #252525;

    color: #bcbcbc;
}

.stock-good {
    color: var(--green);
}

.stock-low {
    color: var(--gold);
}


/* =========================================================
   LANDING PAGE GENERAL SECTIONS
========================================================= */

.section-container {
    width: 90%;
    max-width: 1150px;

    margin: auto;
}

.problem-section,
.how-section {
    padding: 110px 0;

    background: #0d0d0d;

    border-top: 1px solid #171717;
    border-bottom: 1px solid #171717;
}

.features-section {
    padding: 120px 0;

    background: #080808;
}

.section-heading {
    max-width: 700px;
}

.section-heading.centered {
    margin: auto;

    text-align: center;
}

.section-heading > span,
.cta-box > div > span {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-bottom: 18px;

    color: white;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-heading p {
    color: #888;

    font-size: 16px;
}


/* =========================================================
   PROBLEM CARDS
========================================================= */

.problem-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 55px;
}

.problem-card {
    padding: 32px;

    border: 1px solid #252525;

    border-radius: 14px;

    background: #121212;

    transition: 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-6px);

    border-color: rgba(212, 175, 55, 0.45);

    box-shadow: var(--shadow);
}

.problem-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border: 1px solid rgba(212, 175, 55, 0.35);

    border-radius: 10px;

    background: rgba(212, 175, 55, 0.07);

    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
}

.problem-card h3 {
    margin-bottom: 10px;

    color: white;

    font-size: 20px;
}

.problem-card p {
    color: #808080;

    font-size: 14px;
}


/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin-top: 60px;
}

.feature-card {
    padding: 38px 32px;

    position: relative;

    overflow: hidden;

    border: 1px solid #282828;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0e0e0e
        );

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-7px);

    border-color: rgba(212, 175, 55, 0.45);

    box-shadow: var(--shadow);
}

.feature-number {
    margin-bottom: 30px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1px;
}

.feature-card h3 {
    margin-bottom: 12px;

    color: white;

    font-size: 22px;
}

.feature-card p {
    color: #858585;

    font-size: 14px;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.steps-container {
    max-width: 950px;

    display: flex;

    align-items: center;

    margin: 65px auto 0;
}

.step {
    flex: 1;

    display: flex;

    align-items: flex-start;

    gap: 16px;
}

.step-number {
    min-width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gold);

    color: #080808;

    font-weight: 900;
}

.step h3 {
    margin-bottom: 7px;

    color: white;

    font-size: 17px;
}

.step p {
    color: #777;

    font-size: 13px;
}

.step-line {
    width: 70px;
    height: 1px;

    margin: 0 20px;

    background: linear-gradient(
        to right,
        var(--gold),
        #333
    );
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 100px 5%;

    background: #080808;
}

.cta-box {
    max-width: 1100px;

    margin: auto;

    padding: 55px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, 0.13),
            transparent 35%
        ),
        #111;
}

.cta-box h2 {
    margin-bottom: 10px;

    color: white;

    font-size: clamp(28px, 4vw, 42px);
}

.cta-box p {
    color: #858585;
}

.cta-button {
    flex-shrink: 0;

    padding: 15px 25px;

    border-radius: 9px;

    background: var(--gold);

    color: #080808;

    font-weight: 900;

    transition: 0.25s ease;
}

.cta-button:hover {
    background: var(--gold-light);

    transform: translateY(-3px);
}


/* =========================================================
   LANDING PAGE FOOTER
========================================================= */

.site-footer {
    padding: 60px 5% 25px;

    background: #050505;

    border-top: 1px solid #1b1b1b;
}

.footer-content {
    max-width: 1150px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 50px;
}

.footer-content > div:first-child {
    max-width: 330px;
}

.footer-content .site-logo {
    margin-bottom: 16px;
}

.footer-content p {
    color: #666;

    font-size: 13px;
}

.footer-links {
    display: flex;

    align-items: center;

    gap: 25px;
}

.footer-links a {
    color: #777;

    font-size: 13px;
    font-weight: 600;

    transition: 0.25s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1150px;

    margin: 45px auto 0;

    padding-top: 22px;

    border-top: 1px solid #181818;

    text-align: center;
}

.footer-bottom p {
    color: #505050;

    font-size: 12px;
}


/* =========================================================
   =========================================================
   STOCKLITE DASHBOARD
   =========================================================
========================================================= */


/* =========================================================
   DASHBOARD BODY
========================================================= */

.dashboard-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212, 175, 55, 0.06),
            transparent 35%
        ),
        #080808;
}


/* =========================================================
   DASHBOARD HEADER
========================================================= */

.dashboard-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom: 1px solid rgba(212, 175, 55, 0.18);

    background: rgba(8, 8, 8, 0.96);

    backdrop-filter: blur(12px);
}

.dashboard-nav {
    width: 92%;
    max-width: 1250px;

    min-height: 76px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.dashboard-logo {
    display: flex;

    align-items: center;

    gap: 11px;

    color: white;

    font-size: 22px;
    font-weight: 800;
}

.logout-button {
    padding: 11px 20px;

    border: 1px solid rgba(212, 175, 55, 0.45);

    border-radius: 8px;

    background: rgba(212, 175, 55, 0.08);

    color: var(--gold);

    font-size: 14px;
    font-weight: 800;

    transition: 0.25s ease;
}

.logout-button:hover {
    background: var(--gold);

    color: #080808;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.2);
}


/* =========================================================
   DASHBOARD MAIN
========================================================= */

.dashboard-main {
    width: 92%;
    max-width: 1250px;

    margin: auto;

    padding: 55px 0 80px;
}


/* =========================================================
   DASHBOARD WELCOME
========================================================= */

.dashboard-welcome {
    position: relative;

    overflow: hidden;

    margin-bottom: 30px;

    padding: 45px;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(212, 175, 55, 0.14),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #161616,
            #0e0e0e
        );

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.35);
}

.dashboard-welcome::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    bottom: -140px;

    border: 1px solid rgba(212, 175, 55, 0.15);

    border-radius: 50%;
}

.dashboard-label {
    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.dashboard-welcome h1 {
    margin-bottom: 10px;

    color: white;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;
}

.welcome-description {
    max-width: 650px;

    color: #858585;

    font-size: 15px;
}


/* =========================================================
   DASHBOARD CARDS
========================================================= */

.dashboard-card {
    margin-bottom: 30px;

    padding: 35px;

    border: 1px solid #252525;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #101010
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.dashboard-card:hover {
    border-color: #303030;
}

.section-heading h2,
.inventory-heading h2 {
    margin-bottom: 7px;

    color: white;

    font-size: 27px;
}

.section-heading p,
.inventory-heading p {
    color: #777;

    font-size: 14px;
}


/* =========================================================
   PRODUCT FORM
========================================================= */

.product-form {
    margin-top: 28px;

    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        1fr
        1fr
        auto;

    align-items: end;

    gap: 17px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    color: #bcbcbc;

    font-size: 12px;
    font-weight: 700;
}

.form-group input {
    width: 100%;

    min-height: 48px;

    padding: 0 14px;

    border: 1px solid #333;

    border-radius: 9px;

    outline: none;

    background: #0c0c0c;

    color: white;

    font-size: 14px;

    transition: 0.25s ease;
}

.form-group input::placeholder {
    color: #555;
}

.form-group input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.08);
}

.price-input {
    position: relative;

    display: flex;

    align-items: center;
}

.price-input span {
    position: absolute;

    left: 14px;

    z-index: 2;

    color: var(--gold);

    font-weight: 800;
}

.price-input input {
    padding-left: 32px;
}


/* =========================================================
   DASHBOARD BUTTONS
========================================================= */

.primary-button,
.secondary-button {
    min-height: 48px;

    padding: 0 20px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 800;

    transition: 0.25s ease;
}

.primary-button {
    border: 1px solid var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: #080808;

    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.12);
}

.primary-button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(212, 175, 55, 0.2);
}

.secondary-button {
    border: 1px solid #444;

    background: #1a1a1a;

    color: #ccc;
}

.secondary-button:hover {
    border-color: var(--gold);

    color: var(--gold);
}


/* =========================================================
   PRODUCT MESSAGE
========================================================= */

.product-message {
    min-height: 22px;

    margin-top: 16px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   PRODUCT TABLE
========================================================= */

.products-table-wrapper {
    margin-top: 28px;

    overflow-x: auto;

    border: 1px solid #292929;

    border-radius: 13px;

    background: #0c0c0c;
}

#products-container {
    min-width: 720px;
}

.products-table {
    width: 100%;

    border-collapse: collapse;
}

.products-table th {
    padding: 16px;

    border-bottom: 1px solid #303030;

    background: #151515;

    color: #777;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    text-align: left;
}

.products-table td {
    padding: 16px;

    border-bottom: 1px solid #202020;

    color: #c5c5c5;

    font-size: 13px;
}

.products-table tr:last-child td {
    border-bottom: none;
}

.products-table tbody tr {
    transition: 0.2s ease;
}

.products-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.035);
}

.loading-message,
.no-products-message {
    padding: 45px;

    text-align: center;

    color: #777;

    font-size: 14px;
}


/* =========================================================
   PRODUCT STATUS
========================================================= */

.stock-status {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;
}

.stock-status.good {
    background: rgba(87, 214, 141, 0.08);

    color: var(--green);
}

.stock-status.low {
    background: rgba(212, 175, 55, 0.1);

    color: var(--gold);
}


/* =========================================================
   EDIT / DELETE BUTTONS
========================================================= */

.edit-button,
.delete-button {
    padding: 8px 13px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 800;

    transition: 0.2s ease;
}

.edit-button {
    border: 1px solid rgba(212, 175, 55, 0.35);

    background: rgba(212, 175, 55, 0.07);

    color: var(--gold);
}

.edit-button:hover {
    background: var(--gold);

    color: #080808;
}

.delete-button {
    margin-left: 6px;

    border: 1px solid rgba(255, 107, 107, 0.3);

    background: rgba(255, 107, 107, 0.07);

    color: #ff7c7c;
}

.delete-button:hover {
    background: #ff6b6b;

    color: white;
}


/* =========================================================
   EDIT MODAL
========================================================= */

.edit-modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(8px);
}

.edit-modal.hidden {
    display: none;
}

.edit-modal-content {
    width: 100%;
    max-width: 600px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #181818,
            #0d0d0d
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65);
}

.edit-modal-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.edit-modal-header h2 {
    margin-bottom: 5px;

    color: white;

    font-size: 26px;
}

.edit-modal-header p {
    color: #777;

    font-size: 13px;
}

.close-edit-button {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 1px solid #333;

    border-radius: 8px;

    background: #171717;

    color: #aaa;

    font-size: 24px;

    transition: 0.2s ease;
}

.close-edit-button:hover {
    border-color: var(--gold);

    color: var(--gold);
}

.edit-modal .product-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.edit-modal .form-group:first-child {
    grid-column: 1 / -1;
}

.edit-actions {
    grid-column: 1 / -1;

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 8px;
}


/* =========================================================
   DASHBOARD FOOTER
========================================================= */

.dashboard-footer {
    padding: 25px;

    border-top: 1px solid #1d1d1d;

    background: #050505;

    text-align: center;
}

.dashboard-footer p {
    color: #555;

    font-size: 12px;
}


/* =========================================================
   AUTHENTICATION PAGES
========================================================= */

.auth-page {
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212, 175, 55, 0.1),
            transparent 35%
        ),
        #080808;
}

.auth-container {
    width: 92%;
    max-width: 470px;

    margin: auto;

    padding: 55px 0;
}

.auth-card {
    padding: 40px;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #171717,
            #0e0e0e
        );

    box-shadow: var(--shadow);
}

.auth-card h1,
.auth-card h2 {
    color: white;

    margin-bottom: 10px;
}

.auth-card p {
    color: #777;
}

.auth-card form {
    margin-top: 28px;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card button[type="submit"] {
    width: 100%;

    margin-top: 8px;
}

.auth-message {
    min-height: 25px;

    margin-top: 15px;

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1000px) {

    .hero-section {
        grid-template-columns: 1fr;

        padding-top: 75px;
    }

    .hero-content {
        max-width: 750px;

        margin: auto;

        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        justify-content: center;
    }

    .hero-dashboard {
        max-width: 750px;

        width: 100%;

        margin: auto;
    }

    .preview-window {
        transform: none;
    }

    .product-form {
        grid-template-columns: 1fr 1fr;
    }

    .product-form .primary-button {
        width: 100%;
    }
}


@media (max-width: 800px) {

    .problem-cards,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .feature-card {
        max-width: 650px;

        width: 100%;

        margin: auto;
    }

    .steps-container {
        flex-direction: column;

        align-items: stretch;

        gap: 25px;
    }

    .step-line {
        width: 1px;

        height: 35px;

        margin:
            -10px 0
            -10px 23px;

        background:
            linear-gradient(
                to bottom,
                var(--gold),
                #333
            );
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-button {
        width: 100%;

        text-align: center;
    }

    .footer-content {
        flex-direction: column;
    }
}


@media (max-width: 650px) {

    .main-nav {
        padding: 16px 0;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a:not(.nav-get-started) {
        display: none;
    }

    .nav-get-started {
        padding: 10px 14px;
    }

    .hero-section {
        padding: 65px 6%;
    }

    .hero-content h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-primary-button,
    .hero-secondary-button {
        width: 100%;

        max-width: 300px;

        margin: auto;
    }

    .preview-stats {
        grid-template-columns: 1fr;
    }

    .preview-table {
        overflow-x: auto;
    }

    .dashboard-main {
        width: 94%;

        padding-top: 30px;
    }

    .dashboard-welcome {
        padding: 30px 24px;
    }

    .dashboard-card {
        padding: 25px 20px;
    }

    .product-form {
        grid-template-columns: 1fr;
    }

    .edit-modal-content {
        padding: 25px 20px;
    }

    .edit-modal .product-form {
        grid-template-columns: 1fr;
    }

    .edit-modal .form-group:first-child {
        grid-column: auto;
    }

    .edit-actions {
        grid-column: auto;

        flex-direction: column-reverse;
    }

    .edit-actions button {
        width: 100%;
    }

    .dashboard-logo {
        font-size: 19px;
    }

    .logout-button {
        padding: 9px 14px;
    }
}


@media (max-width: 450px) {

    .logo-mark {
        width: 35px;
        height: 35px;
    }

    .site-logo {
        font-size: 19px;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .dashboard-welcome h1 {
        font-size: 32px;
    }

    .preview-content {
        padding: 15px;
    }

    .auth-card {
        padding: 28px 22px;
    }
}