/* =========================================
   GLOBAL
========================================= */

:root {

    --primary: #c026ff;
    --secondary: #ff2cdf;

    --bg-dark: #05010d;
    --card-bg: rgba(12, 8, 25, 0.96);

    --text-light: #ffffff;
    --text-gray: #b8b8c7;

    --border-light: rgba(255, 255, 255, 0.05);
    --border-purple: rgba(192, 38, 255, 0.18);

    --shadow-purple: 0 10px 40px rgba(192, 38, 255, 0.15);

    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 14px;

    --transition: all .35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1320px;
}

/* =========================================
   REUSABLE
========================================= */

.glass-card {
    background: linear-gradient(180deg,
            rgba(12, 8, 25, 0.98),
            rgba(7, 4, 16, 0.98));

    border: 1px solid var(--border-purple);

    border-radius: var(--radius-lg);

    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 200px;

    background: radial-gradient(circle,
            rgba(255, 44, 223, 0.08),
            transparent 70%);

    top: -60px;
    right: -60px;
}

.feature-card,
.template-card,
.testimonial-card,
.work-card,
.stat-card {
    transition: var(--transition);
    will-change: transform;
}

.feature-card:hover,
.template-card:hover,
.testimonial-card:hover,
.work-card:hover,
.stat-card:hover {
    transform: translateY(-8px);
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    letter-spacing: -.5px;
}

p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary-custom,
.btn-outline-custom,
.btn-login {
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-primary-custom {
    background: linear-gradient(90deg,
            var(--primary),
            var(--secondary));

    color: white;
    border: none;
    padding: 14px 28px;

    box-shadow: 0 0 30px rgba(192, 38, 255, 0.35);
}

.btn-outline-custom{
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: white;
    padding: 14px 28px;
    width: 100%;
}
.btn-login {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: white;
    padding: 14px 28px;
}

.btn-primary-custom:hover,
.btn-outline-custom:hover,
.btn-login:hover {
    transform: translateY(-3px);
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-size: 34px;
    font-weight: 700;
    color: white;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: #cfcfcf !important;
    margin: 0 12px;
    font-size: 15px;
    transition: var(--transition);
}

.nav-link:hover {
    color: white !important;
}

/* =========================================
   HERO
========================================= */

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;

    background: radial-gradient(circle,
            rgba(192, 38, 255, 0.18),
            transparent 70%);

    top: -180px;
    right: -180px;

    filter: blur(50px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    border-radius: 50px;

    background: rgba(192, 38, 255, 0.1);

    border: 1px solid rgba(192, 38, 255, 0.3);

    color: #ff7cf8;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(90deg,
            var(--primary),
            var(--secondary));

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    margin-top: 35px;
}

.hero-tags {
    margin-top: 35px;
}

.hero-tags span {
    border: 1px solid var(--border-light);

    padding: 14px;

    border-radius: var(--radius-sm);

    background: rgba(255, 255, 255, 0.02);

    display: block;
}

.hero-card {
    background: linear-gradient(180deg,
            rgba(17, 10, 31, 0.95),
            rgba(10, 5, 22, 0.98));

    border-radius: var(--radius-lg);

    position: relative;
    overflow: hidden;

    box-shadow: var(--shadow-purple);
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 44px;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.section-title h2::before,
.section-title h2::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 2px;

    background: linear-gradient(90deg,
            transparent,
            #ff2cdf,
            transparent);

    top: 50%;
}

.section-title h2::before {
    right: calc(100% + 30px);
}

.section-title h2::after {
    left: calc(100% + 30px);
}

/* =========================================
   STATS
========================================= */

.stats-wrapper {
    padding: 30px 9px;
}

.stats-wrapper,
.features-wrapper,
.templates-wrapper,
.testimonial-wrapper {
    background: linear-gradient(180deg,
            rgba(12, 8, 25, 0.98),
            rgba(7, 4, 16, 0.98));

    border: 1px solid var(--border-purple);

    border-radius: var(--radius-lg);

    position: relative;
    overflow: hidden;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 20px;

    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid var(--border-light);
}

.stat-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-content p {
    margin: 0;
}

/* =========================================
   ICONS
========================================= */

.icon-box,
.feature-icon {
    width: 70px;
    height: 70px;

    border-radius: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 26px;

    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg,
            rgba(192, 38, 255, 0.2),
            rgba(255, 44, 223, 0.08));

    border: 1px solid rgba(255, 44, 223, 0.18);

    box-shadow: inset 0 0 20px rgba(192, 38, 255, 0.1);
}

.icon-box::before,
.feature-icon::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.12),
            transparent);
}

/* =========================================
   COLORS
========================================= */

.purple {
    background: linear-gradient(135deg, #7b2ff7, #b026ff);
}

.pink {
    background: linear-gradient(135deg, #ff2cdf, #b026ff);
}

.blue {
    background: linear-gradient(135deg, #4b4bff, #7b2ff7);
}

.gradient {
    background: linear-gradient(135deg, #ff2cdf, #ff7a00);
}

.dark-purple {
    background: linear-gradient(135deg, #6726ff, #8e2dff);
}

.orange {
    background: linear-gradient(135deg,
            #ff7a00,
            #ffb800);

    box-shadow: 0 0 25px rgba(255, 122, 0, 0.35);
}

.magenta {
    background: linear-gradient(135deg,
            #ff008c,
            #ff2cdf);

    box-shadow: 0 0 25px rgba(255, 0, 140, 0.35);
}

/* =========================================
   WORK SECTION
========================================= */

.work-card {
    background: linear-gradient(180deg,
            rgba(16, 10, 29, 0.95),
            rgba(9, 5, 19, 0.98));

    border: 1px solid var(--border-purple);

    border-radius: var(--radius-lg);

    padding: 35px 28px 30px;

    position: relative;
}

.step-number {
    position: absolute;

    top: 0px;
    left: 50%;

    transform: translateX(-50%);

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: linear-gradient(180deg,
            #ff2cdf,
            #a020f0);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    font-weight: 700;
}

/* =========================================
   FEATURES
========================================= */

.features-wrapper {
    padding: 35px;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 44px;
    font-weight: 700;
}

.feature-card {
    padding: 24px;
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid var(--border-light);

    height: 100%;
}

.feature-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
}

/* =========================================
   TEMPLATES
========================================= */

.templates-wrapper {
    padding: 35px;
}

.templates-header {
    margin-bottom: 35px;
}

.templates-header h2 {
    font-size: 42px;
    font-weight: 700;
}

.template-card {
    border-radius: 24px;
    overflow: hidden;

    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.02);
}

.template-image {
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.template-icon {
    width: 90px;
    height: 90px;

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(6px);
}

.template-content {
    padding: 18px;
    text-align: center;
}

.template-content h4 {
    font-size: 18px;
    font-weight: 600;
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-wrapper {
    padding: 35px;
    margin-bottom: 35px;
}

.testimonial-card {
    padding: 28px;

    border-radius: 24px;

    background: linear-gradient(180deg,
            rgba(20, 12, 38, 0.95),
            rgba(10, 6, 18, 0.98));

    border: 1px solid var(--border-light);

    position: relative;
}

.stars {
    color: #ffc400;
    font-size: 22px;
    margin-bottom: 18px;
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 25px;

    color: var(--secondary);

    font-size: 34px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-info img {
    width: 58px;
    height: 58px;

    border-radius: 50%;
    object-fit: cover;
}

/* =========================================
   CTA
========================================= */

.cta-wrapper {
    background: linear-gradient(90deg,
            rgba(110, 25, 255, 0.95),
            rgba(255, 0, 180, 0.92));

    border-radius: var(--radius-sm);

    padding: 6px 50px;

    position: relative;
    overflow: hidden;
}

.rocket-box {
    width: 90px;
    height: 90px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.12);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

    backdrop-filter: blur(6px);
}

.cta-content h2 {
    font-size: 35px;
    font-weight: 700;
}

/* =========================================
   SCHEMA MODAL DESIGN
========================================= */


/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(192, 38, 255, 0.4);
    border-radius: 20px;
}

/* =========================================
   WRAPPER
========================================= */

.schema-wrapper {

    background: var(--card-bg);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    overflow: hidden;

    position: relative;

    box-shadow: var(--shadow-purple);
}

/* Glow */

.schema-wrapper::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 250px;

    background:
        radial-gradient(circle,
            rgba(255, 44, 223, 0.12),
            transparent 70%);

    top: -80px;
    right: -80px;

    filter: blur(40px);
}

/* =========================================
   HEADER
========================================= */

.schema-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 24px 30px;

    border-bottom: 1px solid var(--border-color);

    position: relative;
    z-index: 2;
}

.schema-header h4 {

    color: var(--text-light);

    font-size: 22px;

    font-weight: 700;

    margin: 0;
}

/* =========================================
   CLOSE BUTTON
========================================= */

.close-btn {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    border: 1px solid var(--border-color);

    background: rgba(255, 255, 255, 0.04);

    color: var(--text-light);

    transition: var(--transition);

    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    border-color: transparent;

    transform: rotate(90deg);
}

/* =========================================
   BODY
========================================= */

.schema-body {

    padding: 30px;

    max-height: 90vh;

    overflow-y: auto;

    position: relative;
    z-index: 2;
}

/* =========================================
   CARD
========================================= */

.schema-card {

    background:
        linear-gradient(180deg,
            rgba(20, 12, 38, 0.95),
            rgba(10, 6, 18, 0.98));

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    padding: 40px;

    position: relative;

    overflow: hidden;
}

/* Inner Glow */

.schema-card::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 200px;

    background:
        radial-gradient(circle,
            rgba(192, 38, 255, 0.08),
            transparent 70%);

    top: -50px;
    right: -50px;
}

/* =========================================
   TITLE
========================================= */

.main-title {

    color: var(--text-light);

    font-size: 44px;

    font-weight: 800;

    margin-bottom: 10px;
}

.subtitle {

    color: #8d8da1;

    margin-bottom: 35px;

    font-size: 15px;
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title {

    color: var(--text-light);

    font-size: 28px;

    font-weight: 700;

    margin-bottom: 20px;

    margin-top: 45px;
}

/* =========================================
   TEXT
========================================= */

p,
li {

    color: var(--text-gray);

    line-height: 1.8;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* =========================================
   CODE BLOCK
========================================= */

.code-block,
pre {

    background: #0a0715 !important;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 18px;

    padding: 22px !important;

    overflow-x: auto;

    margin-bottom: 30px;
}

/* Code */

code {

    color: #8effb7 !important;

    font-size: 14px;

    line-height: 2;

    font-family: Consolas, monospace;

    background: transparent !important;
}

/* =========================================
   SUCCESS BOX
========================================= */

.success-box {

    background: var(--success-bg);

    border: 1px solid var(--success-border);

    border-radius: 18px;

    padding: 22px;

    height: 100%;
}

.success-box h5 {

    color: #22c55e;

    margin-bottom: 18px;

    font-weight: 700;
}

/* =========================================
   DANGER BOX
========================================= */

.danger-box {

    background: var(--danger-bg);

    border: 1px solid var(--danger-border);

    border-radius: 18px;

    padding: 22px;

    height: 100%;
}

.danger-box h5 {

    color: #ef4444;

    margin-bottom: 18px;

    font-weight: 700;
}

/* =========================================
   TABLE
========================================= */

.table-customer {

    border-color: var(--border-color);

    color: var(--text-gray);

    margin-bottom: 0;
    width: 100%;
}

/* Head */

.table-customer thead {

    background:
        linear-gradient(90deg,
            rgba(192, 38, 255, 0.12),
            rgba(255, 44, 223, 0.08));
}

.table-customer th {

    color: white;

    font-weight: 600;

    padding: 10px;

    border-color: var(--border-color);
}

.table-customer td {

    padding: 10px;

    border-color: var(--border-color);

    vertical-align: middle;
}

/* Hover */

.table-customer tbody tr {

    transition: var(--transition);
}

.table-customer tbody tr:hover {

    background: rgba(255, 255, 255, 0.03);
}

/* =========================================
   INLINE CODE
========================================= */

td code,
li code,
p code {

    background:
        rgba(192, 38, 255, 0.12) !important;

    color: #ff7cf8 !important;

    padding: 4px 10px;

    border-radius: 8px;

    font-size: 13px;
}

/* =========================================
   TABLE RESPONSIVE
========================================= */

.table-customer-responsive {

    border-radius: 18px;

    overflow: hidden;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px) {

    .schema-header {

        padding: 20px;
    }

    .schema-body {

        padding: 20px;
    }

    .schema-card {

        padding: 24px;
    }

    .main-title {

        font-size: 32px;
    }

    .section-title {

        font-size: 22px;
    }

    code {

        font-size: 12px;
    }

    .table-customer th,
    .table-customer td {

        padding: 14px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media(max-width:576px) {

    .main-title {

        font-size: 28px;
    }

    .schema-header h4 {

        font-size: 18px;
    }

    .section-title {

        font-size: 20px;
    }

    p,
    li {

        font-size: 14px;
    }

    .schema-card {

        padding: 20px;
    }
}

/* =========================================
   TABLET
========================================= */

@media(max-width:991px) {

    section {
        padding: 70px 0;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-buttons,
    .hero-tags {
        justify-content: center;
    }

    .hero-card {
        margin-top: 40px;
    }

    .section-title h2::before,
    .section-title h2::after {
        display: none;
    }

    .section-title h2,
    .section-heading h2,
    .templates-header h2,
    .cta-content h2 {
        font-size: 34px;
    }

    .cta-wrapper {
        padding: 35px;
    }
    .step-number{
        top:20px;
        right: 0px !important;
        left: 88%;
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:576px) {

    section {
        padding: 60px 0;
    }

    .navbar-brand {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px !important;
    }

    p {
        font-size: 14px !important;
    }

    .stats-wrapper,
    .features-wrapper,
    .templates-wrapper,
    .testimonial-wrapper {
        padding: 22px;
    }

    .stat-card,
    .feature-card,
    .testimonial-card,
    .work-card {
        padding: 20px;
    }

    .icon-box,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .template-image {
        height: 150px;
    }

    .template-icon {
        width: 75px;
        height: 75px;
        font-size: 28px;
    }

    .btn-primary-custom,
    .btn-outline-custom,
    .btn-login {
        width: 100%;
        justify-content: center;
    }

    .cta-wrapper {
        padding: 28px;
    }

    .rocket-box {
        width: 75px;
        height: 75px;
        font-size: 34px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
    .feature-card{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .feature-card h4{
        margin-left: 10px;
    }
}