:root {
    --red-950: #21080b;
    --red-900: #420d13;
    --red-800: #64131b;
    --red-700: #8f1d28;
    --red-600: #b72431;
    --red-500: #cd3440;
    --coral: #ed5d5e;
    --coral-light: #ff8983;
    --cream: #fff8f6;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e7e7e9;
    --gray-400: #9a999f;
    --gray-600: #5d5b62;
    --gray-800: #28252a;
    --shadow-sm: 0 10px 30px rgba(67, 13, 19, 0.08);
    --shadow-md: 0 20px 55px rgba(67, 13, 19, 0.13);
    --shadow-lg: 0 28px 80px rgba(37, 7, 10, 0.2);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: var(--white);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button {
    cursor: pointer;
}

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

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

.skip-link {
    position: fixed;
    z-index: 9999;
    top: -100px;
    right: 20px;
    padding: 10px 18px;
    color: var(--white);
    background: var(--red-800);
    border-radius: 0 0 10px 10px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    padding: 18px 0;
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(35, 8, 11, 0.07);
    box-shadow: 0 8px 30px rgba(32, 7, 10, 0.07);
    backdrop-filter: blur(18px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(169, 35, 44, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    color: var(--red-900);
    line-height: 1.15;
}

.brand-text strong {
    font-size: 15px;
    font-weight: 900;
}

.brand-text small {
    margin-top: 3px;
    color: var(--red-600);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-right: auto;
}

.desktop-nav a {
    position: relative;
    color: #5c4547;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--coral);
    border-radius: 4px;
    transition: width 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--red-700);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header-cta {
    padding: 10px 16px;
    color: var(--white);
    background: var(--red-700);
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(143, 29, 40, 0.2);
}

.header-cta:hover,
.btn-primary:hover {
    background: var(--red-800);
    box-shadow: 0 12px 30px rgba(116, 19, 28, 0.28);
    transform: translateY(-3px);
}

.arrow-icon {
    font-size: 19px;
    line-height: 1;
}

.menu-toggle,
.mobile-nav {
    display: none;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 770px;
    padding: 155px 0 85px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 35%, rgba(250, 126, 117, 0.33), transparent 25%),
        radial-gradient(circle at 17% 85%, rgba(199, 42, 54, 0.14), transparent 27%),
        linear-gradient(135deg, #fff8f6 0%, #fff 50%, #fff5f2 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(167, 37, 45, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 37, 45, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    padding-top: 30px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--red-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(237, 93, 94, 0.13);
}

.hero-content h1 {
    max-width: 730px;
    margin: 0;
    color: var(--red-950);
    font-size: clamp(36px, 4.2vw, 64px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1.7px;
}

.hero-content h1 span {
    position: relative;
    z-index: 1;
    color: var(--red-700);
    white-space: nowrap;
}

.hero-content h1 span::after {
    position: absolute;
    z-index: -1;
    right: -4px;
    bottom: 7px;
    left: -4px;
    height: 13px;
    content: "";
    background: rgba(239, 105, 98, 0.27);
    border-radius: 50px;
}

.hero-description {
    max-width: 650px;
    margin: 25px 0 29px;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 2.05;
}

.hero-description strong {
    color: var(--red-700);
}

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

.btn {
    min-height: 52px;
    padding: 12px 21px;
    font-size: 14px;
}

.btn span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.btn:hover span {
    transform: translateX(-4px);
}

.btn-primary {
    color: var(--white);
    background: var(--red-700);
    box-shadow: 0 12px 27px rgba(143, 29, 40, 0.22);
}

.btn-light {
    color: var(--red-800);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(139, 35, 42, 0.15);
}

.btn-light:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.btn-dark {
    color: var(--white);
    background: var(--red-900);
}

.btn-dark:hover {
    background: var(--red-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 33px;
}

.trust-avatars {
    display: flex;
    direction: ltr;
}

.trust-avatars span {
    display: grid;
    width: 30px;
    height: 30px;
    margin-left: -7px;
    color: var(--white);
    place-items: center;
    border: 2px solid #fff8f6;
    border-radius: 50%;
    background: var(--red-600);
    font-size: 10px;
    font-weight: 800;
}

.trust-avatars span:nth-child(2) {
    background: #ef766e;
}

.trust-avatars span:nth-child(3) {
    background: var(--red-900);
}

.hero-trust p {
    margin: 0;
    color: var(--gray-600);
    font-size: 12px;
}

.hero-trust strong {
    color: var(--red-700);
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-card-main {
    position: absolute;
    z-index: 2;
    top: 53px;
    right: 8%;
    width: min(100%, 470px);
    padding: 22px;
    color: var(--white);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 178, 160, 0.28), transparent 26%),
        linear-gradient(140deg, #8d202a, #4e1018 74%);
    box-shadow: 0 34px 70px rgba(93, 16, 23, 0.27);
    transform: rotate(-3deg);
    animation: floatMain 7s ease-in-out infinite;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    direction: ltr;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #ffb172;
    border-radius: 50%;
    box-shadow: 0 0 15px #ffb172;
}

.mini-icon {
    margin-right: auto;
    color: #ffb2a4;
    font-size: 18px;
}

.dashboard-lines {
    display: flex;
    align-items: end;
    justify-content: space-between;
    min-height: 210px;
    padding: 37px 5px 22px;
}

.chart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chart-info small,
.chart-info span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.chart-info strong {
    color: var(--white);
    font-size: 40px;
    line-height: 1.25;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 7px;
    width: 47%;
    height: 130px;
}

.chart-bars i {
    display: block;
    width: 100%;
    min-height: 12px;
    background: linear-gradient(to top, #ff8c7d, #ffe2db);
    border-radius: 5px 5px 2px 2px;
    box-shadow: 0 0 15px rgba(255, 174, 154, 0.17);
}

.data-line {
    height: 1px;
    margin-bottom: 19px;
    background: rgba(255, 255, 255, 0.21);
}

.card-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-box {
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
}

.metric-box span {
    display: block;
    color: rgba(255, 255, 255, 0.61);
    font-size: 10px;
}

.metric-box strong {
    font-size: 13px;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid rgba(153, 37, 46, 0.11);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(9px);
}

.floating-card small,
.floating-card strong {
    display: block;
    line-height: 1.6;
}

.floating-card small {
    color: var(--gray-600);
    font-size: 10px;
}

.floating-card strong {
    color: var(--red-900);
    font-size: 12px;
}

.float-icon {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--white);
    place-items: center;
    border-radius: 10px;
    background: var(--red-700);
    font-size: 18px;
}

.floating-code {
    top: 15px;
    left: 0;
    animation: floatSmall 6s ease-in-out infinite;
}

.floating-ai {
    right: 0;
    bottom: 32px;
    animation: floatSmall 7s ease-in-out infinite reverse;
}

.visual-ring {
    position: absolute;
    border: 1px solid rgba(177, 33, 43, 0.16);
    border-radius: 50%;
}

.ring-one {
    top: 30px;
    right: 3%;
    width: 460px;
    height: 460px;
    animation: rotate 28s linear infinite;
}

.ring-two {
    top: 105px;
    right: 17%;
    width: 310px;
    height: 310px;
    border-style: dashed;
    animation: rotate 20s linear infinite reverse;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.orb-one {
    top: 20%;
    left: -70px;
    width: 145px;
    height: 145px;
    background: rgba(251, 121, 112, 0.16);
}

.orb-two {
    right: 6%;
    bottom: 6%;
    width: 70px;
    height: 70px;
    background: rgba(162, 31, 41, 0.14);
}

.orb-three {
    top: 15%;
    right: 39%;
    width: 27px;
    height: 27px;
    background: rgba(237, 93, 94, 0.35);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--gray-400);
    font-size: 10px;
    transform: translateX(-50%);
}

.hero-scroll-hint i {
    width: 1px;
    height: 29px;
    overflow: hidden;
    background: #d6c6c5;
}

.hero-scroll-hint i::after {
    display: block;
    width: 100%;
    height: 12px;
    content: "";
    background: var(--red-600);
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* Generic sections */
.section {
    padding: 105px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 48px;
}

.section-heading h2,
.about-content h2,
.technology-content h2,
.contact-info h2 {
    margin: 0;
    color: var(--red-950);
    font-size: clamp(27px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.8px;
}

.section-heading p {
    max-width: 430px;
    margin: 0 0 4px;
    color: var(--gray-600);
    font-size: 14px;
}

.section-heading.centered {
    display: block;
    max-width: 720px;
    margin: 0 auto 65px;
    text-align: center;
}

.section-heading.centered p {
    max-width: 620px;
    margin: 16px auto 0;
}

/* Services */
.services-section {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 325px;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: 0.3s ease;
}

.service-card:hover {
    border-color: rgba(190, 39, 49, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-featured {
    color: var(--white);
    border-color: var(--red-800);
    background: linear-gradient(145deg, var(--red-800), var(--red-950));
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-number {
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
}

.service-symbol {
    display: grid;
    width: 43px;
    height: 43px;
    color: var(--red-700);
    place-items: center;
    border-radius: 12px;
    background: #fff1ee;
    font-size: 21px;
}

.service-featured .service-symbol {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
}

.service-card h3 {
    margin: 27px 0 10px;
    color: var(--red-900);
    font-size: 18px;
    font-weight: 800;
}

.service-featured h3 {
    color: var(--white);
}

.service-card p {
    min-height: 107px;
    margin: 0;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 2;
}

.service-featured p {
    color: rgba(255, 255, 255, 0.72);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    color: var(--red-700);
    font-size: 12px;
    font-weight: 800;
}

.text-link span {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(-4px);
}

.service-featured .text-link {
    color: #ffd3ca;
}

/* About */
.about-section {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 90px;
}

.about-visual {
    position: relative;
    min-height: 500px;
}

.about-image-placeholder {
    position: relative;
    display: grid;
    height: 450px;
    overflow: hidden;
    place-items: center;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(circle at 30% 30%, #d85158 0, transparent 24%),
        linear-gradient(135deg, #741824, #2e080d);
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder::before,
.about-image-placeholder::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.about-image-placeholder::before {
    width: 360px;
    height: 360px;
}

.about-image-placeholder::after {
    width: 240px;
    height: 240px;
    border-style: dashed;
}

.about-symbol {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 64px 64px;
    gap: 12px;
    transform: rotate(45deg);
}

.about-symbol span {
    display: block;
    width: 64px;
    height: 64px;
    border: 8px solid rgba(255, 255, 255, 0.91);
}

.about-symbol span:nth-child(1),
.about-symbol span:nth-child(4) {
    border-radius: 50% 0 50% 50%;
}

.about-symbol span:nth-child(2),
.about-symbol span:nth-child(3) {
    border-radius: 50% 50% 50% 0;
}

.about-glow {
    position: absolute;
    width: 190px;
    height: 190px;
    background: rgba(255, 143, 126, 0.46);
    border-radius: 50%;
    filter: blur(50px);
}

.about-tag {
    position: absolute;
    z-index: 3;
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(7px);
    direction: ltr;
    font-size: 10px;
}

.tag-top {
    top: 16%;
    right: 15%;
}

.tag-right {
    top: 47%;
    right: 8%;
}

.tag-bottom {
    bottom: 16%;
    left: 12%;
}

.experience-badge {
    position: absolute;
    z-index: 4;
    bottom: 3px;
    right: -35px;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    color: var(--red-900);
    border: 1px solid #f3dad5;
    border-radius: 13px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.experience-badge strong {
    font-size: 16px;
    font-weight: 900;
}

.experience-badge span {
    color: var(--gray-600);
    font-size: 11px;
}

.about-content > p {
    margin: 17px 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 2.1;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.feature-item {
    display: flex;
    gap: 12px;
}

.check-icon {
    display: grid;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    margin-top: 2px;
    color: var(--red-700);
    place-items: center;
    border-radius: 50%;
    background: #ffe7e2;
    font-size: 13px;
    font-weight: 900;
}

.feature-item h4 {
    margin: 0;
    color: var(--red-900);
    font-size: 14px;
    font-weight: 800;
}

.feature-item p {
    margin: 2px 0 0;
    color: var(--gray-600);
    font-size: 12px;
}

/* Process */
.process-section {
    color: var(--white);
    background:
        radial-gradient(circle at 10% 50%, rgba(221, 66, 71, 0.15), transparent 26%),
        linear-gradient(135deg, #350a10, #190508);
}

.process-section .eyebrow,
.process-section h2 {
    color: var(--white);
}

.process-section .eyebrow::before {
    background: var(--coral-light);
}

.process-section .section-heading p {
    color: rgba(255, 255, 255, 0.7);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.37), transparent);
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.timeline-node {
    display: grid;
    width: 61px;
    height: 61px;
    margin: 0 auto 21px;
    color: var(--white);
    place-items: center;
    border: 6px solid #4f151c;
    border-radius: 50%;
    background: var(--red-600);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 30px rgba(237, 93, 94, 0.36);
    font-size: 17px;
    font-weight: 900;
}

.timeline-content span {
    color: var(--coral-light);
    font-size: 11px;
    font-weight: 700;
}

.timeline-content h3 {
    margin: 5px 0;
    font-size: 16px;
}

.timeline-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.95;
}

/* Technology */
.technology-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.technology-content p {
    max-width: 510px;
    margin: 18px 0 27px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 2.1;
}

.technology-cloud {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 13px;
    min-height: 300px;
    padding: 34px;
    border: 1px solid #f1e2df;
    border-radius: 25px;
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 122, 111, 0.16), transparent 38%),
        #fffafa;
}

.technology-cloud span {
    padding: 9px 16px;
    color: var(--red-800);
    border: 1px solid #f2d7d2;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 6px 15px rgba(111, 24, 32, 0.06);
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.technology-cloud span:hover {
    color: var(--white);
    border-color: var(--red-700);
    background: var(--red-700);
    transform: translateY(-4px) rotate(-2deg);
}

/* Stats */
.stats-section {
    padding: 57px 0;
    color: var(--white);
    background: var(--red-700);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 5px 38px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:first-child {
    border-left: 0;
}

.stat-item strong {
    display: block;
    font-size: 37px;
    font-weight: 900;
    line-height: 1.3;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
}

/* Contact */
.contact-section {
    background: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border-radius: 28px;
    background: var(--red-900);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 65px 50px;
    color: var(--white);
    background:
        radial-gradient(circle at 25% 20%, rgba(244, 117, 107, 0.28), transparent 27%),
        linear-gradient(155deg, #7c1923, #30070c);
}

.eyebrow-light {
    color: #ffb0a5;
}

.contact-info h2 {
    color: var(--white);
}

.contact-info > p {
    margin: 19px 0 32px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 14px;
    line-height: 2.05;
}

.contact-points {
    display: grid;
    gap: 15px;
}

.contact-points > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.contact-point-icon {
    display: grid;
    width: 27px;
    height: 27px;
    color: var(--red-700);
    place-items: center;
    border-radius: 8px;
    background: #ffddd6;
    font-size: 13px;
    font-weight: 900;
}

.contact-points p {
    margin: 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 12px;
}

.contact-form-card {
    padding: 45px 43px;
    background: var(--white);
}

.form-heading h3 {
    margin: 0;
    color: var(--red-900);
    font-size: 22px;
    font-weight: 900;
}

.form-heading p {
    margin: 4px 0 27px;
    color: var(--gray-600);
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--gray-800);
    font-size: 12px;
    font-weight: 700;
}

.form-group label span {
    color: var(--red-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    color: var(--gray-800);
    outline: none;
    border: 1px solid var(--gray-200);
    border-radius: 9px;
    background: #fcfcfc;
    font-size: 13px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    height: 45px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa7ac;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(237, 93, 94, 0.11);
}

.form-submit {
    width: 100%;
    margin-top: 3px;
}

.form-note {
    margin: 12px 0 0;
    color: var(--gray-400);
    text-align: center;
    font-size: 10px;
}

.form-message {
    display: none;
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 12px;
}

.form-message.success {
    display: block;
    color: #176136;
    background: #e7f8ec;
}

.form-message.error {
    display: block;
    color: #9d222c;
    background: #ffebe9;
}

/* Footer */
.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #1d0609;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 31px 0;
}

.footer-brand .brand-text {
    color: var(--white);
}

.footer-brand .brand-text small {
    color: #ff9b8e;
}

.footer-top > p {
    max-width: 460px;
    margin: 0;
    font-size: 12px;
}

.footer-cta {
    color: #ffaba0;
    font-size: 13px;
    font-weight: 800;
}

.footer-cta span {
    margin-right: 5px;
    font-size: 17px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 17px;
}

.footer-links a {
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffaaa0;
}

/* Back to top */
.back-to-top {
    position: fixed;
    z-index: 900;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--white);
    visibility: hidden;
    place-items: center;
    border: 0;
    border-radius: 12px;
    opacity: 0;
    background: var(--red-700);
    box-shadow: 0 10px 26px rgba(110, 16, 24, 0.25);
    font-size: 21px;
    transition: 0.25s ease;
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--red-900);
    transform: translateY(-4px);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

/* Animations */
@keyframes floatMain {
    0%, 100% {
        transform: rotate(-3deg) translateY(0);
    }
    50% {
        transform: rotate(-1deg) translateY(-12px);
    }
}

@keyframes floatSmall {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(31px);
    }
}

/* Responsive */
@media (max-width: 1050px) {
    .desktop-nav {
        gap: 18px;
    }

    .hero-container,
    .about-grid,
    .technology-grid {
        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        min-height: 285px;
    }

    .contact-info {
        padding: 50px 35px;
    }

    .contact-form-card {
        padding: 40px 32px;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .site-header {
        padding: 12px 0;
        background: rgba(255, 255, 255, 0.88);
        border-bottom: 1px solid rgba(35, 8, 11, 0.06);
        backdrop-filter: blur(14px);
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 40px;
        padding: 0 10px;
        border: 1px solid #eddcda;
        border-radius: 10px;
        background: var(--white);
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--red-800);
        border-radius: 3px;
        transition: 0.25s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: grid;
        max-height: 0;
        padding: 0 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 15px 30px rgba(34, 6, 10, 0.08);
        opacity: 0;
        transition: 0.3s ease;
    }

    .mobile-nav.open {
        max-height: 300px;
        padding: 12px 20px 20px;
        opacity: 1;
    }

    .mobile-nav a {
        padding: 10px 0;
        color: var(--red-900);
        border-bottom: 1px solid #f3e8e6;
        font-size: 13px;
        font-weight: 700;
    }

    .hero-section {
        min-height: auto;
        padding: 132px 0 70px;
    }

    .hero-container,
    .about-grid,
    .technology-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-container {
        gap: 22px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-content h1 {
        font-size: clamp(33px, 9vw, 45px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {
        min-height: 370px;
        transform: scale(0.92);
        transform-origin: top center;
    }

    .hero-scroll-hint {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 31px;
    }

    .section-heading p {
        margin-top: 14px;
    }

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

    .about-grid {
        gap: 42px;
    }

    .about-visual {
        min-height: 400px;
    }

    .about-image-placeholder {
        height: 370px;
    }

    .experience-badge {
        right: 5px;
    }

    .timeline {
        gap: 30px 12px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-node {
        width: 53px;
        height: 53px;
        margin-bottom: 13px;
        border-width: 5px;
    }

    .timeline-content h3 {
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 11px;
    }

    .technology-grid {
        gap: 32px;
    }

    .technology-cloud {
        min-height: 230px;
        padding: 23px 15px;
    }

    .stat-item {
        padding: 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .stat-item:nth-child(odd) {
        border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: 0;
    }

    .contact-info,
    .contact-form-card {
        padding: 36px 23px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        padding: 26px 0;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
        transform: scale(0.8);
    }

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

    .service-card p {
        min-height: auto;
    }

    .stat-item,
    .stat-item:nth-child(odd) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .about-symbol {
        grid-template-columns: 50px 50px;
        gap: 10px;
    }

    .about-symbol span {
        width: 50px;
        height: 50px;
        border-width: 6px;
    }

    .about-image-placeholder::before {
        width: 290px;
        height: 290px;
    }

    .about-image-placeholder::after {
        width: 190px;
        height: 190px;
    }

    .technology-cloud span {
        padding: 7px 11px;
        font-size: 11px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}





/* ==========================================================
   پنل مدیریت نرم آرا هوش وب
   ========================================================== */

.admin-login-page,
.admin-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(218, 73, 68, 0.16), transparent 33rem),
        radial-gradient(circle at bottom left, rgba(138, 26, 31, 0.12), transparent 30rem),
        #f8f6f5;
}

.admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.admin-login-card {
    width: min(100%, 460px);
    padding: 38px;
    border: 1px solid rgba(123, 31, 35, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(75, 25, 27, 0.12);
}

.admin-brand,
.admin-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #351d1e;
    text-decoration: none;
}

.admin-brand {
    margin-bottom: 44px;
}

.admin-brand img,
.admin-topbar-brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(165, 48, 49, 0.18);
}

.admin-brand strong,
.admin-topbar-brand strong {
    display: block;
    color: #4b171a;
    font-size: 1rem;
}

.admin-brand span,
.admin-topbar-brand span {
    display: block;
    margin-top: 4px;
    color: #7d6d6d;
    font-size: 0.78rem;
}

.admin-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #b84343;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.admin-login-heading h1,
.admin-page-heading h1 {
    margin: 0;
    color: #39191b;
    font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.admin-login-heading p,
.admin-page-heading p {
    margin: 12px 0 0;
    color: #756566;
    line-height: 1.9;
}

.admin-login-form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.admin-field {
    display: grid;
    gap: 8px;
}

.admin-field label,
.admin-filter-form label {
    color: #4d3637;
    font-size: 0.9rem;
    font-weight: 700;
}

.admin-field input,
.admin-field select,
.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e4d8d7;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #382526;
    font: inherit;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-filter-form input:focus,
.admin-filter-form select:focus {
    border-color: #cc5a58;
    box-shadow: 0 0 0 4px rgba(204, 90, 88, 0.14);
}

.admin-primary-button,
.admin-logout-button,
.admin-outline-button,
.admin-view-button,
.admin-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 10px 17px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-primary-button,
.admin-call-button {
    background: linear-gradient(135deg, #d45a56, #a52e32);
    color: #fff;
    box-shadow: 0 10px 22px rgba(165, 46, 50, 0.23);
}

.admin-primary-button:hover,
.admin-call-button:hover {
    transform: translateY(-2px);
}

.admin-login-form .admin-primary-button {
    width: 100%;
    margin-top: 4px;
}

.admin-back-link {
    display: inline-block;
    margin-top: 28px;
    color: #9f3d3f;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-page {
    padding-bottom: 56px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px max(20px, calc((100% - 1240px) / 2));
    border-bottom: 1px solid #eadfdd;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-topbar-actions form {
    margin: 0;
}

.admin-outline-button {
    border-color: #d8c6c4;
    background: #fff;
    color: #7e3032;
}

.admin-logout-button {
    border-color: #f0d2d0;
    background: #fff3f2;
    color: #a52e32;
}

.admin-content-wrapper {
    width: min(100% - 36px, 1200px);
    margin: 0 auto;
    padding-top: 42px;
}

.admin-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.admin-stat-card {
    display: grid;
    gap: 8px;
    min-height: 116px;
    padding: 20px;
    border: 1px solid #e9dddd;
    border-radius: 18px;
    background: #fff;
    color: #715d5e;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(87, 44, 45, 0.05);
}

.admin-stat-card strong {
    color: #3e1c1e;
    font-size: 2rem;
}

.admin-stat-new {
    border-top: 4px solid #cc4e4e;
}

.admin-stat-progress {
    border-top: 4px solid #b27a31;
}

.admin-stat-completed {
    border-top: 4px solid #548664;
}

.admin-stat-archived {
    border-top: 4px solid #827476;
}

.admin-panel {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #e9dddd;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(87, 44, 45, 0.05);
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) 200px auto auto;
    align-items: end;
    gap: 14px;
}

.admin-filter-search,
.admin-filter-status {
    display: grid;
    gap: 8px;
}

.admin-clear-filter {
    color: #9f3d3f;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-table-panel {
    overflow: hidden;
    padding: 0;
}

.admin-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 24px;
    border-bottom: 1px solid #eee4e3;
}

.admin-table-heading h2,
.admin-message-card h2,
.admin-contact-card h2,
.admin-status-card h2 {
    margin: 0;
    color: #432022;
    font-size: 1.1rem;
}

.admin-table-heading span {
    color: #8d7879;
    font-size: 0.87rem;
}

.admin-table-scroll {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 17px 16px;
    border-bottom: 1px solid #f0e8e7;
    text-align: right;
    vertical-align: middle;
    font-size: 0.89rem;
}

.admin-table th {
    background: #fdfafa;
    color: #76595a;
    font-size: 0.8rem;
    white-space: nowrap;
}

.admin-table td {
    color: #4d3839;
}

.admin-name-cell {
    min-width: 150px;
    color: #3f1d1f !important;
    font-weight: 800;
}

.admin-phone-cell {
    min-width: 120px;
    text-align: left !important;
    font-family: monospace;
}

.admin-message-preview {
    max-width: 270px;
    color: #735f60 !important;
    line-height: 1.8;
}

.admin-date-cell {
    white-space: nowrap;
    color: #826f70 !important;
    direction: ltr;
    text-align: left !important;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-status-new {
    background: #fff0ef;
    color: #b83e3e;
}

.admin-status-progress {
    background: #fff6e8;
    color: #99671f;
}

.admin-status-completed {
    background: #eef9f0;
    color: #3e7c51;
}

.admin-status-archived {
    background: #f2f0f0;
    color: #76696a;
}

.admin-view-button {
    min-height: 38px;
    padding: 8px 12px;
    background: #fff4f3;
    color: #a53739;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px;
}

.admin-pagination a,
.admin-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 10px;
    color: #775556;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-pagination a {
    border: 1px solid #e5d7d6;
    background: #fff;
}

.admin-pagination a.active {
    border-color: #ae393c;
    background: #ae393c;
    color: #fff;
}

.admin-empty-state {
    padding: 52px 22px;
    text-align: center;
}

.admin-empty-state h3 {
    margin: 0;
    color: #492527;
}

.admin-empty-state p {
    color: #806d6e;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 20px;
}

.admin-detail-list {
    display: grid;
    gap: 16px;
    margin: 22px 0;
}

.admin-detail-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e7e6;
}

.admin-detail-list dt {
    margin-bottom: 7px;
    color: #8b7677;
    font-size: 0.8rem;
}

.admin-detail-list dd {
    margin: 0;
    color: #422325;
    font-weight: 800;
}

.admin-detail-list a {
    color: #a53739;
    text-decoration: none;
}

.admin-call-button {
    width: 100%;
}

.admin-status-card form {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.admin-message-card {
    margin-top: 20px;
}

.admin-full-message {
    margin-top: 18px;
    padding: 20px;
    border-radius: 14px;
    background: #fdfafa;
    color: #4d3637;
    line-height: 2.2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-error-card {
    text-align: center;
}

.admin-error-card h1 {
    margin: 0;
    color: #421f21;
}

.admin-error-card p {
    margin: 14px 0 24px;
    color: #776566;
    line-height: 2;
}

.admin-error-button {
    display: inline-flex;
}

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

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

    .admin-filter-form .admin-primary-button,
    .admin-clear-filter {
        width: 100%;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .admin-login-card {
        padding: 27px 21px;
        border-radius: 20px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-topbar-actions {
        width: 100%;
    }

    .admin-topbar-actions > *,
    .admin-topbar-actions form,
    .admin-topbar-actions button,
    .admin-topbar-actions a {
        flex: 1;
    }

    .admin-content-wrapper {
        width: min(100% - 24px, 1200px);
        padding-top: 28px;
    }

    .admin-stat-grid,
    .admin-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-table-panel {
        padding: 0;
    }
}

.admin-service-cell {
    min-width: 160px;
    font-weight: 600;
    color: #8f1d2c;
    white-space: nowrap;
}

/* ==========================================================
   Hover Cards | نرم آرا هوش وب
   ========================================================== */

.service-card,
.feature-card,
.project-card,
.card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
    will-change: transform;
}

/* لایه رنگی مواج */
.service-card::before,
.feature-card::before,
.project-card::before,
.card::before {
    content: "";
    position: absolute;
    inset: -45%;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 180, 180, 0.55) 0%, transparent 35%),
        radial-gradient(circle at 70% 70%, rgba(137, 18, 35, 0.32) 0%, transparent 42%),
        linear-gradient(135deg, rgba(255, 120, 120, 0.42), rgba(119, 21, 38, 0.16));
    transform: rotate(0deg) scale(1);
    transition:
        opacity 0.35s ease,
        transform 0.8s ease;
    filter: blur(0.5px);
}

/* موج داخلی */
.service-card::after,
.feature-card::after,
.project-card::after,
.card::after {
    content: "";
    position: absolute;
    inset: auto;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.25);
}

/* هاور */
.service-card:hover,
.feature-card:hover,
.project-card:hover,
.card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 145, 145, 0.5);
    background: linear-gradient(145deg, #7d1626 0%, #a92a3c 52%, #e05f67 100%);
    color: #ffffff;
    box-shadow:
        0 22px 45px rgba(111, 19, 37, 0.28),
        0 0 0 1px rgba(255, 116, 116, 0.22),
        0 0 35px rgba(196, 48, 69, 0.18);
}

/* لایه رنگی روشن‌تر در هاور */
.service-card:hover::before,
.feature-card:hover::before,
.project-card:hover::before,
.card:hover::before {
    opacity: 1;
    transform: rotate(18deg) scale(1.08) translate(-6%, 4%);
}

/* موج‌های دایره‌ای */
.service-card:hover::after,
.feature-card:hover::after,
.project-card:hover::after,
.card:hover::after {
    opacity: 1;
    animation: card-wave 1.7s ease-out infinite;
}

/* سفید شدن متن‌ها */
.service-card:hover h1,
.service-card:hover h2,
.service-card:hover h3,
.service-card:hover h4,
.service-card:hover p,
.service-card:hover span,
.service-card:hover a,
.feature-card:hover h1,
.feature-card:hover h2,
.feature-card:hover h3,
.feature-card:hover h4,
.feature-card:hover p,
.feature-card:hover span,
.feature-card:hover a,
.project-card:hover h1,
.project-card:hover h2,
.project-card:hover h3,
.project-card:hover h4,
.project-card:hover p,
.project-card:hover span,
.project-card:hover a,
.card:hover h1,
.card:hover h2,
.card:hover h3,
.card:hover h4,
.card:hover p,
.card:hover span,
.card:hover a {
    color: #ffffff;
}

/* اگر داخل کارت آیکون یا badge داری */
.service-card:hover i,
.service-card:hover svg,
.feature-card:hover i,
.feature-card:hover svg,
.project-card:hover i,
.project-card:hover svg,
.card:hover i,
.card:hover svg {
    color: #ffffff;
    fill: currentColor;
}

/* انیمیشن موج */
@keyframes card-wave {
    0% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0.3);
    }

    60% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.15);
    }
}

/* لرزش بسیار نرم برای حس زنده بودن */
@media (prefers-reduced-motion: no-preference) {
    .service-card:hover,
    .feature-card:hover,
    .project-card:hover,
    .card:hover {
        animation: card-float 2.4s ease-in-out infinite alternate;
    }

    @keyframes card-float {
        from {
            transform: translateY(-10px) scale(1.02);
        }

        to {
            transform: translateY(-14px) scale(1.03);
        }
    }
}

/* کاهش حرکت برای کاربران حساس */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .feature-card,
    .project-card,
    .card,
    .service-card::before,
    .service-card::after,
    .feature-card::before,
    .feature-card::after,
    .project-card::before,
    .project-card::after,
    .card::before,
    .card::after {
        animation: none !important;
        transition: none !important;
    }
}



/* ==========================================================
   حرکت شدید کادر درباره ما با حرکت ماوس
   ========================================================== */

.about-image-placeholder {
    --mouse-x: 0px;
    --mouse-y: 0px;
    --rotate-x: 0deg;
    --rotate-y: 0deg;

    transform:
        perspective(900px)
        translate3d(var(--mouse-x), var(--mouse-y), 0)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));

    transform-style: preserve-3d;
    transition:
        transform 0.12s ease-out,
        box-shadow 0.25s ease,
        filter 0.25s ease;
    will-change: transform;
}

/* برجسته‌شدن هنگام ورود ماوس */
.about-image-placeholder.mouse-active {
    z-index: 5;
    box-shadow:
        0 35px 75px rgba(72, 10, 18, 0.34),
        0 0 0 2px rgba(237, 93, 94, 0.28),
        0 0 50px rgba(205, 52, 64, 0.24);
    filter: saturate(1.18) brightness(1.06);
}

/* درخشش متحرک روی کادر */
.about-image-placeholder::after {
    width: 240px;
    height: 240px;
    border-style: dashed;
    transition:
        width 0.25s ease,
        height 0.25s ease,
        transform 0.15s ease,
        border-color 0.25s ease;
}

.about-image-placeholder.mouse-active::after {
    width: 290px;
    height: 290px;
    border-color: rgba(255, 255, 255, 0.42);
}

/* حرکت داخلی لوگو همراه کادر */
.about-image-placeholder .about-symbol {
    transition: transform 0.16s ease-out;
    will-change: transform;
}

.about-image-placeholder.mouse-active .about-symbol {
    transform:
        rotate(45deg)
        translate3d(
            calc(var(--mouse-x) * -0.45),
            calc(var(--mouse-y) * -0.45),
            35px
        );
}

/* حرکت تگ‌های شناور */
.about-image-placeholder .about-tag {
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.about-image-placeholder.mouse-active .tag-top {
    transform: translate3d(
        calc(var(--mouse-x) * -0.7),
        calc(var(--mouse-y) * -0.7),
        28px
    );
}

.about-image-placeholder.mouse-active .tag-right {
    transform: translate3d(
        calc(var(--mouse-x) * 0.8),
        calc(var(--mouse-y) * 0.8),
        38px
    );
}

.about-image-placeholder.mouse-active .tag-bottom {
    transform: translate3d(
        calc(var(--mouse-x) * -0.55),
        calc(var(--mouse-y) * 0.55),
        22px
    );
}

/* حرکت نشان تجربه */
.about-image-placeholder .experience-badge {
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.about-image-placeholder.mouse-active .experience-badge {
    transform: translate3d(
        calc(var(--mouse-x) * 0.65),
        calc(var(--mouse-y) * -0.65),
        42px
    );
}

/* بازگشت نرم پس از خروج ماوس */
@media (min-width: 781px) {
    .about-image-placeholder:not(.mouse-active) {
        transition:
            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.45s ease,
            filter 0.45s ease;
    }
}

/* غیرفعال‌کردن حرکت شدید در موبایل و حالت کاهش حرکت */
@media (max-width: 780px),
(prefers-reduced-motion: reduce) {
    .about-image-placeholder,
    .about-image-placeholder .about-symbol,
    .about-image-placeholder .about-tag,
    .about-image-placeholder .experience-badge {
        transform: none !important;
        transition: none !important;
    }

    .about-image-placeholder.mouse-active {
        filter: none;
    }
}
/* ==========================================
   Footer | نرم آرا هوش وب
   ========================================== */

.site-footer {
    margin-top: 80px;
    color: #fff7f5;
    background:
        radial-gradient(circle at 10% 20%, rgba(234, 84, 85, 0.34), transparent 32%),
        radial-gradient(circle at 90% 85%, rgba(255, 137, 120, 0.18), transparent 30%),
        #421315;
    border-top: 4px solid #e85455;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr;
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 38px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-link {
    display: inline-flex;
    flex: 0 0 auto;
}

.footer-logo {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.footer-brand h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #ffffff;
}

.footer-brand p {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 247, 245, 0.76);
    font-size: 0.88rem;
    line-height: 1.9;
}

.footer-contact,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffb3a8;
}

.footer-phone,
.footer-email {
    width: fit-content;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.footer-email {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.footer-phone:hover,
.footer-email:hover {
    color: #ffb3a8;
    transform: translateX(-3px);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 12px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-button:hover {
    color: #ffffff;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(232, 84, 85, 0.72);
}

.social-button i {
    font-size: 1.18rem;
}

.messenger-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    font-weight: 900;
    color: #58191c;
    border-radius: 50%;
    background: #ffffff;
}

.eitaa-button .messenger-symbol {
    color: #d6423d;
}

.bale-button .messenger-symbol {
    color: #8c2425;
}

.social-button.is-disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.social-button.is-disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(29, 5, 6, 0.32);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 247, 245, 0.7);
    font-size: 0.84rem;
}

.footer-admin-link {
    padding: 7px 11px;
    color: #ffc4bb;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255, 196, 187, 0.3);
    border-radius: 9px;
    transition: 0.2s ease;
}

.footer-admin-link:hover {
    color: #ffffff;
    background: rgba(232, 84, 85, 0.46);
}


/* ==========================================
   Admin Settings
   ========================================== */

.admin-settings-page {
    min-height: 80vh;
    padding: 60px 0 90px;
    color: #3b1718;
    background:
        radial-gradient(circle at 5% 3%, rgba(232, 84, 85, 0.1), transparent 24%),
        #fffafa;
}

.admin-settings-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-settings-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #c83d42;
    font-size: 0.85rem;
    font-weight: 800;
}

.admin-settings-heading h1 {
    margin: 0 0 9px;
    color: #52191b;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.admin-settings-heading p {
    max-width: 710px;
    margin: 0;
    color: #745354;
    line-height: 2;
}

.admin-back-link {
    flex: 0 0 auto;
    padding: 11px 15px;
    color: #9c2f34;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #efb2ae;
    border-radius: 12px;
    background: #fff;
}

.admin-settings-card {
    padding: 28px;
    margin-top: 22px;
    border: 1px solid #f0d7d4;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(103, 34, 34, 0.08);
}

.admin-card-title {
    padding-bottom: 17px;
    margin-bottom: 22px;
    border-bottom: 1px solid #f5e4e1;
}

.admin-card-title h2 {
    margin: 0 0 7px;
    color: #571a1d;
    font-size: 1.24rem;
}

.admin-card-title p {
    margin: 0;
    color: #846364;
    line-height: 1.8;
    font-size: 0.9rem;
}

.settings-grid,
.add-setting-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.setting-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.setting-field label {
    color: #592427;
    font-size: 0.9rem;
    font-weight: 800;
}

.setting-field code,
.setting-field small {
    color: #967071;
    font-size: 0.75rem;
}

.setting-field code {
    padding: 3px 7px;
    border-radius: 6px;
    background: #fff1ef;
}

.setting-field input,
.setting-field textarea {
    width: 100%;
    padding: 12px 14px;
    color: #3c181a;
    font-family: inherit;
    font-size: 0.93rem;
    border: 1px solid #e7c8c4;
    border-radius: 12px;
    outline: none;
    background: #fffdfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.setting-field textarea {
    resize: vertical;
    line-height: 1.9;
}

.setting-field input:focus,
.setting-field textarea:focus {
    border-color: #dc5558;
    box-shadow: 0 0 0 4px rgba(220, 85, 88, 0.13);
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.admin-save-button,
.admin-add-button {
    padding: 12px 20px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.93rem;
    font-weight: 800;
    cursor: pointer;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #e75255, #a9272d);
    box-shadow: 0 8px 18px rgba(169, 39, 45, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-save-button:hover,
.admin-add-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 24px rgba(169, 39, 45, 0.3);
}

.add-setting-form {
    align-items: end;
    grid-template-columns: 1fr 1fr 1fr auto;
}

.admin-alerts {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-alert {
    padding: 13px 16px;
    border-radius: 12px;
    font-weight: 700;
}

.admin-alert-success {
    color: #155b36;
    border: 1px solid #a7dbbd;
    background: #e7f8ed;
}

.admin-alert-danger {
    color: #9c2427;
    border: 1px solid #f1b6b6;
    background: #fff0f0;
}

.admin-alert-warning {
    color: #835719;
    border: 1px solid #eed39b;
    background: #fff8e6;
}

.delete-setting-list {
    display: grid;
    gap: 10px;
}

.delete-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 14px;
    border: 1px solid #f2dedb;
    border-radius: 13px;
    background: #fffcfc;
}

.delete-setting-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delete-setting-item strong {
    color: #552023;
}

.delete-setting-item span {
    direction: ltr;
    text-align: right;
    color: #9e7778;
    font-size: 0.77rem;
}

.delete-setting-item button {
    padding: 8px 12px;
    color: #b52e34;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid #efb6b4;
    border-radius: 9px;
    background: #fff4f3;
}

.delete-setting-item button:hover {
    color: #ffffff;
    border-color: #c83c42;
    background: #cf4045;
}


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

@media (max-width: 900px) {
    .footer-container,
    .settings-grid,
    .add-setting-form {
        grid-template-columns: 1fr;
    }

    .footer-container {
        gap: 28px;
    }

    .admin-settings-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .admin-settings-card {
        padding: 19px;
        border-radius: 16px;
    }

    .admin-form-actions,
    .admin-save-button,
    .admin-add-button {
        width: 100%;
    }

    .delete-setting-item {
        align-items: flex-start;
        flex-direction: column;
    }
}
