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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #08080d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8, 8, 13, 0.85);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: #9d5cff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: #aaaab5;
    font-size: 14px;
    transition: 0.3s;
}

.nav a:hover {
    color: #ffffff;
}

.nav-cta {
    background: #ffffff;
    color: #08080d !important;

    padding: 11px 18px;
    border-radius: 8px;

    font-weight: 700;
}

.nav-cta:hover {
    background: #cba8ff;
}

.menu-btn {
    display: none;

    border: 0;
    background: transparent;
    color: white;

    font-size: 27px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;

    padding-top: 100px;

    overflow: hidden;
}

.hero-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: 80px;

    background: radial-gradient(
        circle,
        rgba(130, 65, 255, 0.22),
        transparent 70%
    );

    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;

    gap: 70px;

    align-items: center;
}

.hero-badge {
    display: inline-block;

    color: #c8a6ff;

    background: rgba(157, 92, 255, 0.1);

    border: 1px solid rgba(157, 92, 255, 0.25);

    padding: 8px 13px;

    border-radius: 50px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(46px, 6vw, 78px);

    line-height: 1.03;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #ffffff,
        #a56cff
    );

    -webkit-background-clip: text;
    color: transparent;
}

.hero-text > p {
    max-width: 600px;

    color: #9999a7;

    font-size: 17px;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 13px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

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

    padding: 14px 21px;

    border-radius: 8px;

    font-weight: 700;

    font-size: 14px;

    border: 1px solid transparent;

    transition: 0.3s;
}

.btn-primary {
    background: #ffffff;
    color: #08080d;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #caa5ff;
}

.btn-secondary {
    border-color: rgba(255,255,255,0.15);

    color: #ffffff;

    background: rgba(255,255,255,0.03);
}

.btn-secondary:hover {
    border-color: #9d5cff;
    background: rgba(157,92,255,0.08);
}

.hero-stats {
    display: flex;
    gap: 35px;

    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 25px;
}

.hero-stats span {
    color: #777784;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 470px;

    min-height: 390px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.1);

    background:
        linear-gradient(
            145deg,
            rgba(157,92,255,0.15),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,0.5);

    transform: rotate(2deg);

    overflow: hidden;
}

.visual-top {
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: #6d6d79;

    font-size: 9px;

    letter-spacing: 1px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #555;
}

.visual-content {
    padding: 65px 45px;
}

.visual-content small {
    color: #a974ff;

    letter-spacing: 2px;

    font-size: 9px;
}

.visual-content h3 {
    font-size: 42px;

    line-height: 1.05;

    margin: 18px 0 28px;
}

.visual-content h3 span {
    color: #9d5cff;
}

.visual-lines {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-bottom: 28px;
}

.visual-lines div {
    height: 7px;

    border-radius: 20px;

    background: rgba(255,255,255,0.09);
}

.visual-lines div:nth-child(1) {
    width: 90%;
}

.visual-lines div:nth-child(2) {
    width: 70%;
}

.visual-lines div:nth-child(3) {
    width: 50%;
}

.visual-button {
    display: inline-block;

    background: #ffffff;
    color: #08080d;

    padding: 9px 18px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: bold;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-label {
    color: #a56cff;

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: bold;

    display: inline-block;

    margin-bottom: 16px;
}

.section-heading h2,
.about-text h2,
.why-text h2,
.contact-intro h2 {
    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.section-heading h2 span,
.about-text h2 span,
.why-text h2 span,
.contact-intro h2 span {
    color: #9d5cff;
}

.section-heading p {
    color: #8f8f9d;

    max-width: 600px;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    padding: 35px 30px;

    min-height: 330px;

    background: #101017;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 14px;

    transition: 0.35s;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(157,92,255,0.5);

    background: #12121c;
}

.service-icon {
    width: 50px;
    height: 50px;

    display: flex;

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

    border-radius: 10px;

    background: rgba(157,92,255,0.12);

    color: #b584ff;

    font-weight: bold;

    font-size: 19px;

    margin-bottom: 25px;
}

.service-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: #454550;

    font-size: 12px;
}

.service-card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.service-card p {
    color: #858592;

    font-size: 14px;

    margin-bottom: 22px;
}

.service-card ul {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.service-card li {
    color: #b8b8c3;

    font-size: 12px;
}

.service-card li::before {
    content: "✓";

    color: #a56cff;

    margin-right: 8px;
}


/* =========================
   WHY
========================= */

.why-section {
    background: #0c0c12;
}

.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.why-text > p {
    color: #8f8f9d;

    max-width: 550px;

    margin-bottom: 30px;
}

.check-list {
    display: grid;

    gap: 14px;
}

.check-list div {
    display: flex;

    align-items: center;

    gap: 12px;
}

.check-list span {
    width: 26px;
    height: 26px;

    display: flex;

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

    background: rgba(157,92,255,0.12);

    color: #a56cff;

    border-radius: 50%;

    font-size: 12px;
}

.check-list p {
    color: #c3c3cc;

    font-size: 14px;
}

.why-visual {
    min-height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.orbit-card {
    width: 360px;
    height: 360px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(157,92,255,0.18);

    border-radius: 50%;
}

.orbit-one {
    width: 250px;
    height: 250px;
}

.orbit-two {
    width: 350px;
    height: 350px;
}

.orbit-center {
    width: 90px;
    height: 90px;

    display: flex;

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

    border-radius: 50%;

    background: #9d5cff;

    color: white;

    font-size: 35px;

    font-weight: 800;

    z-index: 2;

    box-shadow: 0 0 70px rgba(157,92,255,0.4);
}

.floating-card {
    position: absolute;

    padding: 12px 16px;

    background: #15151d;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 9px;

    display: flex;
    flex-direction: column;

    z-index: 3;
}

.floating-card strong {
    font-size: 10px;
}

.floating-card small {
    color: #777783;

    font-size: 9px;
}

.card-one {
    top: 20px;
    left: 10px;
}

.card-two {
    right: 0;
    top: 130px;
}

.card-three {
    bottom: 30px;
    left: 35px;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.portfolio-card {
    background: #101017;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 14px;

    overflow: hidden;

    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);

    border-color: rgba(157,92,255,0.4);
}

.project-image {
    height: 300px;

    padding: 25px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.project-restaurant {
    background: linear-gradient(
        135deg,
        #1d1613,
        #463025
    );
}

.project-fitness {
    background: linear-gradient(
        135deg,
        #10191c,
        #193b3d
    );
}

.project-creator {
    background: linear-gradient(
        135deg,
        #171323,
        #3d205f
    );
}

.project-saas {
    background: linear-gradient(
        135deg,
        #12151f,
        #25314d
    );
}

.fake-browser {
    width: 90%;
    height: 85%;

    background: #111;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.browser-bar {
    height: 25px;

    padding: 6px 10px;

    font-size: 7px;

    color: #777;
}

.restaurant-preview {
    padding: 25px;

    color: white;
}

.restaurant-preview small,
.fitness-preview small,
.creator-preview small,
.saas-preview small {
    font-size: 7px;

    letter-spacing: 2px;

    color: #bbb;
}

.restaurant-preview h3 {
    font-size: 27px;

    line-height: 1.05;

    margin: 15px 0;
}

.restaurant-preview button {
    padding: 7px 12px;

    border: 0;

    font-size: 8px;
}

.fitness-preview {
    width: 80%;

    position: relative;
}

.fitness-preview h3 {
    font-size: 42px;

    line-height: 0.95;

    margin-top: 15px;
}

.fitness-circle {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 70px;
    height: 70px;

    border: 2px solid #6ce0d1;

    border-radius: 50%;

    display: flex;

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

    font-size: 30px;

    color: #6ce0d1;
}

.creator-preview {
    width: 80%;

    display: flex;

    gap: 25px;

    align-items: center;
}

.creator-camera {
    width: 110px;
    height: 150px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #333,
        #777
    );

    transform: rotate(-8deg);
}

.creator-preview h3 {
    font-size: 28px;

    line-height: 1;
}

.saas-preview {
    width: 80%;
}

.saas-preview h3 {
    font-size: 40px;

    line-height: 1;

    margin: 15px 0 25px;
}

.saas-bars {
    display: flex;

    gap: 7px;

    align-items: end;

    height: 50px;
}

.saas-bars i {
    width: 25px;

    background: #7899ff;

    border-radius: 4px 4px 0 0;
}

.saas-bars i:nth-child(1) {
    height: 25%;
}

.saas-bars i:nth-child(2) {
    height: 50%;
}

.saas-bars i:nth-child(3) {
    height: 75%;
}

.saas-bars i:nth-child(4) {
    height: 100%;
}

.project-info {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 22px;
}

.project-info span {
    color: #a56cff;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.project-info h3 {
    font-size: 17px;

    margin-top: 5px;
}

.project-btn {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.1);

    background: transparent;

    color: white;

    transition: 0.3s;
}

.project-btn:hover {
    background: #9d5cff;

    border-color: #9d5cff;
}


/* =========================
   PROCESS
========================= */

.process-section {
    background: #0c0c12;
}

.process-grid {
    display: grid;

    grid-template-columns:
        1fr 40px 1fr 40px 1fr 40px 1fr;

    align-items: center;
}

.process-step {
    padding: 20px;
}

.process-step > span {
    color: #6c6c77;

    font-size: 11px;
}

.process-icon {
    width: 48px;
    height: 48px;

    display: flex;

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

    background: rgba(157,92,255,0.1);

    color: #a56cff;

    border-radius: 10px;

    margin: 15px 0;
}

.process-step h3 {
    font-size: 18px;

    margin-bottom: 8px;
}

.process-step p {
    color: #7f7f8c;

    font-size: 13px;
}

.process-line {
    height: 1px;

    background: rgba(255,255,255,0.1);
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    min-height: 420px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.about-box {
    width: 330px;
    height: 330px;

    border: 1px solid rgba(157,92,255,0.3);

    background:
        radial-gradient(
            circle at center,
            rgba(157,92,255,0.2),
            transparent 60%
        );

    border-radius: 20px;

    display: flex;

    flex-direction: column;

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

    gap: 20px;
}

.about-letter {
    font-size: 100px;

    font-weight: 900;

    color: #9d5cff;
}

.about-box span {
    color: #777784;

    font-size: 9px;

    letter-spacing: 3px;
}

.about-text p {
    color: #888894;

    font-size: 15px;

    margin-bottom: 18px;

    max-width: 520px;
}

.text-link {
    display: inline-block;

    margin-top: 15px;

    color: #b481ff;

    font-weight: bold;

    font-size: 14px;
}


/* =========================
   FAQ
========================= */

.faq-container {
    max-width: 850px;
}

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.faq-item {
    background: #101017;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 10px;

    overflow: hidden;
}

.faq-question {
    width: 100%;

    background: transparent;

    border: 0;

    color: white;

    padding: 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    text-align: left;

    font-weight: bold;
}

.faq-question b {
    font-size: 22px;

    color: #9d5cff;

    transition: 0.3s;
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: 0.35s;
}

.faq-answer p {
    color: #888894;

    padding: 0 20px 20px;

    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 150px;
}

.faq-item.active .faq-question b {
    transform: rotate(45deg);
}


/* =========================
   CONTACT
========================= */

.contact-section {
    background: #0c0c12;
}

.contact-box {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    padding: 55px;

    border-radius: 18px;

    background: #101017;

    border: 1px solid rgba(255,255,255,0.08);
}

.contact-intro p {
    color: #858592;

    max-width: 420px;

    margin-bottom: 25px;
}

.contact-note {
    color: #777783;

    font-size: 12px;
}

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    color: #bcbcc6;

    font-size: 11px;

    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    border: 1px solid rgba(255,255,255,0.08);

    background: #0b0b10;

    color: white;

    border-radius: 7px;

    padding: 13px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #9d5cff;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    border: 0;

    align-self: flex-start;
}

.form-message {
    color: #a56cff;

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 50px 0 25px;

    background: #08080d;

    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 40px;
}

.footer-top p {
    color: #666672;

    font-size: 13px;

    margin-top: 10px;
}

.footer-links {
    display: flex;

    gap: 25px;

    align-items: center;
}

.footer-links a {
    color: #777783;

    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.06);

    display: flex;

    justify-content: space-between;

    color: #555560;

    font-size: 11px;
}


/* =========================
   CHAT
========================= */

.chat-button {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    border: 0;

    border-radius: 50%;

    background: #9d5cff;

    color: white;

    font-size: 23px;

    z-index: 1001;

    box-shadow: 0 10px 40px rgba(157,92,255,0.3);

    transition: 0.25s;
}

.chat-button:hover {
    transform: translateY(-3px);
    background: #aa70ff;
}

.chat-window {
    position: fixed;

    right: 25px;
    bottom: 95px;

    width: 340px;

    background: #111118;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 15px;

    overflow: hidden;

    z-index: 1001;

    box-shadow: 0 25px 80px rgba(0,0,0,0.5);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s;
}

.chat-window.open {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.chat-header {
    padding: 15px;

    display: flex;

    justify-content: space-between;

    background: #171720;
}

.chat-header strong {
    display: block;

    font-size: 14px;
}

.chat-header small {
    color: #6cffaa;

    font-size: 9px;
}

.chat-header button {
    background: transparent;

    border: 0;

    color: white;

    font-size: 22px;
}

.chat-messages {
    height: 270px;

    overflow-y: auto;

    padding: 15px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.chat-message {
    max-width: 85%;

    padding: 10px 12px;

    border-radius: 9px;

    font-size: 12px;

    white-space: pre-wrap;
}

.chat-message.bot {
    background: #1c1c26;

    color: #c2c2cc;

    align-self: flex-start;
}

.chat-message.user {
    background: #9d5cff;

    color: white;

    align-self: flex-end;
}

.typing {
    display: none;

    padding: 0 15px 8px;

    color: #777783;

    font-size: 10px;
}

.chat-input {
    display: flex;

    border-top: 1px solid rgba(255,255,255,0.07);
}

.chat-input input {
    flex: 1;

    background: transparent;

    border: 0;

    color: white;

    padding: 14px;

    outline: none;
}

.chat-input input::placeholder {
    color: #666672;
}

.chat-input button {
    width: 50px;

    background: transparent;

    border: 0;

    color: #9d5cff;

    font-size: 18px;
}

.chat-input button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* =========================
   AUTHENTICATION MODAL
   =========================
   
   Homepage remains visible.
   Login is only required when
   the user tries to access a
   protected feature.
========================= */

.auth-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.72);

    backdrop-filter: blur(12px);

    display: flex;

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

    padding: 20px;

    z-index: 5000;

    opacity: 0;
    visibility: hidden;

    transition: 0.25s;
}

.auth-overlay.open {
    opacity: 1;

    visibility: visible;
}

.auth-box {
    width: min(420px, 100%);

    background: #111118;

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 16px;

    padding: 32px;

    box-shadow:
        0 30px 100px rgba(0,0,0,0.65);

    transform: translateY(15px) scale(0.98);

    transition: 0.25s;
}

.auth-overlay.open .auth-box {
    transform: translateY(0) scale(1);
}

.auth-header {
    text-align: center;

    margin-bottom: 28px;
}

.auth-logo {
    width: 55px;
    height: 55px;

    display: flex;

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

    margin: 0 auto 18px;

    border-radius: 14px;

    background: rgba(157,92,255,0.13);

    border: 1px solid rgba(157,92,255,0.25);

    color: #a56cff;

    font-size: 24px;

    font-weight: 800;
}

.auth-header h2 {
    font-size: 25px;

    margin-bottom: 7px;
}

.auth-header p {
    color: #777783;

    font-size: 13px;
}

.auth-form {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.auth-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.auth-group label {
    color: #bcbcc6;

    font-size: 11px;

    font-weight: bold;
}

.auth-group input {
    width: 100%;

    padding: 13px 14px;

    background: #0b0b10;

    color: white;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 8px;

    outline: none;

    transition: 0.2s;
}

.auth-group input:focus {
    border-color: #9d5cff;

    box-shadow:
        0 0 0 3px rgba(157,92,255,0.08);
}

.auth-group input::placeholder {
    color: #5f5f6b;
}

.auth-submit {
    width: 100%;

    border: 0;

    margin-top: 5px;

    padding: 13px;

    border-radius: 8px;

    background: #ffffff;

    color: #08080d;

    font-weight: 700;

    transition: 0.25s;
}

.auth-submit:hover {
    background: #caa5ff;

    transform: translateY(-2px);
}

.auth-submit:disabled {
    opacity: 0.5;

    transform: none;

    cursor: not-allowed;
}

.auth-message {
    min-height: 18px;

    color: #a56cff;

    font-size: 12px;

    text-align: center;
}

.auth-message.error {
    color: #fb7185;
}

.auth-message.success {
    color: #34d399;
}

.auth-switch {
    text-align: center;

    margin-top: 20px;

    color: #777783;

    font-size: 12px;
}

.auth-switch button {
    border: 0;

    background: transparent;

    color: #a56cff;

    font-weight: 700;

    padding: 0;

    margin-left: 4px;
}

.auth-switch button:hover {
    color: #c4a1ff;
}

.auth-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.03);

    color: #aaaab5;

    font-size: 18px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.auth-close:hover {
    color: white;

    border-color: rgba(157,92,255,0.4);

    background: rgba(157,92,255,0.08);
}

.auth-box {
    position: relative;
}


/* =========================
   LOGGED-IN USER UI
========================= */

.user-menu {
    display: flex;

    align-items: center;

    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    display: flex;

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

    background: #9d5cff;

    color: white;

    font-size: 12px;

    font-weight: bold;
}

.user-email {
    color: #bdbdc7;

    font-size: 12px;

    max-width: 150px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.logout-btn {
    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.03);

    color: #aaaab5;

    border-radius: 7px;

    padding: 7px 10px;

    font-size: 11px;
}

.logout-btn:hover {
    color: white;

    border-color: rgba(157,92,255,0.4);

    background: rgba(157,92,255,0.08);
}


/* =========================
   LOGIN BUTTON
========================= */

.login-btn {
    border: 1px solid rgba(255,255,255,0.12);

    background: rgba(255,255,255,0.04);

    color: white;

    padding: 9px 15px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.25s;
}

.login-btn:hover {
    background: rgba(157,92,255,0.12);

    border-color: #9d5cff;
}


/* =========================
   PROTECTED FEATURE NOTICE
========================= */

.login-required {
    color: #a56cff;

    font-size: 12px;

    text-align: center;

    padding: 12px 15px;

    background: rgba(157,92,255,0.07);

    border-top: 1px solid rgba(157,92,255,0.12);
}


/* =========================
   BACK TO TOP
========================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 95px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.1);

    background: #111118;

    color: white;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;

    z-index: 900;
}

.back-top.show {
    opacity: 1;

    visibility: visible;
}


/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .menu-btn {
        display: block;
    }

    .nav {
        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        background: #0d0d13;

        border-bottom: 1px solid rgba(255,255,255,0.07);

        padding: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 13px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero {
        padding-top: 130px;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid,
    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .process-line {
        display: none;
    }

    .contact-box {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 30px 20px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;

        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .user-menu {
        justify-content: center;

        flex-wrap: wrap;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 550px) {

    .section {
        padding: 85px 0;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats strong {
        font-size: 21px;
    }

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

    .project-image {
        height: 250px;
    }

    .chat-window {
        right: 12px;
        bottom: 85px;

        width: calc(100% - 24px);
    }

    .chat-button {
        right: 15px;
        bottom: 15px;
    }

    .back-top {
        right: 15px;
        bottom: 85px;
    }

    .orbit-card {
        transform: scale(0.8);
    }

    .auth-box {
        padding: 25px 20px;

        border-radius: 14px;
    }

    .auth-header h2 {
        font-size: 22px;
    }

}