/* =========================================
   PARVANEH
   MAIN STYLES
========================================= */

:root {

    --navy-950: #020c1b;
    --navy-900: #071526;
    --navy-800: #0a192f;
    --navy-700: #112240;
    --navy-600: #233554;

    --text-main: #ccd6f6;
    --text-light: #e6f1ff;
    --text-muted: #8892b0;

    --accent: #64ffda;
    --accent-soft: rgba(100, 255, 218, 0.08);
    --accent-border: rgba(100, 255, 218, 0.25);

    --white: #ffffff;

    --container: 1200px;

    --header-height: 90px;

    --transition:
        300ms cubic-bezier(.22, .61, .36, 1);
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;

    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(100, 255, 218, 0.035),
            transparent 25%
        ),
        var(--navy-800);

    color: var(--text-main);

    line-height: 1.8;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

::selection {
    background: var(--accent);
    color: var(--navy-800);
}


/* =========================================
   BACKGROUND
========================================= */

.background-grid {
    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: .025;

    background-image:
        linear-gradient(
            rgba(100, 255, 218, .5) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(100, 255, 218, .5) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    z-index: -2;
}

.background-glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(100, 255, 218, .035);

    filter: blur(100px);

    top: 10%;
    left: 10%;

    pointer-events: none;

    z-index: -1;
}


/* =========================================
   HEADER
========================================= */

.site-header {

    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    height: var(--header-height);

    z-index: 1000;

    transition: var(--transition);
}

.site-header.scrolled {

    background: rgba(2, 12, 27, .88);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(204, 214, 246, .06);
}

.header-inner {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


/* =========================================
   BRAND
========================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--text-light);

    font-weight: 700;

    white-space: nowrap;
}

.brand-mark {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid var(--accent-border);

    color: var(--accent);

    border-radius: 50%;

    font-size: 16px;

    transition: var(--transition);
}

.brand:hover .brand-mark {

    background: var(--accent);

    color: var(--navy-800);

    transform: rotate(10deg);
}

.brand-name {
    font-size: 15px;
}


/* =========================================
   NAVIGATION
========================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 34px;

    margin-right: auto;

    margin-left: auto;
}

.nav-link {

    position: relative;

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--text-muted);

    font-size: 13px;

    transition: var(--transition);
}

.nav-link .nav-number {

    color: var(--accent);

    font-family: monospace;

    font-size: 10px;

    opacity: .7;
}

.nav-link::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {

    color: var(--text-light);
}

.nav-link.active::after {

    width: 100%;
}


/* =========================================
   HEADER CONTACT
========================================= */

.header-contact {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--accent);

    font-size: 12px;

    padding: 9px 15px;

    border: 1px solid var(--accent-border);

    border-radius: 4px;

    transition: var(--transition);
}

.header-contact:hover {

    background: var(--accent-soft);

    transform: translateY(-2px);
}


/* =========================================
   MOBILE BUTTON
========================================= */

.mobile-menu-btn {

    display: none;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.mobile-menu-btn span {

    display: block;

    width: 25px;
    height: 2px;

    background: var(--accent);

    margin: 5px 0;

    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   LANGUAGE SWITCH
========================================= */

.lang-switch {

    display: flex;

    align-items: center;

    gap: 2px;

    padding: 3px;

    border: 1px solid rgba(136,146,176,.15);

    border-radius: 6px;

    flex-shrink: 0;
}

.lang-btn {

    border: 0;

    background: transparent;

    color: var(--text-muted);

    font-family: monospace;
    font-size: 11px;
    letter-spacing: .5px;

    padding: 6px 11px;

    border-radius: 4px;

    cursor: pointer;

    transition: var(--transition);
}

.lang-btn:hover {

    color: var(--text-light);
}

.lang-btn.active {

    background: var(--accent-soft);

    color: var(--accent);
}


/* =========================================
   SECTIONS
========================================= */

.section {

    position: relative;

    min-height: 100vh;

    padding:
        140px 0
        100px;
}

.section-container {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 70px;
}

.section-label {

    position: sticky;

    top: 140px;

    align-self: start;

    color: var(--text-muted);

    font-size: 12px;

    letter-spacing: .04em;

    display: flex;

    align-items: center;

    gap: 10px;
}

.section-label .label-number {

    color: var(--accent);

    font-family: monospace;

    font-size: 11px;
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 120px;
}

.hero-container {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    align-items: center;

    gap: 80px;
}

.eyebrow,
.small-title {

    color: var(--accent);

    font-family: monospace;

    font-size: 11px;

    letter-spacing: .08em;

    margin-bottom: 20px;
}

.status-dot {

    width: 7px;
    height: 7px;

    display: inline-block;

    background: var(--accent);

    border-radius: 50%;

    margin-left: 8px;

    box-shadow:
        0 0 0 5px
        rgba(100, 255, 218, .07);
}

.hero h1 {

    color: var(--text-light);

    font-size: clamp(
        50px,
        7vw,
        90px
    );

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -2px;

    margin-bottom: 12px;
}

.hero h1 .brand-name-hero {

    color: var(--accent);
}

.hero h2 {

    color: var(--text-main);

    font-size: clamp(
        20px,
        2.6vw,
        32px
    );

    line-height: 1.5;

    font-weight: 500;

    max-width: 700px;

    margin-bottom: 24px;
}

.hero-description {

    max-width: 600px;

    color: var(--text-muted);

    font-size: 15px;

    line-height: 2;

    margin-bottom: 35px;
}


/* =========================================
   HERO ACTIONS
========================================= */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 12px;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 13px 22px;

    font-size: 13px;

    border-radius: 4px;

    transition: var(--transition);
}

.btn-primary {

    color: var(--navy-800);

    background: var(--accent);

    border: 1px solid var(--accent);
}

.btn-primary:hover {

    background: transparent;

    color: var(--accent);

    transform: translateY(-3px);
}

.btn-secondary {

    color: var(--accent);

    border: 1px solid var(--accent-border);
}

.btn-secondary:hover {

    background: var(--accent-soft);

    transform: translateY(-3px);
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {

    display: flex;

    justify-content: center;

    perspective: 1000px;
}

.hero-card {
    width: min(100%, 360px);
    aspect-ratio: .78;
    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;

    border: 1px solid rgba(100, 255, 218, .14);

    background:
        linear-gradient(
            145deg,
            rgba(17, 34, 64, .92),
            rgba(7, 21, 38, .82)
        );

    box-shadow:
        0 35px 90px rgba(0, 0, 0, .38),
        0 0 50px rgba(100, 255, 218, .025);

    transform:
        perspective(1000px)
        rotateY(-7deg)
        rotateX(3deg);

    transition:
        transform 700ms cubic-bezier(.22,.61,.36,1),
        border-color 400ms ease,
        box-shadow 400ms ease;

    overflow: hidden;
}

.hero-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(100,255,218,.06),
            transparent 70%
        );

    transform: translateX(-100%);
    transition: 900ms ease;

    pointer-events: none;
}

.hero-card:hover::before {
    transform: translateX(100%);
}

.hero-card:hover {
    transform:
        perspective(1000px)
        rotateY(0)
        rotateX(0)
        translateY(-10px);

    border-color: var(--accent-border);

    box-shadow:
        0 45px 100px rgba(0, 0, 0, .45),
        0 0 60px rgba(100, 255, 218, .07);
}

.card-top,
.card-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 9px;

    letter-spacing: .08em;
}

.card-logo {

    display: grid;

    place-items: center;
}

.logo-placeholder {
    width: 300px;
    height: 400px;

    margin: 0 auto;

    border-radius: 12px;
    overflow: hidden;

    border: 1px solid rgba(100,255,218,.22);

    background: var(--navy-900);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        0 0 40px rgba(100,255,218,.04);

    transition:
        transform 500ms ease,
        box-shadow 500ms ease;
}

.hero-card:hover .logo-placeholder {
    transform: translateY(-3px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.4),
        0 0 55px rgba(100,255,218,.08);
}

.logo-placeholder img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.card-bottom div {

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.card-bottom strong {

    color: var(--text-light);

    font-size: 10px;
}


/* =========================================
   SCROLL INDICATOR
========================================= */

.scroll-indicator {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 8px;

    letter-spacing: .12em;
}

.scroll-indicator i {

    width: 1px;
    height: 45px;

    background:
        linear-gradient(
            var(--accent),
            transparent
        );
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {

    margin-bottom: 65px;
}

.section-heading h2 {

    max-width: 800px;

    color: var(--text-light);

    font-size: clamp(
        35px,
        5vw,
        60px
    );

    line-height: 1.35;

    font-weight: 600;

    letter-spacing: -1px;
}

.section-heading h2 .h2-highlight {

    color: var(--accent);
}


/* =========================================
   ABOUT
========================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(250px, .7fr);

    gap: 70px;

    align-items: start;
}

.about-text {

    color: var(--text-muted);

    font-size: 15px;
}

.about-text p {

    margin-bottom: 22px;
}

.about-stats {

    display: grid;

    gap: 15px;
}

.stat {

    padding: 22px;

    border: 1px solid
        rgba(136, 146, 176, .12);

    background:
        rgba(17, 34, 64, .35);

    transition: var(--transition);
}

.stat:hover {

    border-color:
        var(--accent-border);

    transform:
        translateX(-5px);
}

.stat strong {

    display: block;

    color: var(--accent);

    font-family: monospace;

    font-size: 25px;

    margin-bottom: 5px;
}

.stat span {

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================
   SERVICES
========================================= */

.services-list {

    display: grid;

    gap: 2px;
}

.services-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(136,146,176,.13);
}

.service-card {
    position: relative;

    display: grid;
    grid-template-columns: 70px minmax(0,1fr) 50px;

    align-items: center;
    gap: 25px;

    padding: 32px 20px;

    border-bottom: 1px solid rgba(136,146,176,.13);

    transition:
        background 350ms ease,
        padding 350ms ease,
        border-color 350ms ease;

    overflow: hidden;
}

.service-card::before {
    content: "";

    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;

    width: 2px;

    background: var(--accent);

    transform: scaleY(0);
    transform-origin: bottom;

    transition: transform 400ms ease;
}

.service-card:hover {
    background: rgba(17,34,64,.45);
    padding-right: 32px;
    border-color: rgba(100,255,218,.12);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-number {
    color: var(--accent);

    font-family: monospace;
    font-size: 11px;

    opacity: .7;

    transition: 300ms ease;
}

.service-card:hover .service-number {
    opacity: 1;
    transform: translateX(-4px);
}

.service-info h3 {
    color: var(--text-light);

    font-size: 19px;
    font-weight: 500;

    margin-bottom: 7px;

    transition: 300ms ease;
}

.service-card:hover h3 {
    color: var(--accent);
}

.service-info p {
    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.9;

    max-width: 650px;

    transition: 300ms ease;
}

.service-card:hover .service-info p {
    color: var(--text-main);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 7px;

    max-width: 650px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.7;

    transition: 300ms ease;
}

.service-features li::before {
    content: "+";

    color: var(--accent);

    font-weight: 700;
    font-size: 14px;

    transition: 300ms ease;
}

.service-card:hover .service-features li {
    color: var(--text-main);
}

.service-arrow {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(136,146,176,.15);

    color: var(--text-muted);

    font-size: 17px;

    transition:
        350ms ease;
}

.service-card:hover .service-arrow {
    color: var(--accent);

    border-color: var(--accent-border);

    transform:
        translate(-4px,-4px)
        rotate(2deg);

    background: var(--accent-soft);
}


/* =========================================
   TIMELINE
========================================= */

.timeline {

    position: relative;

    display: grid;

    gap: 0;
}

.timeline::before {

    content: "";

    position: absolute;

    right: 115px;

    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            transparent,
            var(--navy-600),
            transparent
        );
}

.timeline-item {

    position: relative;

    display: grid;

    grid-template-columns:
        90px
        50px
        1fr;

    gap: 25px;

    padding: 30px 0;
}

.timeline-date {

    color: var(--text-muted);

    font-family: monospace;

    font-size: 10px;

    padding-top: 4px;
}

.timeline-marker {

    position: relative;

    width: 9px;
    height: 9px;

    margin-top: 7px;

    border:
        1px solid
        var(--accent);

    background:
        var(--navy-800);

    border-radius: 50%;

    z-index: 2;
}

.timeline-item:hover
.timeline-marker {

    background: var(--accent);

    box-shadow:
        0 0 0 7px
        rgba(100, 255, 218, .07);
}

.timeline-content {

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(136, 146, 176, .1);
}

.timeline-content h3 {

    color: var(--text-light);

    font-size: 19px;

    font-weight: 500;

    margin-bottom: 10px;
}

.timeline-content p {

    color: var(--text-muted);

    font-size: 13px;

    max-width: 650px;

    margin-bottom: 15px;
}

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.tags span {

    padding: 3px 9px;

    border:
        1px solid
        rgba(100, 255, 218, .15);

    color: var(--accent);

    font-family: monospace;

    font-size: 9px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    min-height: 80vh;

    display: flex;

    align-items: center;
}

.contact-wrapper {

    max-width: 800px;
}

.contact-wrapper h2 {

    color: var(--text-light);

    font-size: clamp(
        40px,
        6vw,
        70px
    );

    line-height: 1.35;

    margin-bottom: 20px;
}

.contact-wrapper h2 .h2-highlight {

    color: var(--accent);
}

.contact-description {

    max-width: 600px;

    color: var(--text-muted);

    font-size: 14px;

    margin-bottom: 40px;
}

.contact-links {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}

.contact-link {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    border:
        1px solid
        rgba(136, 146, 176, .15);

    transition: var(--transition);
}

.contact-link:hover {

    border-color:
        var(--accent-border);

    background:
        var(--accent-soft);

    transform: translateY(-3px);
}

.contact-link span {

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.contact-link small {

    color: var(--accent);

    font-family: monospace;

    font-size: 8px;
}

.contact-link {

    color: var(--text-light);

    font-size: 13px;
}

.contact-link b {

    color: var(--accent);

    font-size: 18px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {

    border-top:
        1px solid
        rgba(136, 146, 176, .08);

    padding: 25px 0;
}

.footer-inner {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 9px;
}

.footer-inner a {

    color: var(--accent);

    transition: var(--transition);
}

.footer-inner a:hover {

    opacity: .7;
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(
            .22,
            .61,
            .36,
            1
        );
}

.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   CUSTOM SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 7px;
}

::-webkit-scrollbar-track {

    background:
        var(--navy-950);
}

::-webkit-scrollbar-thumb {

    background:
        var(--navy-600);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {

    background:
        var(--accent);
}

.hero-content.reveal {
    transition-delay: 150ms;
}

.hero-visual.reveal {
    transition-delay: 300ms;
}

.hero-actions .btn {
    position: relative;
    overflow: hidden;
}

.hero-actions .btn::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255,255,255,.08);

    transform: translateX(-110%);
    transition: 400ms ease;
}

.hero-actions .btn:hover::before {
    transform: translateX(0);
}

.hero-actions .btn span {
    position: relative;
    z-index: 1;
}

/* =========================================
   PREMIUM HEADER
========================================= */

.site-header {
    transition:
        background 400ms ease,
        box-shadow 400ms ease,
        border-color 400ms ease;
}

.site-header.scrolled {
    background: rgba(2, 12, 27, .82);
    backdrop-filter: blur(22px);
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
}

.nav-link {
    transition:
        color 250ms ease,
        transform 250ms ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link span {
    transition: color 250ms ease, opacity 250ms ease;
}

.nav-link:hover span,
.nav-link.active span {
    opacity: 1;
}

.nav-link.active {
    color: var(--text-light);
}

.nav-link.active::after {
    box-shadow: 0 0 10px rgba(100,255,218,.35);
}

.header-contact {
    position: relative;
    overflow: hidden;
}

.header-contact::before {
    content: "";

    position: absolute;
    inset: 0;

    background: var(--accent-soft);

    transform: translateX(-110%);
    transition: transform 350ms ease;
}

.header-contact:hover::before {
    transform: translateX(0);
}

.header-contact span,
.header-contact {
    isolation: isolate;
}

/* =========================================
   PREMIUM CONTACT
========================================= */

.contact-wrapper {
    position: relative;
    padding: 55px;
    border: 1px solid rgba(100,255,218,.12);
    background:
        linear-gradient(
            135deg,
            rgba(17,34,64,.45),
            rgba(7,21,38,.2)
        );
    overflow: hidden;
}

.contact-wrapper::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -140px;
    left: -100px;
    border-radius: 50%;
    background: rgba(100,255,218,.035);
    filter: blur(60px);
    pointer-events: none;
}

.contact-links {
    position: relative;
}

.contact-link {
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 400ms ease;
}

.contact-link:hover::before {
    width: 100%;
}

.contact-link b {
    transition: 300ms ease;
}

.contact-link:hover b {
    transform: translate(-4px,-4px);
}


/* =========================================
   PREMIUM FOOTER
========================================= */

.site-footer {
    background: rgba(2,12,27,.35);
}

.footer-inner {
    transition: opacity 300ms ease;
}

.footer-inner a:hover {
    opacity: 1;
    transform: translateY(-2px);
}