:root {
    --main-color: #7c5cff;
    --main-color-2: #21d4fd;
    --accent: #f5c36d;
    --bg: #060816;
    --bg-soft: #0e1530;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --text: #f7f8ff;
    --text-muted: #b8bfdb;
    --border: rgba(255, 255, 255, 0.16);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
    --sec-padding: 110px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Open Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(124, 92, 255, 0.28), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(33, 212, 253, 0.18), transparent 24%),
        linear-gradient(135deg, #050712 0%, #080c1f 40%, #0b1130 100%);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

body::before {
    top: -160px;
    left: -120px;
    background: rgba(124, 92, 255, 0.5);
}

body::after {
    right: -120px;
    bottom: -120px;
    background: rgba(33, 212, 253, 0.4);
}

ul {
    list-style: none;
}

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

.container {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.main-heading {
    text-align: center;
    margin-bottom: 60px;
}

.main-heading h2 {
    font-weight: 600;
    font-size: clamp(2rem, 3vw, 2.8rem);
    position: relative;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
}

.main-heading h2::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--main-color), var(--main-color-2), transparent);
    bottom: -20px;
    width: 160px;
}

.main-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.75);
    bottom: -26px;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    box-shadow: 0 0 18px rgba(33, 212, 253, 0.6);
}

.main-heading p {
    width: min(690px, 100%);
    margin: 0 auto;
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1rem;
}

header {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 20;
    padding-top: 20px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 80px;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(6, 8, 22, 0.56);
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

header .logo img {
    height: 34px;
    filter: drop-shadow(0 4px 16px rgba(33, 212, 253, 0.25));
}

header nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header nav .toggle {
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    header nav .toggle {
        display: none;
    }
}

header nav ul {
    display: flex;
    gap: 6px;
}

@media (max-width: 767px) {
    header nav ul {
        display: none;
    }

    header nav ul.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        padding: 10px;
        border-radius: 18px;
        border: 1px solid var(--border);
        background: rgba(6, 8, 22, 0.9);
        box-shadow: var(--shadow);
    }

    header nav ul.open li a {
        padding: 14px 16px;
        border-radius: 12px;
    }
}

header nav ul li a {
    padding: 12px 14px;
    display: block;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 999px;
}

header nav ul li a.active,
header nav ul li a:hover {
    color: white;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.22), rgba(33, 212, 253, 0.15));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

header .form {
    position: relative;
    width: 36px;
    height: 36px;
    margin-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 14px;
    background: transparent;
    border-top: none;
    border-right: none;
    border-bottom: none;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

header .form i {
    color: white;
    font-size: 16px;
}

.landing {
    min-height: 100vh;
    background-image: linear-gradient(135deg, rgba(4, 7, 18, 0.82), rgba(4, 7, 18, 0.45)), url(../img/3d-tree-landscape-against-night-sky.jpg);
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.landing::before,
.landing::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    pointer-events: none;
}

.landing::before {
    width: 420px;
    height: 420px;
    background: rgba(124, 92, 255, 0.3);
    left: -120px;
    top: 80px;
}

.landing::after {
    width: 360px;
    height: 360px;
    background: rgba(33, 212, 253, 0.24);
    right: -80px;
    bottom: 50px;
}

.landing .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 20, 0.85) 0%, rgba(5, 8, 20, 0.5) 45%, rgba(5, 8, 20, 0.3) 100%);
}

.landing .text {
    position: relative;
    z-index: 2;
    width: min(640px, 92%);
    margin-left: 40px;
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
    transform: perspective(1000px) translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing .text:hover {
    transform: perspective(1000px) translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.landing .content {
    max-width: 560px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dfe7ff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    box-shadow: 0 0 12px rgba(33, 212, 253, 0.75);
}

.landing .content h2 {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.landing .content p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.btn-primary {
    color: #040711;
    background: linear-gradient(135deg, #ffffff 0%, #dfe9ff 45%, #b7e9ff 100%);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.16);
}

.btn-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.8;
    pointer-events: none;
    animation: floatOrb 7s ease-in-out infinite;
}

.orb-one {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.6), transparent 70%);
    right: 8%;
    top: 18%;
}

.orb-two {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(33, 212, 253, 0.6), transparent 70%);
    right: 18%;
    bottom: 22%;
    animation-delay: -3s;
}

.landing .bullets {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.landing .bullets li {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.landing .bullets li.active {
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    border-color: transparent;
    transform: scale(1.2);
}

section {
    position: relative;
    padding-top: var(--sec-padding);
    padding-bottom: var(--sec-padding);
}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%);
    pointer-events: none;
}

.services,
.about,
.portfolio,
.pricing,
.contact {
    background: transparent;
}

.about-grid,
.portfolio-grid,
.pricing-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 24px;
}

.about-card,
.portfolio-card,
.price-card,
.contact-form,
.contact-info,
.srv-box {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card:hover,
.portfolio-card:hover,
.price-card:hover,
.contact-form:hover,
.contact-info:hover,
.srv-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.26);
}

.about-card,
.contact-info {
    padding: 30px;
}

.about-card h3,
.portfolio-card h3,
.price-card h3,
.contact-info h3,
.srv-box h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 1.2rem;
}

.about-card p,
.portfolio-card p,
.price-card li,
.contact-info p,
.srv-box p {
    color: var(--text-muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.24), rgba(33, 212, 253, 0.16));
    box-shadow: var(--shadow);
}

.stat-box .counter {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: white;
}

.services .services-container {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .services .services-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.srv-box {
    display: flex;
    padding: 28px;
    gap: 24px;
    align-items: flex-start;
}

.srv-box i {
    font-size: 2rem;
    color: #e6e8ff;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.24), rgba(33, 212, 253, 0.16));
    border-radius: 18px;
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.srv-box .text {
    flex: 1;
}

.design {
    padding-top: var(--sec-padding);
    padding-bottom: var(--sec-padding);
    min-height: 640px;
    position: relative;
    background-image: linear-gradient(135deg, rgba(5, 8, 20, 0.78), rgba(5, 8, 20, 0.45)), url(../img/Introduction.png);
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.design::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(33, 212, 253, 0.2), transparent 35%);
    pointer-events: none;
}

.design .image,
.design .text {
    position: relative;
    z-index: 2;
    flex: 1;
}

.design .image {
    text-align: center;
}

.design .image img {
    width: min(320px, 80%);
    margin: auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.design .text {
    color: white;
    padding: 40px;
    margin-right: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.design .text h2 {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.16em;
}

.design .text ul li {
    padding: 13px 0;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 12px;
}

.design .text ul li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f108";
    font-weight: 900;
    color: #b7e9ff;
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.06);
}

.card-content {
    padding: 22px;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.pricing-toggle button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-toggle button.active {
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    color: white;
    box-shadow: 0 10px 25px rgba(124, 92, 255, 0.22);
}

.price-card {
    padding: 28px;
    text-align: center;
}

.price-card.featured {
    border-color: rgba(124, 92, 255, 0.7);
    box-shadow: 0 26px 70px rgba(124, 92, 255, 0.16);
}

.price {
    font-size: 2.6rem;
    color: white;
    margin: 18px 0;
    font-weight: 700;
}

.price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin-top: 14px;
}

.price-card ul li {
    padding: 12px 0;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.contact-form {
    padding: 28px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    font: inherit;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(124, 92, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(124, 92, 255, 0.32);
}

.form-message {
    margin-top: 12px;
    font-size: 0.95rem;
    min-height: 24px;
}

.form-message.success {
    color: #8bf7b9;
}

.form-message.error {
    color: #ff9faa;
}

footer {
    padding: 24px 0 40px;
    text-align: center;
    color: var(--text-muted);
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
    color: white;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(124, 92, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 12;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

@media (max-width: 767px) {
    .landing {
        padding: 120px 0 80px;
    }

    .landing .text {
        margin-left: 0;
        width: calc(100% - 30px);
        margin-inline: auto;
        padding: 30px;
    }

    .landing .content h2 {
        font-size: 2.05rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

    .design {
        flex-direction: column;
        gap: 24px;
    }

    .design .text {
        margin-right: 0;
    }

    .srv-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-card,
    .contact-info,
    .price-card,
    .contact-form,
    .srv-box {
        border-radius: 20px;
    }
}
