/* ==========================================================
   BEACON DESIGN SYSTEM
   Version: 1.0
========================================================== */





/* ==========================================================
   CSS VARIABLES
========================================================== */

:root {

    /* ==========================
       Brand
    ========================== */

    --black: #0A0A0A;
    --white: #FFFFFF;



    /* ==========================
       Neutral Colors
    ========================== */

    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;



    /* ==========================
       Status
    ========================== */

    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;



    /* ==========================
       Layout
    ========================== */

    --container-width: 1280px;
    --navbar-height: 80px;



    /* ==========================
       Border Radius
    ========================== */

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;



    /* ==========================
       Shadows
    ========================== */

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, .05);

    --shadow-md: 0 12px 30px rgba(0, 0, 0, .08);

    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .10);



    /* ==========================
       Border
    ========================== */

    --border-color: var(--gray-200);



    /* ==========================
       Transition
    ========================== */

    --transition-fast: .2s ease;

    --transition: .3s ease;

    --transition-slow: .45s ease;


    /* ==========================
       Spacing
    ========================== */

    --space-0: 0px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-14: 14px;
    --space-16: 16px;
    --space-18: 18px;
    --space-20: 20px;
    --space-24: 24px;
    --space-28: 28px;
    --space-32: 32px;
    --space-36: 36px;
    --space-40: 40px;
    --space-48: 48px;
    --space-56: 56px;
    --space-64: 64px;
    --space-72: 72px;
    --space-80: 80px;
    --space-96: 96px;
    --space-120: 120px;
    --space-160: 160px;



    /* ==========================
       Widths
    ========================== */

    --container-sm: 960px;
    --container-md: 1140px;
    --container-lg: 1280px;
    --container-xl: 1440px;



    /* ==========================
       Component Heights
    ========================== */

    --navbar-height: 80px;

    --button-sm: 42px;
    --button-md: 50px;
    --button-lg: 58px;

    --input-height: 54px;

    --card-padding: 24px;



    /* ==========================
       Font Sizes
    ========================== */

    --text-xs: 12px;
    --text-sm: 14px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;

    --display-lg: 72px;
    --display-md: 64px;
    --display-sm: 56px;

    --heading-xl: 48px;
    --heading-lg: 40px;
    --heading-md: 32px;
    --heading-sm: 24px;



    /* ==========================
       Font Weights
    ========================== */

    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 900;


    /* ==========================
       Z-Index
    ========================== */

    --z-navbar: 1000;
    --z-dropdown: 1010;
    --z-modal: 1100;
    --z-toast: 1200;

}






/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    min-height: 100vh;

}

img {

    display: block;

    max-width: 100%;

}

button {

    background: none;

    border: none;

    outline: none;

    cursor: pointer;

    font: inherit;

}

input,
textarea,
select {

    border: none;

    outline: none;

    background: none;

    font: inherit;

}

a {

    text-decoration: none;

    color: inherit;

}

ul,
ol {

    list-style: none;

}

table {

    border-collapse: collapse;

}

/* ==========================================================
   BASE HTML
========================================================== */

html {

    font-size: 16px;

}

body {

    font-family: "Satoshi", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.6;

    color: var(--black);

    background: var(--white);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

}



/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--black);

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -0.03em;

}

h1 {

    font-size: 72px;

}

h2 {

    font-size: 56px;

}

h3 {

    font-size: 40px;

}

h4 {

    font-size: 30px;

}

h5 {

    font-size: 24px;

}

h6 {

    font-size: 20px;

}

p {

    font-size: 18px;

    color: var(--gray-600);

    line-height: 1.8;

}

small {

    font-size: 14px;

    color: var(--gray-500);

}

strong {

    font-weight: 700;

}

b {

    font-weight: 700;

}



/* ==========================================================
   LAYOUT
========================================================== */

.container {

    width: 100%;

    max-width: var(--container-width);

    margin-inline: auto;

    padding-inline: 24px;

}

.section {

    padding: 120px 0;

}

.section-sm {

    padding: 80px 0;

}

.section-lg {

    padding: 160px 0;

}


/* ==========================================================
   BUTTONS
========================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: none;

    outline: none;

    cursor: pointer;

    user-select: none;

    white-space: nowrap;

    font-family: inherit;

    font-size: var(--text-md);

    font-weight: var(--weight-semibold);

    border-radius: var(--radius-md);

    transition: all var(--transition);

}



/* ==========================
   Sizes
========================== */

.btn-sm {

    height: var(--button-sm);

    padding: 0 18px;

}

.btn-md {

    height: var(--button-md);

    padding: 0 24px;

}

.btn-lg {

    height: var(--button-lg);

    padding: 0 30px;

}



/* ==========================
   Dark
========================== */

.btn-dark {

    background: var(--black);

    color: var(--white);

    border: 1px solid var(--black);

}

.btn-dark:hover {

    background: #1A1A1A;

    border-color: #1A1A1A;

    transform: translateY(-2px);

    box-shadow: var(--shadow-md);

}

.btn-dark:active {

    transform: translateY(0);

}



/* ==========================
   Light
========================== */

.btn-light {

    background: var(--white);

    color: var(--black);

    border: 1px solid var(--gray-200);

}

.btn-light:hover {

    background: var(--gray-50);

    border-color: var(--gray-300);

}



/* ==========================
   Outline
========================== */

.btn-outline {

    background: transparent;

    color: var(--black);

    border: 1px solid var(--gray-300);

}

.btn-outline:hover {

    background: var(--gray-50);

    border-color: var(--black);

}



/* ==========================
   Ghost
========================== */

.btn-ghost {

    background: transparent;

    color: var(--black);

}

.btn-ghost:hover {

    background: var(--gray-100);

}



/* ==========================
   Disabled
========================== */

.btn:disabled,

.btn.disabled {

    opacity: .55;

    cursor: not-allowed;

    pointer-events: none;

}



/* ==========================
   Full Width
========================== */

.btn-block {

    width: 100%;

}



/* ==========================
   Icons
========================== */

.btn i {

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

}



/* ==========================================================
   GRID HELPERS
========================================================== */

.grid {

    display: grid;

}

.flex {

    display: flex;

}

.flex-center {

    display: flex;

    align-items: center;

    justify-content: center;

}

.flex-between {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.flex-column {

    display: flex;

    flex-direction: column;

}



/* ==========================================================
   COMMON SECTION HEADINGS
========================================================== */

.section-heading {

    max-width: 760px;

    margin: 0 auto 72px;

    text-align: center;

}

.section-heading h2 {

    margin-bottom: 20px;

}

.section-heading p {

    max-width: 640px;

    margin-inline: auto;

}



/* ==========================================================
   RESPONSIVE TYPOGRAPHY
========================================================== */

@media (max-width:992px) {

    h1 {

        font-size: 56px;

    }

    h2 {

        font-size: 44px;

    }

    h3 {

        font-size: 34px;

    }

    h4 {

        font-size: 26px;

    }

    p {

        font-size: 17px;

    }

}

@media (max-width:768px) {

    .container {

        padding-inline: 20px;

    }

    .section {

        padding: 90px 0;

    }

    .section-lg {

        padding: 120px 0;

    }

    h1 {

        font-size: 44px;

    }

    h2 {

        font-size: 36px;

    }

    h3 {

        font-size: 30px;

    }

    h4 {

        font-size: 24px;

    }

    p {

        font-size: 16px;

    }

}

@media (max-width:480px) {

    h1 {

        font-size: 38px;

    }

    h2 {

        font-size: 30px;

    }

    h3 {

        font-size: 26px;

    }

}

/* ==========================================================
   FORMS
========================================================== */

.form-group {

    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;

}

.form-label {

    display: block;
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--black);

}

.input,
.select,
.textarea {

    width: 100%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all var(--transition);
    color: var(--black);
    font-size: 16px;

}

.input,
.select {

    height: var(--input-height);
    padding: 0 18px;

}

.textarea {

    min-height: 180px;
    padding: 18px;
    resize: vertical;

}

.input::placeholder,
.textarea::placeholder {

    color: var(--gray-400);

}

.input:hover,
.select:hover,
.textarea:hover {

    border-color: var(--gray-300);

}

.input:focus,
.select:focus,
.textarea:focus {

    border-color: var(--black);
    box-shadow: 0 0 0 4px rgba(10, 10, 10, .05);

}

.input:disabled,
.select:disabled,
.textarea:disabled {

    background: var(--gray-50);
    cursor: not-allowed;
    opacity: .7;

}

.form-error {

    color: var(--danger);
    font-size: 14px;
    margin-top: 6px;

}

.form-success {

    color: var(--success);
    font-size: 14px;
    margin-top: 6px;

}

.required {

    color: var(--danger);

}

/* ==========================================================
   CARDS
========================================================== */

.card {

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--transition);

}

.card:hover {

    transform: translateY(-3px);
    box-shadow: var(--shadow-md);

}

.card-header {

    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;

}

.card-title {

    font-size: 20px;
    font-weight: var(--weight-bold);

}

.card-subtitle {

    font-size: 15px;
    color: var(--gray-500);

}

.card-body {

    display: flex;
    flex-direction: column;
    gap: 18px;

}

.card-footer {

    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);

}

/* ==========================================================
   BADGES
========================================================== */

.badge {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: var(--weight-medium);

}



/* Default */

.badge-default {

    background: var(--gray-100);
    color: var(--gray-700);

}



/* Feature */

.badge-feature {

    background: #F5F3FF;
    color: #6D28D9;

}



/* Improvement */

.badge-improvement {

    background: #EFF6FF;
    color: #2563EB;

}



/* Bug */

.badge-bug {

    background: #FEF2F2;
    color: #DC2626;

}



/* Security */

.badge-security {

    background: #ECFDF5;
    color: #059669;

}



/* Announcement */

.badge-announcement {

    background: #FFFBEB;
    color: #D97706;

}

.badge i {

    font-size: 14px;

}

/* ==========================================================
   LINKS
========================================================== */

.link {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--black);

    font-size: 16px;
    font-weight: var(--weight-medium);

    transition: all var(--transition);

}

.link:hover {

    gap: 12px;

}

.link-muted {

    color: var(--gray-500);

}

.link-muted:hover {

    color: var(--black);

}

.link-primary {

    color: var(--black);

}

.link-primary:hover {

    opacity: .75;

}

.link-danger {

    color: var(--danger);

}

.link-danger:hover {

    opacity: .8;

}

.link i {

    font-size: 15px;

}

/* ==========================================================
   TABLES
========================================================== */

.table-wrapper {

    width: 100%;
    overflow-x: auto;

}

.table {

    width: 100%;
    border-collapse: collapse;
    background: var(--white);

}

.table thead {

    background: var(--gray-50);

}

.table th {

    padding: 18px 24px;

    text-align: left;

    font-size: 14px;
    font-weight: var(--weight-semibold);

    color: var(--gray-500);

    border-bottom: 1px solid var(--gray-200);

}

.table td {

    padding: 20px 24px;

    border-bottom: 1px solid var(--gray-100);

    font-size: 15px;

}

.table tbody tr {

    transition: background var(--transition);

}

.table tbody tr:hover {

    background: var(--gray-50);

}

.table tbody tr:last-child td {

    border-bottom: none;

}

/* ==========================================================
   UTILITY CLASSES
========================================================== */

/* Display */

.d-none {

    display: none;

}

.d-block {

    display: block;

}

.d-inline {

    display: inline;

}

.d-inline-block {

    display: inline-block;

}

.d-flex {

    display: flex;

}

.d-grid {

    display: grid;

}



/* Flex */

.flex-row {

    flex-direction: row;

}

.flex-column {

    flex-direction: column;

}

.align-center {

    align-items: center;

}

.align-start {

    align-items: flex-start;

}

.align-end {

    align-items: flex-end;

}

.justify-center {

    justify-content: center;

}

.justify-between {

    justify-content: space-between;

}

.justify-around {

    justify-content: space-around;

}

.justify-end {

    justify-content: flex-end;

}

.flex-wrap {

    flex-wrap: wrap;

}

.flex-1 {

    flex: 1;

}



/* Gap */

.gap-8 {

    gap: 8px;

}

.gap-12 {

    gap: 12px;

}

.gap-16 {

    gap: 16px;

}

.gap-20 {

    gap: 20px;

}

.gap-24 {

    gap: 24px;

}

.gap-32 {

    gap: 32px;

}



/* Width */

.w-100 {

    width: 100%;

}

.h-100 {

    height: 100%;

}



/* Text */

.text-left {

    text-align: left;

}

.text-center {

    text-align: center;

}

.text-right {

    text-align: right;

}

.text-muted {

    color: var(--gray-500);

}

.text-black {

    color: var(--black);

}

.text-white {

    color: var(--white);

}



/* Font Weight */

.fw-400 {

    font-weight: 400;

}

.fw-500 {

    font-weight: 500;

}

.fw-600 {

    font-weight: 600;

}

.fw-700 {

    font-weight: 700;

}



/* Radius */

.rounded-sm {

    border-radius: var(--radius-sm);

}

.rounded-md {

    border-radius: var(--radius-md);

}

.rounded-lg {

    border-radius: var(--radius-lg);

}

.rounded-xl {

    border-radius: var(--radius-xl);

}

.rounded-full {

    border-radius: var(--radius-full);

}



/* Shadow */

.shadow-sm {

    box-shadow: var(--shadow-sm);

}

.shadow-md {

    box-shadow: var(--shadow-md);

}

.shadow-lg {

    box-shadow: var(--shadow-lg);

}



/* Background */

.bg-white {

    background: var(--white);

}

.bg-light {

    background: var(--gray-50);

}

.bg-black {

    background: var(--black);

}



/* Overflow */

.overflow-hidden {

    overflow: hidden;

}

.overflow-auto {

    overflow: auto;

}



/* Cursor */

.cursor-pointer {

    cursor: pointer;

}



/* Position */

.relative {

    position: relative;

}

.absolute {

    position: absolute;

}



/* Transition */

.transition {

    transition: all var(--transition);

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar {

    width: 10px;
    height: 10px;

}

::-webkit-scrollbar-track {

    background: var(--gray-100);

}

::-webkit-scrollbar-thumb {

    background: var(--gray-300);
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-100);

}

::-webkit-scrollbar-thumb:hover {

    background: var(--gray-400);

}



/* Firefox */

* {

    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) var(--gray-100);

}

/* ==========================================================
   TEXT SELECTION
========================================================== */

::selection {

    background: var(--black);
    color: var(--white);

}

::-moz-selection {

    background: var(--black);
    color: var(--white);

}

/* ==========================================================
   FOCUS STATES
========================================================== */

:focus {

    outline: none;

}

:focus-visible {

    outline: 2px solid var(--black);
    outline-offset: 3px;

}

button:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline: 2px solid var(--black);
    outline-offset: 3px;

}

input:focus,
textarea:focus,
select:focus {

    border-color: var(--black);

}

/* ==========================================================
   404 PAGE
========================================================== */

.error-page {

    min-height: calc(100vh - var(--navbar-height));

    display: flex;
    align-items: center;

    padding: 100px 0;

}

.error-content {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;

}

.error-content h1 {

    margin: 24px 0;

    font-size: 72px;

    line-height: 1.05;

    letter-spacing: -3px;

}

.error-content p {

    max-width: 620px;

    margin: 0 auto 40px;

    font-size: 18px;

}

.error-actions {

    display: flex;
    justify-content: center;
    gap: 18px;

    margin-bottom: 70px;

}

.error-preview {

    display: flex;
    justify-content: center;

}

.error-card {

    width: 100%;
    max-width: 420px;

    padding: 50px 40px;

    border: 1px solid var(--gray-200);

    border-radius: 24px;

    background: var(--white);

    box-shadow: var(--shadow-md);

}

.error-icon {

    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 28px;

    border-radius: 20px;

    background: var(--gray-100);

}

.error-icon i {

    font-size: 34px;

}

.error-card h3 {

    font-size: 56px;

    margin-bottom: 12px;

}

.error-card p {

    margin: 0;

    font-size: 16px;

}

@media(max-width:768px) {

    .error-page {

        padding: 80px 0;

    }

    .error-content h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }

    .error-actions {

        flex-direction: column;

    }

    .error-actions .btn {

        width: 100%;

    }

    .error-card {

        padding: 40px 28px;

    }

    .error-card h3 {

        font-size: 42px;

    }

}