/*
IRANYekanX fonts are considered a proprietary software.
To gain information about the laws regarding the use of these fonts, please visit www.fontiran.com 

This set of fonts are used in this project under the license: (7OLG30C4)
*/

/* IRANYekanXVF Font Import */
@font-face {
    font-family: 'IRANYekanXVF';
    src: url('../font/Variable%20Font/webfont/IRANYekanXVF.woff2?v=2025070801') format('woff2'),
         url('../font/Variable%20Font/webfont/IRANYekanXVF.woff?v=2025070801') format('woff'),
         url('../font/Variable%20Font/IRANYekanXVF.ttf?v=2025070801') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Fallback for older browsers */
@font-face {
    font-family: 'IRANYekanX-Regular';
    src: url('../font/Webfonts/woff2/IRANYekanX-Regular.woff2?v=2025070801') format('woff2'),
         url('../font/Webfonts/woff/IRANYekanX-Regular.woff?v=2025070801') format('woff'),
         url('../font/IRANYekanX%20family/IRANYekanX-Regular.ttf?v=2025070801') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* CloudAra - Main Stylesheet */
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.01em;
    direction: rtl;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
}

/* Location Flags */
.location-flag {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 112, 186, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.location-flag::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.1), rgba(0, 48, 135, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover .location-flag::before {
    opacity: 1;
}

.location-card:hover .location-flag {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 32px rgba(0, 112, 186, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.location-card:hover .location-flag img {
    transform: scale(1.05);
}

/* Header - Modern Glassmorphism */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 112, 186, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 24px 24px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 1001;
    text-decoration: none !important;
}

.logo:hover {
    text-decoration: none !important;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 4px;
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 40px rgba(0, 112, 186, 0.25);
    filter: brightness(1.1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #0070ba, #003087);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 112, 186, 0.1);
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    background: rgba(0, 112, 186, 0.2);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #0070ba;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 112, 186, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    color: #0070ba;
    background: rgba(0, 112, 186, 0.05);
    transform: translateY(-2px);
}

/* Login Button - Special Style */
.login-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    border: 0px solid transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.hero-text {
    text-align: right;
    width: 100%;
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.7;
    word-wrap: break-word;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Modern Cloud Animation */
.cloud-animation {
    width: 100%;
    max-width: 500px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.datacenter {
    position: relative;
    width: 200px;
    height: 300px;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 112, 186, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: dataCenter 8s infinite;
    border: 2px solid rgba(0, 212, 170, 0.3);
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.server-light {
    width: 120px;
    height: 15px;
    background: linear-gradient(90deg, #0070ba, #00d4aa);
    border-radius: 8px;
    animation: serverPulse 2s infinite;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.6);
}

.server-light:nth-child(2) {
    animation-delay: 0.5s;
}

.server-light:nth-child(3) {
    animation-delay: 1s;
}

.cloud-connection {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.data-flow {
    width: 3px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #00d4aa, transparent);
    margin: 0 10px;
    animation: dataFlow 1.5s infinite;
    border-radius: 2px;
    display: inline-block;
}

.data-flow:nth-child(2) {
    animation-delay: 0.3s;
}

.data-flow:nth-child(3) {
    animation-delay: 0.6s;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cloud-icon, .timer-icon, .globe-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 212, 170, 0.8);
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.cloud-icon {
    top: 20%;
    right: -50px;
    animation-delay: 0s;
}

.timer-icon {
    bottom: 30%;
    left: -60px;
    animation-delay: 1.5s;
}

.globe-icon {
    top: 50%;
    right: -80px;
    animation-delay: 3s;
}

/* Keyframes */
@keyframes dataCenter {
    0%, 100% {
        transform: rotateY(0deg) scale(1);
        box-shadow: 0 20px 60px rgba(0, 112, 186, 0.3);
    }
    50% {
        transform: rotateY(5deg) scale(1.05);
        box-shadow: 0 30px 80px rgba(0, 212, 170, 0.4);
    }
}

@keyframes serverPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
        box-shadow: 0 0 25px rgba(0, 212, 170, 0.8);
    }
}

@keyframes dataFlow {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

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

/* CTA Buttons - Modern Glass Style */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 112, 186, 0.3);
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 112, 186, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.2);
}

/* Services Section - Modern Cards */
.services {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 112, 186, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 48, 135, 0.05) 0%, transparent 50%),
        #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a202c;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 112, 186, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0070ba, #003087);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 112, 186, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 112, 186, 0.2);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.1) 0%, rgba(0, 48, 135, 0.1) 100%);
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 112, 186, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #0070ba, #003087);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 112, 186, 0.15) 0%, rgba(0, 48, 135, 0.15) 100%);
}

.service-icon img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 8px rgba(0, 112, 186, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 6px 12px rgba(0, 112, 186, 0.3));
    transform: scale(1.05);
}

.service-card h3 {
    color: #003087;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .service-icon {
        width: 56px;
        height: 56px;
    }
    .service-icon img {
        width: 40px;
        height: 40px;
    }
}

/* Locations Section - Modern Glass Cards */
.locations {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(0, 112, 186, 0.02) 0%, rgba(0, 48, 135, 0.02) 100%),
        #ffffff;
}

/* World Map Animation */
.world-map-animation {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    padding: 2rem;
}

.world-map {
    position: relative;
    width: 800px;
    height: 400px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid rgba(0, 112, 186, 0.1);
}

.world-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 112, 186, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.datacenter-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 112, 186, 0.4);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite;
}

.datacenter-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #0070ba, #00d4aa);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
    animation: glow 2s infinite alternate;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.connection-line {
    fill: none;
    stroke: rgba(0, 212, 170, 0.6);
    stroke-width: 2;
    stroke-dasharray: 10 5;
    animation: connectionFlow 4s infinite linear;
    filter: drop-shadow(0 0 5px rgba(0, 212, 170, 0.3));
}

.connection-line:nth-child(2) {
    animation-delay: 1s;
}

.connection-line:nth-child(3) {
    animation-delay: 2s;
}

.connection-line:nth-child(4) {
    animation-delay: 3s;
}

/* Animation Keyframes */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(0, 212, 170, 0.6);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 112, 186, 0.8);
    }
}

@keyframes connectionFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -50;
    }
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 112, 186, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 112, 186, 0.03),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.location-card:hover::before {
    opacity: 1;
    top: -40%;
    left: -40%;
}

.location-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 112, 186, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 112, 186, 0.2);
}

.location-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.location-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
}

.location-card p {
    font-size: 0.9rem;
    color: #0070ba;
    font-weight: 500;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(0, 112, 186, 0.08);
    border-radius: 20px;
    display: inline-block;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', monospace;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 112, 186, 0.15);
    transition: all 0.3s ease;
}

.location-card:hover p {
    background: rgba(0, 112, 186, 0.12);
    border-color: rgba(0, 112, 186, 0.25);
    transform: scale(1.05);
}



/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: #0070ba;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0070ba;
    margin-bottom: 0.5rem;
}

.price-unit {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.features {
    list-style: none;
    margin: 1.5rem 0;
}

.features li {
    padding: 0.5rem 0;
    color: #666;
}

.features li i {
    color: #28a745;
    margin-left: 0.5rem;
}

/* Footer - Modern Dark */
.footer {
    background: 
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0070ba, #003087, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 0.8fr 0.7fr 0.7fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-section h4 {
    color: #0070ba;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0070ba, #003087);
    border-radius: 1px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: #cbd5e1;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-section a:hover {
    color: #0070ba;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.25);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 112, 186, 0.4);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.6rem;
    border-radius: 12px;
    background: rgba(0, 112, 186, 0.05);
    transition: all 0.3s ease;
}

.payment-item:hover {
    background: rgba(0, 112, 186, 0.1);
    transform: translateX(4px);
}

.payment-item i {
    color: #0070ba;
    font-size: 1.3rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enamad Logo Styles */
.enamad-logo {
    text-align: center;
    margin-top: 1rem;
}

.enamad-logo img {
    max-width: 100px;
    height: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.15);
}

.enamad-logo a:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 112, 186, 0.25);
}

/* Footer Contact Icons Spacing */
.footer-section p i {
    margin-left: 8px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 112, 186, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        align-items: center;
    }
    
    .enamad-logo {
        margin-top: 0;
    }
}

/* Why Choose Us Section - Ultra Modern */
.why-choose-us {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(0, 112, 186, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(0, 48, 135, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 112, 186, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 112, 186, 0.05),
        transparent
    );
    transition: left 0.8s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 112, 186, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 112, 186, 0.2);
}

.feature-icon {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 
        0 12px 32px rgba(0, 112, 186, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 112, 186, 0.1);
}

.feature-icon img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 4px rgba(0, 112, 186, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
    top: -40%;
    left: -40%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 
        0 16px 48px rgba(0, 112, 186, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 112, 186, 0.3);
    background: rgba(255, 255, 255, 1);
}

.feature-card:hover .feature-icon img {
    filter: drop-shadow(0 4px 8px rgba(0, 112, 186, 0.3));
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003087;
    margin-bottom: 1rem;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        font-size: 1.5rem;
    }
    
    .feature-icon img {
        width: 42px;
        height: 42px;
    }
}

/* Customer Reviews Section - Modern Carousel */
.reviews {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(0, 112, 186, 0.03) 0%, rgba(0, 48, 135, 0.03) 100%),
        #ffffff;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 112, 186, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 48, 135, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.review-container {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.review-slide {
    display: none;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.review-slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.review-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 112, 186, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0070ba, #003087);
}

.review-content .stars {
    margin-bottom: 1.5rem;
}

.review-content .stars i {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    position: relative;
}

.review-content p::before {
    content: '"';
    font-size: 3rem;
    color: rgba(0, 112, 186, 0.2);
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    line-height: 1;
}

.review-content p::after {
    content: '"';
    font-size: 3rem;
    color: rgba(0, 112, 186, 0.2);
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    line-height: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 
        0 8px 24px rgba(0, 112, 186, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003087;
    margin: 0;
}

.reviewer-info span {
    font-size: 0.9rem;
    color: #666;
}

.review-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 3rem;
    z-index: 2;
    position: relative;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 112, 186, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.indicator.active {
    background: #0070ba;
    transform: scale(1.3);
    border-color: rgba(0, 112, 186, 0.3);
    box-shadow: 
        0 4px 12px rgba(0, 112, 186, 0.3),
        0 0 0 4px rgba(0, 112, 186, 0.1);
}

.indicator:hover:not(.active) {
    background: rgba(0, 112, 186, 0.4);
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .reviewer {
        flex-direction: column;
        text-align: center;
    }
    
    .reviewer-info {
        text-align: center;
    }
}

/* How it Works Section - Modern Timeline */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 112, 186, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 48, 135, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px; /* فضای کافی برای شماره‌ها */
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0070ba, #00d4aa, #0070ba);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 0;
}

.steps-timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
    animation: timelineProgress 8s infinite linear;
}

.step-item {
    position: relative;
    z-index: 2;
    padding-top: 40px; /* فضای کافی برای شماره‌ها */
}

.step-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 3rem 2rem 2.5rem; /* padding بالا بیشتر برای شماره */
    text-align: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 12px 40px rgba(0, 112, 186, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: visible; /* تغییر از hidden به visible */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px; /* کمی فاصله از بالا */
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 112, 186, 0.05),
        transparent
    );
    transition: left 0.8s ease;
}

.step-content:hover::before {
    left: 100%;
}

.step-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 112, 186, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 112, 186, 0.2);
}

.step-number {
    position: absolute;
    top: -25px; /* بیشتر به بالا */
    right: 20px;
    width: 60px; /* کمی بزرگتر */
    height: 60px;
    background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
    border-radius: 18px; /* border-radius بیشتر */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem; /* فونت کمی بزرگتر */
    font-weight: 700;
    box-shadow: 
        0 10px 30px rgba(0, 112, 186, 0.35),
        0 3px 10px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.95); /* border ضخیم‌تر */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: numberPulse 3s infinite ease-in-out;
    z-index: 10; /* z-index بالاتر */
}

.step-item[data-step="1"] .step-number {
    animation-delay: 0s;
}

.step-item[data-step="2"] .step-number {
    animation-delay: 0.5s;
}

.step-item[data-step="3"] .step-number {
    animation-delay: 1s;
}

.step-item[data-step="4"] .step-number {
    animation-delay: 1.5s;
}

.step-content:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 40px rgba(0, 112, 186, 0.45),
        0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, rgba(0, 112, 186, 0.1), rgba(0, 48, 135, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0070ba;
    margin: 1rem auto 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    animation: iconFloat 4s ease-in-out infinite;
}

.step-item[data-step="1"] .step-icon {
    animation-delay: 0s;
}

.step-item[data-step="2"] .step-icon {
    animation-delay: 0.5s;
}

.step-item[data-step="3"] .step-icon {
    animation-delay: 1s;
}

.step-item[data-step="4"] .step-icon {
    animation-delay: 1.5s;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 112, 186, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconPulseAnim 3s ease-in-out infinite;
    opacity: 0;
}

.step-item[data-step="1"] .icon-pulse {
    animation-delay: 0s;
}

.step-item[data-step="2"] .icon-pulse {
    animation-delay: 0.7s;
}

.step-item[data-step="3"] .icon-pulse {
    animation-delay: 1.4s;
}

.step-item[data-step="4"] .icon-pulse {
    animation-delay: 2.1s;
}

.step-content:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(145deg, rgba(0, 112, 186, 0.15), rgba(0, 48, 135, 0.15));
    box-shadow: 0 8px 25px rgba(0, 112, 186, 0.2);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #003087;
    margin-bottom: 1rem;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.95rem;
    margin: 0;
}

/* Animations */
@keyframes timelineProgress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 24px rgba(0, 112, 186, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 12px 32px rgba(0, 112, 186, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-6px) rotate(2deg);
    }
    50% {
        transform: translateY(-3px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes iconPulseAnim {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* FAQ Section - Modern Accordion */
.faq {
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(0, 112, 186, 0.02) 0%, rgba(0, 48, 135, 0.02) 100%),
        #ffffff;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 112, 186, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 48, 135, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 112, 186, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 112, 186, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 112, 186, 0.15);
}

.faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0070ba, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003087;
    margin: 0;
    font-family: 'IRANYekanXVF', 'IRANYekanX-Regular', sans-serif;
    letter-spacing: -0.01em;
    flex: 1;
    text-align: right;
}

.faq-question i {
    color: #0070ba;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #003087;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 2.5rem 2rem;
    color: #666;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.01em;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer p {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header Mobile */
    .header {
        padding: 1rem 0;
        border-radius: 0 0 16px 16px;
    }
    
    .nav {
        align-items: center;
        padding: 0 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-radius: 20px 0 0 20px;
        box-shadow: -10px 0 30px rgba(0, 112, 186, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 12px 24px;
        border-radius: 25px;
        background: rgba(0, 112, 186, 0.08);
        width: 80%;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .nav-links a:hover {
        background: rgba(0, 112, 186, 0.15);
        transform: scale(1.05);
    }
    
    /* Login Button Mobile */
    .login-btn {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
        color: white !important;
        border-radius: 25px !important;
        padding: 12px 24px !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
        margin-top: 1rem !important;
        width: 80% !important;
        text-align: center !important;
    }
    
    .login-btn:hover {
        background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%) !important;
        transform: scale(1.08) !important;
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-illustration {
        order: 1;
        max-width: 100%;
    }
    
    .cloud-animation {
        width: 100%;
        max-width: 320px;
        height: 280px;
        margin: 0 auto;
    }
    
    .hero-illustration img {
        max-width: 100%;
        height: auto;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
    }
    
    /* Sections Mobile */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon img {
        width: 48px;
        height: 48px;
    }
    
    /* Locations Mobile */
    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .location-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .location-flag {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }
    
    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        font-size: 1.5rem;
    }
    
    /* Reviews Mobile */
    .review-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .reviewer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .reviewer-avatar {
        width: 55px;
        height: 55px;
        border-radius: 16px;
    }
    
    /* Steps Mobile */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-item {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        font-size: 1.4rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    /* How it Works Tablet */
    .how-it-works {
        padding: 5rem 0;
    }
    
    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 800px;
        padding-top: 55px;
    }
    
    .step-item {
        padding-top: 50px;
    }
    
    .step-content {
        padding: 3.2rem 1.8rem 2.2rem;
    }
    
    .step-number {
        top: -22px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .steps-container {
        max-width: 1200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.1;
    }
    
    .hero p {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .cloud-animation {
        width: 100%;
        max-width: 280px;
        height: 220px;
    }
    
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .cta-buttons .btn {
        max-width: 240px;
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .feature-card,
    .location-card,
    .step-item {
        margin: 0 0.5rem;
    }
    
    .review-card {
        padding: 2rem 1rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* How it Works Mobile */
    .how-it-works {
        padding: 4rem 0;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
        max-width: 400px;
        padding-top: 60px; /* فضای بیشتر در موبایل */
    }
    
    .steps-timeline::before {
        display: none;
    }
    
    .steps-timeline::after {
        display: none;
    }
    
    .step-item {
        padding-top: 45px; /* فضای کافی در موبایل */
    }
    
    .step-content {
        padding: 3.5rem 1.5rem 2rem; /* padding بالا بیشتر */
        margin: 0 auto;
        max-width: 350px;
    }
    
    .step-number {
        top: -20px; /* بیشتر به بالا در موبایل */
        right: 15px;
        width: 50px; /* کمی بزرگتر */
        height: 50px;
        font-size: 1.2rem;
        border-width: 3px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin: 1rem auto 1.2rem;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0070ba, #003087);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #005a9a, #002566);
}

/* Selection Colors */
::selection {
    background: rgba(0, 112, 186, 0.2);
    color: #003087;
}

::-moz-selection {
    background: rgba(0, 112, 186, 0.2);
    color: #003087;
}