/* Font Face Declarations - IranSans */
/* Fonts are now in public/fonts directory for direct serving */
@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Thin.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-UltraLight.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Light.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Regular.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Medium.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-DemiBold.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Bold.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-ExtraBold.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url('/static/fonts/IranSansX(Pro)/Woff2/IRANSansXFaNum-Black.woff2') format('woff2'),
        url('/static/fonts/IranSansX(Pro)/Woff/IRANSansXFaNum-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Theme Colors */
:root {
    --primary: #e4b417;
    --primary-50: #faf3de;
    --primary-100: #f4eacb;
    --primary-200: #ede0b8;
    --primary-300: #e1ce91;
    --primary-400: #d4bb6b;
    --primary-500: #c8a944;
    --primary-600: #bb961e;
    --primary-700: #967818;
    --primary-800: #705a12;
    --primary-900: #4b3c0c;
    --text-primary: #0a0a0a;
    --text-secondary: #737373;
    --border: #e5e5e5;
    --background: #ffffff;
    --white: #ffffff;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IranSans', 'Tahoma', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IranSans', 'Tahoma', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Navbar - Mobile First */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navbar Links - Mobile First (Hidden by default on mobile) */
.navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
}

.navbar-links.active {
    right: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    transition: color 0.3s ease;
    position: relative;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    display: none;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IranSans', 'Tahoma', 'Arial', sans-serif;
    box-shadow: 0 2px 8px rgba(228, 180, 23, 0.3);
    min-height: 48px;
    width: 100%;
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.nav-cta:visited {
    color: var(--white);
}

.nav-cta:active {
    transform: scale(0.98);
    background: var(--primary-600);
}

/* Hero Section - Mobile First */
.hero-section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 50%, var(--primary-100) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(228, 180, 23, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    order: 2;
}

.hero-title {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    order: 1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.hero-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(228, 180, 23, 0.3));
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* CTA Buttons - Mobile First */
.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'IranSans', 'Tahoma', 'Arial', sans-serif;
    box-shadow: 0 4px 16px rgba(228, 180, 23, 0.35);
    align-self: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    touch-action: manipulation;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Sticky CTA Button for Mobile - First CTA Button */
.sticky-cta-mobile {
    display: none;
}

/* Sticky wrapper for mobile */
@media (max-width: 639px) {

    /* Hide all CTA buttons on mobile except the sticky one */
    .cta-button:not(.install-button-sticky) {
        display: none !important;
    }

    /* Hide CTA wrapper divs on mobile to avoid empty spaces */
    .testimonials-cta,
    .steps-cta {
        display: none !important;
    }

    /* Adjust hero section to fit viewport with sticky button */
    .hero-section {
        min-height: calc(100vh - 88px);
        padding: 60px 0 0;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        gap: 16px;
        padding-top: 0;
    }

    .hero-text {
        gap: 8px;
        margin-bottom: 0;
    }

    .hero-image {
        margin-bottom: 0;
        max-width: 240px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .sticky-cta-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--white);
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--border);
    }

    .install-button-sticky {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        margin: 0;
        padding: 16px;
        font-size: 16px;
    }

    /* Add padding to body to prevent content from being hidden behind sticky button */
    body {
        padding-bottom: 88px;
    }
}

.cta-button:visited {
    color: var(--white);
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

@media (hover: hover) {
    .cta-button:hover {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(228, 180, 23, 0.45);
    }
}

/* Why Talano Section - Mobile First */
.why-section {
    padding: 48px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

/* Features Carousel for Mobile */
.features-swiper-wrapper {
    margin-bottom: 32px;
    padding: 0;
}

.features-swiper {
    padding: 0;
    overflow: visible;
    margin-bottom: 24px;
}

.features-swiper .swiper-wrapper {
    align-items: stretch;
}

.features-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.features-swiper .feature-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Features Controls Container */
.features-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

/* Features Navigation Buttons */
.features-nav-btn {
    position: static;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    box-shadow: 0 4px 12px rgba(228, 180, 23, 0.3);
    padding: 0;
    flex-shrink: 0;
}

.features-nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.features-nav-btn:active {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(228, 180, 23, 0.4);
}

.features-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--primary-300);
    box-shadow: none;
}

.features-nav-btn.swiper-button-disabled:active {
    transform: scale(1);
}

@media (hover: hover) {
    .features-nav-btn:hover:not(.swiper-button-disabled) {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 20px rgba(228, 180, 23, 0.4);
    }

    .features-nav-btn:hover:not(.swiper-button-disabled) svg {
        transform: scale(1.1);
    }
}

/* Features Pagination - Hidden */
.features-pagination {
    display: none !important;
}

.features-pagination .swiper-pagination-bullet {
    display: none !important;
}

.features-pagination .swiper-pagination-bullet-active {
    display: none !important;
}

/* Features Grid - Hidden on mobile, shown on desktop */
.features-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 24px 20px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    border: 2px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    touch-action: manipulation;
}


.feature-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .feature-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(228, 180, 23, 0.15);
    }

    .feature-item:hover .feature-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Testimonials Section - Mobile First */
.testimonials-section {
    padding: 48px 0;
    background-color: var(--primary-50);
}

/* Swiper Testimonials Carousel */
.testimonials-swiper-wrapper {
    margin-bottom: 32px;
    padding: 0;
}

.testimonials-swiper {
    padding: 0;
    overflow: visible;
    margin-bottom: 24px;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-swiper .testimonial-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Testimonials Controls Container */
.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

/* Swiper Navigation Buttons - Modern Design */
.testimonials-nav-btn {
    position: static;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    box-shadow: 0 4px 12px rgba(228, 180, 23, 0.3);
    padding: 0;
    flex-shrink: 0;
}

.testimonials-nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.testimonials-nav-btn:active {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(228, 180, 23, 0.4);
}

.testimonials-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--primary-300);
    box-shadow: none;
}

.testimonials-nav-btn.swiper-button-disabled:active {
    transform: scale(1);
}

@media (hover: hover) {
    .testimonials-nav-btn:hover:not(.swiper-button-disabled) {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 20px rgba(228, 180, 23, 0.4);
    }

    .testimonials-nav-btn:hover:not(.swiper-button-disabled) svg {
        transform: scale(1.1);
    }
}

/* Swiper Pagination - Hidden */
.testimonials-pagination {
    display: none !important;
}

.testimonials-pagination .swiper-pagination-bullet {
    display: none !important;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    display: none !important;
}

/* Hide grid - we use carousel everywhere */
.testimonials-grid {
    display: none;
}

.testimonial-item {
    background-color: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(228, 180, 23, 0.1);
}

.testimonial-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

@media (hover: hover) {
    .testimonial-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(228, 180, 23, 0.15);
        border-color: var(--primary-200);
    }
}

.quote-icon {
    font-size: 64px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.testimonials-text {
    text-align: center;
    font-size: 16px;
    color: var(--text-primary);
    margin: 24px 0 20px;
    line-height: 1.8;
    padding: 0 16px;
}

.testimonials-cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.signup-button {
    padding: 18px 40px;
    font-size: 18px;
}

/* Bottom Section (How It Works & FAQ) - Mobile First */
.bottom-section {
    padding: 48px 0;
    background-color: var(--white);
}

.bottom-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: start;
}

.how-it-works,
.faq-section {
    display: flex;
    flex-direction: column;
}

.steps-list,
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-200) 0%, var(--primary-100) 100%);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Styles */
.faq-item {
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: var(--primary-300);
    box-shadow: 0 4px 16px rgba(228, 180, 23, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(228, 180, 23, 0.15);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'IranSans', 'Tahoma', 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--primary-50);
}

.faq-question span {
    flex: 1;
    text-align: right;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #898989;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Tablet Styles - min-width: 640px */
@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }

    .navbar-content {
        padding: 16px 0;
    }

    .logo-img {
        height: 36px;
    }

    .hero-section {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

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

    .hero-image {
        max-width: 400px;
    }

    .cta-button {
        width: auto;
        max-width: none;
        padding: 16px 40px;
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .why-section,
    .testimonials-section,
    .bottom-section {
        padding: 64px 0;
    }

    /* Hide features carousel on tablet/desktop */
    .features-swiper-wrapper {
        display: none;
    }

    /* Show features grid on tablet/desktop */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Keep carousel on all screen sizes */
    .testimonials-swiper-wrapper {
        display: block;
    }

    .testimonial-item {
        padding: 32px;
    }

    .testimonials-text {
        font-size: 17px;
        margin: 32px 0 24px;
    }
}

/* Desktop Styles - min-width: 968px */
@media (min-width: 968px) {
    .container {
        padding: 0 32px;
    }

    /* Show desktop navbar layout */
    .navbar-content {
        justify-content: space-between;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .navbar-links {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        gap: 32px;
        overflow: visible;
    }

    .nav-link {
        display: none;
    }

    .nav-link::after {
        display: block;
    }

    .nav-cta {
        width: auto;
        padding: 10px 24px;
        font-size: 14px;
        margin-top: 0;
    }

    .hero-section {
        padding: 120px 0 80px;
        min-height: 100vh;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1.3fr 0.7fr;
        gap: 80px;
        text-align: right;
    }

    .hero-text {
        text-align: right;
        order: 1;
        gap: 24px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

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

    .hero-image {
        order: 2;
        max-width: 100%;
    }

    .cta-button {
        align-self: flex-start;
        padding: 18px 40px;
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .why-section,
    .testimonials-section,
    .bottom-section {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    /* Carousel shows 3 slides on desktop */

    .testimonial-item {
        padding: 40px;
    }

    .testimonials-text {
        font-size: 18px;
        margin: 32px 0 24px;
    }

    .bottom-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* Large Desktop - min-width: 1200px */
@media (min-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image,
.feature-item,
.testimonial-item,
.step-item,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}