@font-face {
	font-family: 'Vazirmatn';
	src: url('../font/Vazir.eot?#') format('eot'),
	url('../font/Vazir.woff') format('woff'),
	url('../font/Vazir.ttf') format('truetype');
}
@font-face {
	font-family: 'VazirmatnBold';
	src: url('../font/Vazir-Bold.eot?#') format('eot'),
	url('../font/Vazir-Bold.woff') format('woff'),
	url('../font/Vazir-Bold.ttf') format('truetype');
}
:root {
    --orange: #ff8b01;
    --orange-dark: #e87800;
    --orange-light: #fff4e6;
    --black: #111111;
    --text: #252525;
    --muted: #6b7280;
    --white: #ffffff;
    --bg: #fafafa;
    --border: #e8e8e8;
    --green: #2e9d61;
    --danger: #c62828;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, .05);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, .08);
    --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* ==============================
   Header
============================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 900;
    color: var(--black);
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: white;
    border-radius: 11px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover { color: var(--orange-dark); }

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 10px;
    background: var(--orange);
    color: white;
    font-size: 13px;
    font-weight: 800;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.back-link:hover { color: var(--orange-dark); }

/* ==============================
   Breadcrumb
============================== */

.breadcrumb { padding: 20px 0 0; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--orange-dark); font-weight: 700; }
.breadcrumb span { margin: 0 8px; color: #bbb; }

/* ==============================
   Hero
============================== */

.hero {
    padding: 65px 0 85px;
    background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 57px);
    line-height: 1.35;
    letter-spacing: -1.5px;
    color: var(--black);
    margin-bottom: 20px;
}

.hero h1 strong { color: var(--orange); }

.hero-description {
    max-width: 680px;
    color: #60656b;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 28px;
}

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

.button {
    min-height: 52px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: .2s ease;
}

.button-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 139, 1, .2);
}

.button-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.button-secondary {
    border: 1px solid var(--border);
    background: white;
    color: var(--black);
}

.button-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ==============================
   Diagnostic Card
============================== */

.diagnostic {
    padding: 28px;
    background: #111;
    color: white;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.diagnostic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 20px;
}

.diagnostic-header strong { font-size: 14px; }

.status { display: inline-flex; align-items: center; gap: 7px; color: #77d69b; font-size: 14px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4dc27c; }

.diagnostic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px;
}

.diagnostic-row:last-child { border-bottom: 0; }
.diagnostic-label { color: #aaa; }
.diagnostic-ok { color: #78d79a; }
.diagnostic-warning { color: var(--orange); }

/* ==============================
   Sections
============================== */

.section { padding: 95px 0; }
.section-gray { background: var(--bg); }

.section-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }

.section-label {
    display: inline-block;
    padding: 6px 12px;
    background: var(--orange-light);
    color: var(--orange-dark);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 13px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 13px;
}

.section-heading p { color: var(--muted); font-size: 16px; }

/* ==============================
   Problems
============================== */

.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.problem {
    padding: 27px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: .2s ease;
}

.problem:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 139, 1, .3);
    box-shadow: var(--shadow-sm);
}

.problem-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-weight: 900;
    margin-bottom: 17px;
}

.problem h3 { font-size: 17px; color: var(--black); margin-bottom: 7px; }
.problem p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ==============================
   Services
============================== */

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.service {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
}

.service h3 { font-size: 20px; margin-bottom: 9px; color: var(--black); }
.service p { color: var(--muted); font-size: 14px; line-height: 2; }
.service ul { margin-top: 17px; padding-right: 20px; color: #555; font-size: 13px; }
.service li { margin-bottom: 5px; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 16px;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 800;
}

.service-link:hover { color: var(--orange); }

/* ==============================
   Tech
============================== */

.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }

.tech-card {
    padding: 22px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
}

.tech-card strong { display: block; color: var(--black); font-size: 15px; margin-bottom: 4px; }
.tech-card span { color: var(--muted); font-size: 12px; }

/* ==============================
   Portfolio
============================== */

.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.portfolio-card {
    padding: 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.portfolio-tag {
    display: inline-block;
    padding: 5px 11px;
    background: var(--orange-light);
    color: var(--orange-dark);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 14px;
}

.portfolio-card h3 { font-size: 19px; color: var(--black); margin-bottom: 9px; }
.portfolio-card p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 16px; }

.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tech {
    padding: 5px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

/* ==============================
   Trust bar
============================== */

.trust { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.trust-item { display: flex; flex-direction: column; gap: 6px; }
.trust-item strong { color: var(--black); font-size: 15px; }
.trust-item span { color: var(--muted); font-size: 13px; }

/* ==============================
   Process
============================== */

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: steps; }

.step { padding: 28px; border-radius: 16px; background: #111; color: white; }

.step::before {
    counter-increment: steps;
    content: "0" counter(steps);
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    display: block;
    margin-bottom: 25px;
}

.step h3 { font-size: 17px; margin-bottom: 9px; }
.step p { color: #aaa; font-size: 13px; line-height: 1.9; }

/* ==============================
   Content
============================== */

.content { max-width: 850px; margin: 0 auto; }
.content h2 { color: var(--black); font-size: 27px; margin: 45px 0 13px; }
.content h2:first-child { margin-top: 0; }
.content h3 { color: var(--black); font-size: 20px; margin: 30px 0 10px; }
.content p { color: #555; font-size: 15px; line-height: 2.15; margin-bottom: 16px; }
.content ul { padding-right: 22px; color: #555; font-size: 14px; }
.content li { margin-bottom: 7px; }

.highlight {
    margin: 30px 0;
    padding: 22px 25px;
    border-right: 4px solid var(--orange);
    background: var(--orange-light);
    border-radius: 10px;
    color: #555;
    font-size: 14px;
}

/* ==============================
   CTA
============================== */

.cta { padding: 90px 0; }

.cta-box {
    padding: 60px 35px;
    background: #111;
    color: white;
    border-radius: 25px;
    text-align: center;
}

.cta-box h2 { font-size: clamp(28px, 4vw, 39px); margin-bottom: 12px; }
.cta-box p { max-width: 650px; margin: 0 auto 27px; color: #aaa; font-size: 14px; }

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

.faq { max-width: 850px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border: 0;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    text-align: right;
    font-weight: 800;
    font-size: 15px;
}

.faq-icon { color: var(--orange); font-size: 22px; transition: transform .2s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 2; }

/* ==============================
   Footer
============================== */

footer {
    padding: 45px 0 25px;
    border-top: 1px solid var(--border);
    background: #fafafa;
    margin-top: 50px;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 35px; }
.footer-brand p { max-width: 430px; color: var(--muted); font-size: 13px; margin-top: 13px; }
.footer-title { font-size: 14px; font-weight: 900; margin-bottom: 12px; }
.footer-links { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--orange-dark); }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #888;
    font-size: 12px;
}

/* ==============================
   Domains for sale
============================== */

.domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.domain-card {
    display: block;
    padding: 22px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: .2s ease;
}

.domain-card:hover {
    border-color: rgba(255, 139, 1, .35);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.domain-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    direction: ltr;
    text-align: left;
    font-size: 17px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 10px;
}

.domain-name span { color: var(--orange); font-size: 13px; font-weight: 800; }
.domain-topics { color: var(--muted); font-size: 13px; line-height: 1.9; }

@media (max-width: 900px) {
    .domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .domain-grid { grid-template-columns: 1fr; }
}

/* ==============================
   Page header (inner pages)
============================== */

.page-header { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.page-header h1 { color: var(--black); font-size: clamp(30px, 5vw, 45px); line-height: 1.4; letter-spacing: -1px; margin-bottom: 13px; }
.page-header p { color: var(--muted); font-size: 15px; line-height: 2; }

/* ==============================
   Request form page
============================== */

.add-top-space {margin-top: 15px;}
.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }

.form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .04);
}

.form-message { display: none; padding: 13px 15px; border-radius: 10px; font-size: 12px; margin-bottom: 20px; }
.form-message.error { display: block; color: var(--danger); background: #fff0f0; }
.form-message.success { display: block; color: var(--green); background: #effaf4; }

.form-section { padding-bottom: 27px; margin-bottom: 27px; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }

.section-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
}

.section-title h2 { font-size: 17px; color: var(--black); }

.field { margin-bottom: 17px; }
.field:last-child { margin-bottom: 0; }

label { display: block; margin-bottom: 7px; color: var(--black); font-size: 13px; font-weight: 800; }
label .optional { color: #999; font-weight: 500; margin-right: 4px; }

input, textarea, select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
    color: var(--text);
    padding: 12px 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input, select { height: 48px; }
textarea { min-height: 160px; resize: vertical; line-height: 1.9; }
input::placeholder, textarea::placeholder { color: #aaa; }

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 1px rgba(255, 139, 1, .12);
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.help { margin-top: 6px; color: #8a8f98; font-size: 11px; line-height: 1.8; }

.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }

.type-option label {
    display: block;
    cursor: pointer;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0;
    background: white;
    transition: .2s;
}

.type-option label strong { display: block; font-size: 14px; margin-bottom: 3px; }
.type-option label span { color: var(--muted); font-size: 11px; font-weight: 500; }

.type-option input:checked + label {
    border-color: var(--orange);
    background: var(--orange-light);
    box-shadow: 0 0 0 0 rgba(255, 139, 1, .08);
}

.file-upload {
    position: relative;
    border: 1px dashed #d5d8dc;
    border-radius: 13px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    background: #fcfcfc;
    transition: .2s;
}

.file-upload:hover { border-color: var(--orange); background: var(--orange-light); }
.file-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; }

.upload-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 19px;
    font-weight: 900;
}

.file-upload strong { display: block; color: var(--black); font-size: 13px; }
.file-upload span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }

#file-list { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }

.submit-area { margin-top: 28px; }

.submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    background: var(--orange);
    color: white;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s;
}

.submit:hover { background: var(--orange-dark); transform: translateY(-1px); }
.submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.privacy-note { margin-top: 12px; text-align: center; color: #8a8f98; font-size: 10px; line-height: 1.8; }

.sidebar { display: grid; gap: 15px; position: sticky; top: 100px; }

.side-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 23px;
}

.side-card.dark { background: #111; color: white; border-color: #111; }
.side-card h2 { font-size: 15px; margin-bottom: 12px; }
.side-card p { color: var(--muted); font-size: 12px; line-height: 2; }
.side-card.dark p { color: #aaa; }

.side-list { display: grid; gap: 13px; margin-top: 15px; }
.side-item { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; }

.check {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 900;
}

.side-card.dark .check { background: rgba(255, 139, 1, .15); color: var(--orange); }

/* ==============================
   Responsive
============================== */

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-content { text-align: center; }
    .hero-description { margin-inline: auto; }
    .actions { justify-content: center; }
    .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
    .request-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .hero { padding: 45px 0 65px; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-description { font-size: 16px; }
    .actions { flex-direction: column; }
    .button { width: 100%; }
    .section { padding: 70px 0; }
    .problem-grid, .service-list, .process, .tech-grid, .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 600px) {
    main { padding: 35px 0 60px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .form-card { padding: 22px 18px; }
    .field-grid, .type-grid, .sidebar { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 31px; }
    .nav { min-height: 68px; }
    .back-link { font-size: 11px; }
}

:focus-visible { border: 1px solid rgba(255, 139, 1, .4); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.error-page {
    min-height: 50dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ltr {
    direction: ltr;
}

.link {
    color: orangered;
}
