/* 😍بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِیمِ😍 */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #8a85ff;
    --accent-color: #5a52e0;
    --text-color: #2d3748;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
    --header-height: 80px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: var(--transition);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/math-pattern.svg');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: bold;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(108, 99, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.btn.disabled {
    background-color: #e2e8f0;
    color: #718096;
    cursor: not-allowed;
    box-shadow: none;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.floating {
    animation: float 6s infinite ease-in-out;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.logo-loader .s-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.logo-loader .s-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
}

.progress-container {
    width: 300px;
    height: 6px;
    background-color: rgba(108, 99, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: loading 2s ease-in-out forwards;
}

.loading-text {
    color: var(--text-color);
    font-size: 1rem;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.s-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    color: var(--text-color);
}

.theme-toggle:hover {
    background-color: rgba(108, 99, 255, 0.1);
}

.theme-toggle i {
    position: absolute;
    transition: var(--transition);
    font-size: 1.2rem;
}

.theme-toggle .fa-moon {
    opacity: 1;
}

.theme-toggle .fa-sun {
    opacity: 0;
}

.theme-toggle.active .fa-moon {
    opacity: 0;
}

.theme-toggle.active .fa-sun {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    background-color: rgba(108, 99, 255, 0.05);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 8s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: float 10s infinite ease-in-out 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 30%;
    animation: float 12s infinite ease-in-out 4s;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.title-line {
    display: block;
}

.hero-title .highlight {
    font-size: 3.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    min-height: 400px;
}

/* Improved App Mockup Styles */
.app-mockup {
    width: 300px;
    height: 500px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    transition: var(--transition);
}

.app-mockup.large {
    width: 500px;
    height: 350px;
}

.app-header {
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
}

.app-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-red {
    background-color: #ff5f56;
}

.control-yellow {
    background-color: #ffbd2e;
}

.control-green {
    background-color: #27c93f;
}

.app-title {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.app-screen {
    height: calc(100% - 50px);
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.math-animation {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

.equation {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 1;
    transform: none;
    transition: all 0.5s ease;
}

.solution {
    font-size: 1.8rem;
    color: var(--text-color);
    opacity: 1;
    transform: none;
    transition: all 0.5s ease;
}

/* Features Section */
.features {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/math-bg-light.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.feature-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-wave {
    transform: translateX(0);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
}

/* Products Section */
.products {
    position: relative;
    background-color: #f8f9fa;
}

.products-tabs {
    margin-top: 50px;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: var(--card-bg);
}

.tab-btn.active::after {
    width: 100%;
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 20px;
}

.tab-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.browser-header {
    height: 40px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #ddd;
}

.browser-url {
    flex: 1;
    background-color: white;
    height: 24px;
    border-radius: 4px;
    margin: 0 10px;
    padding: 0 10px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-screen {
    height: calc(100% - 40px);
    background-color: var(--card-bg);
}

.chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--card-bg);
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.user-message {
    margin-left: auto;
}

.user-message .message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message {
    margin-right: auto;
}

.bot-message .message-content {
    background-color: #f1f1f1;
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.chat-input {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 15px;
    font-family: 'Vazirmatn', sans-serif;
    outline: none;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

.messenger-mockup {
    width: 100%;
    max-width: 300px;
    height: 500px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.messenger-tabs {
    height: 50px;
    display: flex;
    background-color: #f8f9fa;
}

.messenger-tabs button {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.messenger-tabs button.active {
    color: var(--primary-color);
    background-color: var(--card-bg);
}

.messenger-screen {
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
}

.messenger-header {
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.messenger-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--card-bg);
}

.messenger-input {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.messenger-input input {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 15px;
    font-family: 'Vazirmatn', sans-serif;
    outline: none;
}

.messenger-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.app-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.app-feature:hover {
    transform: translateY(-5px);
    background-color: rgba(108, 99, 255, 0.2);
}

.app-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.app-feature span {
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-color);
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.tab-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 25px 0;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #666;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.bot-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Demo Section */
.demo {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.demo-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.video-container {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-text {
    flex: 1;
}

.demo-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.demo-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.demo-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Download Section */
.download {
    position: relative;
    background-color: #f8f9fa;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.download-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.download-card:hover .download-icon {
    transform: scale(1.1);
    background-color: rgba(108, 99, 255, 0.2);
}

.download-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.download-description {
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.download-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-info i {
    font-size: 0.8rem;
}

/* Improved Download Buttons */
.download-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-direction: column;
}

.download-buttons .btn {
    flex: 1;
    width: 100%;
    margin: 0;
}

.other-platforms {
    margin-top: 60px;
    text-align: center;
}

.other-platforms h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.platform-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.platform-card:hover .platform-icon {
    background-color: rgba(108, 99, 255, 0.2);
    transform: rotate(15deg);
}

.platform-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.platform-info p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* About Section */
.about {
    position: relative;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.member-avatar {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    background-size: cover;
    background-position: center;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(108, 99, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transition: var(--transition);
}

.member-image:hover .avatar-overlay {
    opacity: 1;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.member-bio {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.about-text {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #2a2a2a;
    color: #ddd;
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/math-bg-dark.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about .logo-wrapper {
    flex-direction: row;
    gap: 10px;
}

.footer-about .s-logo {
    font-size: 1.5rem;
    color: white;
}

.footer-about .s-name {
    font-size: 1.1rem;
    color: white;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #bbb;
}

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

.footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-contact h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .highlight {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero .container,
    .demo-content {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 50px;
        height: 400px;
    }
    
    .tab-content-wrapper {
        flex-direction: column;
    }
    
    .tab-image {
        margin-bottom: 30px;
    }
    
    .demo-text {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--card-bg);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 30px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 15px;
        justify-content: flex-start;
    }
    
    .tab-btn::after {
        bottom: -1px;
        height: 2px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
    
    .app-mockup {
        width: 280px;
        height: 450px;
    }
    
    .app-mockup.large, 
    .browser-mockup {
        height: 300px;
    }
    
    .messenger-mockup {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .highlight {
        font-size: 2rem;
    }
    
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .bot-buttons {
        flex-direction: column;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .demo-links {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* اضافه کردن فونت به تب‌های محصولات و دکمه‌های دانلود */
.tab-btn, 
.download-buttons .btn,
.btn.disabled {
    font-family: 'Vazirmatn', sans-serif !important;
}

/* برای دکمه‌های غیرفعال (به زودی) */
.btn.disabled {
    font-family: 'Vazirmatn', sans-serif !important;
    cursor: not-allowed;
    user-select: none;
}
/* بخش جدید برای بروزرسانی‌ها */
.updates {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.updates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/math-bg-light.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.update-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.update-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.update-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.update-card:hover .update-image img {
    transform: scale(1.05);
}

.update-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    z-index: 1;
}

.update-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.update-date .month {
    font-size: 0.9rem;
}

.update-content {
    padding: 20px;
}

.update-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.update-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.update-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.update-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.updates-cta {
    margin-top: 40px;
    text-align: center;
}

/* بخش جدید برای بیوگرافی برنامه‌نویس */
.developer-bio {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 60px;
}

.bio-header {
    text-align: center;
    margin-bottom: 40px;
}

.bio-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.bio-image {
    flex: 1;
    max-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-text {
    flex: 2;
}

.bio-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.audio-player {
    margin-top: 30px;
    background-color: rgba(108, 99, 255, 0.1);
    padding: 20px;
    border-radius: var(--radius);
}

.audio-player h4 {
    margin-bottom: 15px;
    color: var(--text-color);
}

audio {
    width: 100%;
}

/* تغییرات بخش دانلود */
.download-card {
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-buttons .btn {
    width: 100%;
    margin: 0;
}

/* استایل‌های رسپانسیو */
@media (max-width: 992px) {
    .bio-content {
        flex-direction: column;
    }
    
    .bio-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}