/* =========================================
   FARZAMTECH
   Main Website Styles
========================================= */


/* =========================================
   RESET
========================================= */

@font-face {
    font-family: "Vazirmatn Local";
    src: url("../fonts/Vazirmatn-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn Local";
    src: url("../fonts/Vazirmatn-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body {
    font-family:
        "Vazirmatn Local",
        Tahoma,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #080d18;
    color: #f4f7fb;

    line-height: 1.7;

    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-page .services,
.home-page .software,
.home-page .projects {

    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --bg: #080d18;
    --bg-soft: #0d1423;
    --bg-card: #111a2b;

    --text: #f4f7fb;
    --text-soft: #aab5c8;
    --text-muted: #758198;

    --primary: #5ee7ff;
    --primary-dark: #1eb7d4;

    --border: rgba(255,255,255,0.08);

    --container: 1180px;

    --radius: 18px;

    --transition: 0.3s ease;
}

html[data-theme="light"] {
    --bg: #f4f8fb;
    --bg-soft: #e9f1f5;
    --bg-card: #ffffff;
    --text: #10202c;
    --text-soft: #4d6270;
    --text-muted: #6d7e8a;
    --border: rgba(16,32,44,0.12);
}

html[data-theme="light"] body {
    background: var(--bg);
    color: var(--text);
}

html[data-theme="light"] .site-header {
    background: var(--bg);
    backdrop-filter: none;
    border-bottom-color: transparent;
}

html[data-theme="light"] .logo-text strong,
html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active,
html[data-theme="light"] .stat strong,
html[data-theme="light"] .footer-column h4,
html[data-theme="light"] .privacy-policy h1,
html[data-theme="light"] .privacy-policy h2,
html[data-theme="light"] .privacy-policy h3 {
    color: var(--text);
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .language-btn,
html[data-theme="light"] .theme-btn {
    background: rgba(16,32,44,0.04);
    color: var(--text-soft);
}

.privacy-home-link {

    display: inline-flex;

    order: 1;

    align-items: center;
    gap: 6px;

    width: auto;
    height: 38px;
    min-height: 38px;
    padding: 0 10px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: rgba(255,255,255,0.03);
    color: var(--text-soft);
    font-size: 11px;
    white-space: nowrap;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.privacy-home-link:hover {

    border-color: rgba(94,231,255,0.35);
    background: rgba(94,231,255,0.08);
    color: white;
}

.privacy-back-icon {

    display: inline-flex;

    font-size: 14px;
    line-height: 1;
}

html[dir="rtl"] .privacy-back-icon {

    transform: scaleX(-1);
}

html[data-theme="light"] .hero-card,
html[data-theme="light"] .project-card {
    background: linear-gradient(145deg, #ffffff, #e8f0f4);
}

html[data-theme="light"] .service-card,
html[data-theme="light"] .software-card,
html[data-theme="light"] .feature {
    border-color: rgba(16,32,44,0.12);
    background: linear-gradient(145deg, #ffffff, #e8f0f4);
}

html[data-theme="light"] .service-number,
html[data-theme="light"] .project-number {
    color: rgba(16,32,44,0.1);
}

html[data-theme="light"] .software-image {
    background:
        radial-gradient(
            circle,
            rgba(94,231,255,0.24),
            transparent 64%
        ),
        #172738;
}

html[data-theme="light"] .software-logo img {
    mix-blend-mode: normal;
    filter: drop-shadow(0 8px 14px rgba(16,32,44,0.12));
}

html[data-theme="light"] .floating-card {
    background: rgba(255,255,255,0.94);
}

html[data-theme="light"] .main-nav {
    background: transparent;
}

html[data-theme="light"] .site-footer {
    background: var(--bg);
}

html[data-theme="light"] .cta-box {
    border-color: rgba(16,32,44,0.12);
    background:
        radial-gradient(
            circle at center,
            rgba(94,231,255,0.18),
            transparent 60%
        ),
        #e9f1f5;
    color: var(--text);
}

html[data-theme="light"] .cta-decoration {
    border-color: rgba(16,32,44,0.12);
}

html[data-theme="light"] .privacy-home-link:hover,
html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .coming-link:hover {
    color: var(--text);
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    background:
        rgba(8, 13, 24, 0.82);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid var(--border);
}

.header-container {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-mark {

    width: 54px;
    height: 54px;

    display: block;

    position: relative;

    flex: 0 0 auto;

    overflow: visible;

    border-radius: 0;

    background: transparent;

}

.logo-image {

    width: 100%;
    height: 100%;

    object-fit: contain;

}

.logo-copy {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    line-height: 1;
}

.logo-text {

    font-size: 19px;

    letter-spacing: -0.5px;
}

.logo-text strong {
    color: white;
}

.logo-text span {
    color: var(--primary);
}

.logo-tagline {

    margin-top: 4px;

    color: var(--text-muted);

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 1.5px;

    direction: ltr;
}


/* NAV */

.main-nav {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-link {

    position: relative;

    color: var(--text-soft);

    font-size: 14px;

    transition:
        color var(--transition);
}

.nav-link::after {

    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--primary);

    transition:
        width var(--transition);
}

.nav-link:hover,
.nav-link.active {

    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;
}


/* HEADER ACTIONS */

.header-actions {

    display: flex;

    align-items: center;

    gap: 9px;
}

.language-btn,
.theme-btn {

    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    line-height: 1;

    border: 1px solid var(--border);

    background: rgba(255,255,255,0.03);

    color: var(--text-soft);

    border-radius: 10px;

    cursor: pointer;

    transition:
        all var(--transition);
}

.language-btn:hover,
.theme-btn:hover {

    border-color: rgba(94,231,255,0.35);

    color: var(--primary);

    background:
        rgba(94,231,255,0.07);
}


/* MOBILE MENU */

.menu-btn {

    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: transparent;

    border-radius: 10px;

    cursor: pointer;
}

.menu-btn span {

    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: white;

    border-radius: 5px;
}

html[data-theme="light"] .menu-btn span {
    background: var(--text);
}


/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    min-height: 760px;

    padding-top: 150px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 85% 35%,
            rgba(51, 174, 207, 0.12),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 60%,
            rgba(98, 76, 255, 0.09),
            transparent 30%
        );
}

.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    align-items: center;

    gap: 80px;
}


/* HERO CONTENT */

.hero-content {

    max-width: 650px;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        7px 13px;

    border:
        1px solid
        rgba(94,231,255,0.16);

    background:
        rgba(94,231,255,0.05);

    color: var(--primary);

    border-radius: 100px;

    font-size: 12px;

    margin-bottom: 22px;
}

.badge-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 10px var(--primary);
}


.hero h1 {

    max-width: 700px;

    font-size:
        clamp(42px, 5vw, 72px);

    line-height: 1.18;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            #8b7bff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-description {

    max-width: 600px;

    color: var(--text-soft);

    font-size: 16px;

    line-height: 2;

    margin-bottom: 32px;
}


/* HERO BUTTONS */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding:
        0 21px;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 700;

    transition:
        all var(--transition);
}

.btn-primary {

    color: #06111b;

    background:
        linear-gradient(
            135deg,
            #7bf0ff,
            #4cd5ef
        );

    box-shadow:
        0 12px 35px
        rgba(72,213,239,0.14);
}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 17px 40px
        rgba(72,213,239,0.22);
}

.btn-secondary {

    border:
        1px solid var(--border);

    color: var(--text-soft);

    background:
        rgba(255,255,255,0.03);
}

.btn-secondary:hover {

    color: white;

    border-color:
        rgba(255,255,255,0.18);

    transform:
        translateY(-3px);
}


/* HERO STATS */

.hero-stats {

    display: flex;

    gap: 35px;

    margin-top: 50px;

    padding-top: 28px;

    border-top:
        1px solid var(--border);
}

.stat {

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.stat strong {

    color: white;

    font-size: 20px;
}

.stat span {

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {

    position: relative;

    min-height: 470px;

    display: grid;

    place-items: center;
}

.visual-glow {

    position: absolute;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    background:
        rgba(69, 215, 239, 0.12);

    filter: blur(80px);
}


/* ORBITS */

.tech-orbit {

    position: absolute;

    border:
        1px solid
        rgba(94,231,255,0.12);

    border-radius: 50%;
}

.orbit-one {

    width: 430px;
    height: 430px;

    transform:
        rotateX(65deg)
        rotateZ(20deg);
}

.orbit-two {

    width: 350px;
    height: 350px;

    transform:
        rotateX(65deg)
        rotateZ(-25deg);
}


/* MAIN CARD */

.hero-card {

    position: relative;

    z-index: 3;

    width: 330px;

    min-height: 390px;

    padding: 18px;

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(23,35,56,0.96),
            rgba(10,17,30,0.96)
        );

    box-shadow:
        0 40px 100px
        rgba(0,0,0,0.35),

        inset 0 1px
        rgba(255,255,255,0.04);

    transform:
        perspective(900px)
        rotateY(-8deg)
        rotateX(5deg);
}


/* CARD TOP */

.card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 15px;

    border-bottom:
        1px solid var(--border);
}

.window-buttons {

    display: flex;

    gap: 5px;
}

.window-buttons span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.25);
}

.card-title {

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 1px;
}


/* CODE */

.code-lines {

    padding:
        35px 10px;
}

.code-line {

    height: 7px;

    margin-bottom: 13px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            rgba(94,231,255,0.8),
            rgba(123,97,255,0.4)
        );

    opacity: 0.65;
}

.code-line.long {
    width: 80%;
}

.code-line.medium {
    width: 60%;
}

.code-line.short {
    width: 38%;
}

.code-space {
    height: 25px;
}


/* CARD FOOTER */

.card-footer {

    display: flex;

    align-items: center;

    gap: 8px;

    padding-top: 12px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 9px;
}

.status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #54e89d;

    box-shadow:
        0 0 10px
        rgba(84,232,157,0.6);
}


/* FLOATING CARDS */

.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background:
        rgba(13,20,35,0.86);

    backdrop-filter: blur(12px);

    box-shadow:
        0 20px 40px
        rgba(0,0,0,0.22);
}

.floating-card strong {

    display: block;

    font-size: 10px;
}

.floating-card small {

    color: var(--text-muted);

    font-size: 8px;
}

.floating-icon {

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: var(--primary);

    background:
        rgba(94,231,255,0.08);
}

.floating-card-one {

    top: 65px;
    right: 0;
}

.floating-card-two {

    bottom: 65px;
    left: 0;
}


/* HERO GRID */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: 0.3;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size:
        70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}


/* =========================================
   SECTIONS
========================================= */

.section {

    padding:
        72px 0;

    scroll-margin-top: 85px;
}

.section-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--primary);

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;
}

.section-label > span {

    width: 18px;
    height: 1px;

    background: var(--primary);
}


/* =========================================
   INTRO
========================================= */

.intro {

    padding-top: 75px;

    background: var(--bg);
}

.intro-container {

    display: grid;

    grid-template-columns:
        0.4fr 1fr;

    gap: 80px;
}

.intro-content {

    max-width: 750px;
}

.intro h2 {

    font-size:
        clamp(32px, 4vw, 50px);

    line-height: 1.3;

    margin-bottom: 18px;
}

.intro h2 span {

    color: var(--primary);
}

.intro p {

    color: var(--text-soft);

    max-width: 620px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-heading h2 {

    margin-top: 10px;

    font-size:
        clamp(28px, 3.5vw, 42px);

    line-height: 1.3;
}

.section-heading > p {

    max-width: 380px;

    color: var(--text-soft);

    font-size: 14px;
}

html[dir="rtl"] .content-page .section-heading {

    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

html[dir="rtl"] .content-page .section-heading > p {

    max-width: 100%;
    text-align: right;
}


/* =========================================
   SERVICES
========================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.service-card {

    position: relative;

    min-height: 310px;

    padding: 28px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.01)
        );

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.service-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(94,231,255,0.2);
}

.service-number {

    position: absolute;

    top: 22px;
    left: 25px;

    color: rgba(255,255,255,0.1);

    font-size: 35px;

    font-weight: 900;
}

.service-icon {

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin-bottom: 55px;

    border-radius: 14px;

    color: var(--primary);

    background:
        rgba(94,231,255,0.07);

    font-size: 19px;

    font-weight: 800;
}

.service-card h3 {

    font-size: 18px;

    margin-bottom: 10px;
}

.service-card p {

    color: var(--text-soft);

    font-size: 13px;

    margin-bottom: 20px;
}

.service-card a {

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================
   SOFTWARE
========================================= */

.software {

    background: var(--bg);
}

.software-grid {

    display: grid;

    grid-template-columns:
        1fr 0.55fr;

    gap: 18px;
}

.software-card {

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    background:
        rgba(255,255,255,0.025);
}

.software-image {

    position: relative;

    min-height: 230px;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle,
            rgba(94,231,255,0.13),
            transparent 55%
        );
}

.software-logo {

    width: 145px;
    height: 145px;

    display: grid;
    place-items: center;

    background: transparent;
}

.software-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;
    mix-blend-mode: screen;
}

.software-tag {

    position: absolute;

    top: 18px;
    right: 18px;

    padding:
        4px 9px;

    border-radius: 6px;

    color: var(--primary);

    background:
        rgba(94,231,255,0.08);

    font-size: 9px;
}

.software-info {

    padding: 24px;
}

.software-title {

    display: flex;

    justify-content: space-between;

    align-items: start;

    gap: 20px;

    margin-bottom: 15px;
}

.software-title h3 {

    font-size: 22px;
}

.software-title span:not(.software-status) {

    display: block;

    color: var(--text-muted);

    font-size: 10px;
}

.software-status {

    color: #63e9a5;

    font-size: 9px;

    padding: 4px 8px;

    border-radius: 6px;

    background:
        rgba(99,233,165,0.08);
}

.software-info p {

    color: var(--text-soft);

    font-size: 13px;

    margin-bottom: 25px;
}

.software-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 17px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 10px;
}

.software-footer a {

    color: var(--primary);

    font-weight: 700;
}


/* COMING SOON */

.coming-soon {

    min-height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 40px;
}

.coming-icon {

    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border:
        1px dashed
        rgba(94,231,255,0.3);

    border-radius: 18px;

    color: var(--primary);

    font-size: 25px;
}

.coming-soon h3 {

    margin-bottom: 8px;
}

.coming-soon p {

    color: var(--text-soft);

    font-size: 12px;

    margin-bottom: 15px;
}

.coming-soon > span {

    color: var(--text-muted);

    font-size: 9px;

    letter-spacing: 2px;
}

.coming-link {

    margin-top: 18px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;
}

.coming-link:hover {

    color: white;
}


/* =========================================
   PROJECTS
========================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.project-card {

    position: relative;

    min-height: 260px;

    padding: 32px;

    display: flex;

    align-items: end;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            #111d30,
            #0b1220
        );

    transition:
        transform var(--transition);
}

.project-card:hover {

    transform:
        translateY(-6px);
}

.project-number {

    position: absolute;

    top: 25px;
    left: 28px;

    font-size: 45px;

    font-weight: 900;

    color:
        rgba(255,255,255,0.06);
}

.project-content {

    max-width: 500px;
}

.project-content > span {

    color: var(--primary);

    font-size: 9px;

    letter-spacing: 2px;
}

.project-content h3 {

    margin: 8px 0;

    font-size: 21px;
}

.project-content p {

    color: var(--text-soft);

    font-size: 12px;
}

.project-arrow {

    position: absolute;

    top: 25px;
    right: 25px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 10px;

    color: var(--primary);
}


/* =========================================
   WHY US
========================================= */

.why-us {

    background: var(--bg);
}

.why-container {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.why-content h2 {

    font-size:
        clamp(35px, 4vw, 54px);

    line-height: 1.25;

    margin:
        18px 0;
}

.why-content h2 span {

    display: block;

    color: var(--primary);
}

.why-content p {

    max-width: 520px;

    color: var(--text-soft);

    margin-bottom: 28px;
}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.feature {

    position: relative;

    min-height: 175px;

    padding: 25px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.012)
        );

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.feature::before {

    content: "";

    position: absolute;

    top: 0;
    right: 24px;
    left: 24px;

    height: 2px;

    background: var(--primary);

    opacity: 0.35;
}

.feature:hover {

    transform: translateY(-5px);

    border-color: rgba(94,231,255,0.28);

    background:
        linear-gradient(
            145deg,
            rgba(94,231,255,0.09),
            rgba(255,255,255,0.02)
        );
}

.feature-icon {

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: rgba(94,231,255,0.08);

    font-size: 20px;

    color: var(--primary);

    transition:
        background var(--transition),
        transform var(--transition);
}

.feature:hover .feature-icon {

    background: rgba(94,231,255,0.15);

    transform: scale(1.05);
}

.feature h3 {

    font-size: 16px;

    margin-bottom: 5px;
}

.feature p {

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================
   CTA
========================================= */

.cta {

    padding-top: 80px;
}

.cta-box {

    position: relative;

    overflow: hidden;

    padding:
        80px 40px;

    text-align: center;

    border:
        1px solid
        rgba(94,231,255,0.15);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(94,231,255,0.11),
            transparent 60%
        ),

        #0e1828;
}

.cta-box > * {

    position: relative;

    z-index: 2;
}

.cta-box h2 {

    max-width: 700px;

    margin:
        18px auto;

    font-size:
        clamp(30px, 4vw, 50px);

    line-height: 1.3;
}

.cta-box h2 span {

    color: var(--primary);
}

.cta-box p {

    color: var(--text-soft);

    margin-bottom: 28px;
}

.footer-contact-links {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    margin-top: 2px;
}

.footer-contact-links a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--text-muted);

    direction: ltr;
    font-size: 11px;
}

.footer-contact-links a:hover {

    color: var(--primary);
}

.contact-icon {

    width: 20px;
    height: 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: var(--primary);

    direction: ltr;
    font-size: 17px;
    line-height: 1;
}

.contact-icon-facebook {

    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.contact-phone-number {

    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.contact-details a:hover {

    color: white;
}

.btn-light {

    color: #06111b;

    background: white;
}

.btn-light:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(255,255,255,0.12);
}

.cta-decoration {

    position: absolute;

    border:
        1px solid
        rgba(94,231,255,0.1);

    border-radius: 50%;
}

.decoration-one {

    width: 300px;
    height: 300px;

    top: -190px;
    right: -100px;
}

.decoration-two {

    width: 250px;
    height: 250px;

    bottom: -170px;
    left: -80px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {

    padding-top: 70px;

    scroll-margin-top: 78px;

    background: var(--bg);

    border-top:
        1px solid var(--border);
}

.footer-main {

    display: grid;

    grid-template-columns:
        1.6fr repeat(3, 1fr);

    gap: 50px;

    padding-bottom: 55px;
}

.footer-brand p {

    max-width: 250px;

    color: var(--text-muted);

    font-size: 12px;

    margin-top: 6px;
}

.privacy-policy {

    background: var(--bg);
}

.privacy-policy[dir="rtl"] {

    text-align: right;
}

.privacy-policy[dir="ltr"] {

    text-align: left;
}

.privacy-policy-container {

    max-width: 900px;
}

.privacy-policy h1,
.privacy-policy h2 {

    margin-top: 14px;

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.35;
}

.privacy-policy h3 {

    margin-top: 34px;
    margin-bottom: 10px;

    color: white;
    font-size: 18px;
}

.privacy-policy p {

    color: var(--text-soft);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 14px;
}

.privacy-policy .privacy-updated {

    color: var(--primary);
    margin-top: 10px;
}

.privacy-policy a {

    color: var(--primary);
}

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h4 {

    color: white;

    font-size: 13px;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column span {

    color: var(--text-muted);

    font-size: 11px;

    transition:
        color var(--transition);
}

.footer-column a:hover {

    color: var(--primary);
}

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    direction: ltr;

    gap: 20px;

    padding:
        20px 0;

    border-top:
        1px solid var(--border);

    color: #59647a;

    font-size: 9px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 17px;
    }

    .hero-container {

        grid-template-columns:
            1fr;

        gap: 30px;
    }

    .hero-content {

        text-align: center;

        margin-inline: auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons {

        justify-content: center;
    }

    .hero-stats {

        justify-content: center;

        text-align: right;
    }

    .hero-visual {

        min-height: 440px;
    }

    .intro-container {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .why-container {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .software-grid {

        grid-template-columns: 1fr;
    }

    .footer-main {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );

            max-width: 100%;
    }

    .header-container {

        min-height: 68px;
        gap: 12px;
    }

    .logo {
        min-width: 0;
    }

    .logo-copy {
        min-width: 0;
    }

    .section {

        scroll-margin-top: 78px;
    }

    .site-footer {

        scroll-margin-top: 78px;
    }

    .main-nav {

        position: absolute;

        top: calc(100% + 1px);

        right: 14px;
        left: 14px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        border:
            1px solid var(--border);

        border-radius: 15px;

        background:
            rgba(10,16,28,0.98);

        backdrop-filter:
            blur(20px);
    }

    html[data-theme="light"] .main-nav.open {
        background: rgba(255,255,255,0.98);
    }

    .main-nav.open {

        display: flex;
    }

    .nav-link {

        padding:
            12px;

        border-radius: 8px;
    }

    .nav-link::after {

        display: none;
    }

    .nav-link:hover {

        background:
            rgba(94,231,255,0.06);
    }

    .menu-btn {

        display: block;
    }

    .privacy-home-link {

        width: 38px;
        min-width: 38px;
        padding: 0;
        justify-content: center;
    }

    .privacy-home-link > span:last-child {
        display: none;
    }

    .hero {

        min-height: auto;

        padding-top: 125px;

        padding-bottom: 70px;
    }

    .hero h1 {

        font-size:
            clamp(37px, 10vw, 52px);

        letter-spacing: -1px;
    }

    .hero-description {

        font-size: 14px;
    }

    .hero-stats {

        gap: 20px;

        flex-wrap: wrap;
    }

    .hero-visual {

        min-height: 390px;
    }

    .hero-card {

        width: 285px;

        min-height: 345px;
    }

    .orbit-one {

        width: 350px;
        height: 350px;
    }

    .orbit-two {

        width: 290px;
        height: 290px;
    }

    .floating-card-one {

        right: -5px;
        top: 35px;
    }

    .floating-card-two {

        left: -5px;
        bottom: 35px;
    }

    .section {

        padding:
            75px 0;
    }

    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .services-grid,
    .projects-grid {

        grid-template-columns: 1fr;
    }

    .service-card {

        min-height: 280px;
    }

    .features-grid {

        grid-template-columns: 1fr;
    }

    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }

    .footer-brand {

        grid-column:
            1 / -1;
    }

    .footer-bottom {

        align-items: flex-start;

        flex-direction: column;
    }
}


@media (max-width: 430px) {

    .logo-text {

        font-size: 16px;
    }

    .logo-mark {

        width: 35px;
        height: 35px;
    }

    .logo-tagline {

        font-size: 6px;

        letter-spacing: 1.1px;
    }

    .language-btn {

        width: 35px;
        height: 35px;
    }

    .theme-btn {

        width: 35px;
        height: 35px;
    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {

        width: 100%;
    }

    .hero-visual {

        min-height: 350px;
    }

    .hero-card {

        width: 255px;

        min-height: 315px;
    }

    .floating-card {

        padding: 8px 10px;
    }

    .floating-card-one {

        right: -10px;
    }

    .floating-card-two {

        left: -10px;
    }

    .footer-main {

        grid-template-columns:
            1fr;
    }
}


/* =========================================
   RTL / LTR SUPPORT
========================================= */

html[dir="ltr"] .nav-link::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .floating-card-one {
    right: auto;
    left: 0;
}

html[dir="ltr"] .floating-card-two {
    left: auto;
    right: 0;
}

html[dir="ltr"] .project-number {
    left: auto;
    right: 28px;
}

html[dir="ltr"] .project-arrow {
    right: auto;
    left: 25px;
}

html[dir="ltr"] .software-tag {
    right: auto;
    left: 18px;
}

html[dir="ltr"] .service-number {
    left: auto;
    right: 25px;
}

html[dir="rtl"] .footer-contact-links a {
    direction: rtl;
}

/* =========================================
   ACCESSIBILITY
========================================= */

:focus-visible {

    outline:
        2px solid var(--primary);

    outline-offset: 3px;
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}