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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #fff;
    --surface-color: #fff;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --border-color: #eee;
    --input-bg: #fff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

[data-theme="dark"] {
    --primary-color: #8c9eff;
    --secondary-color: #b794f4;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #121212;
    --surface-color: #1e1e2f;
    --navbar-bg: rgba(30, 30, 47, 0.95);
    --border-color: #2d2d44;
    --input-bg: #121212;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-extras {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== Hero Slider ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    cursor: default;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

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

.slide-text {
    flex: 1;
    color: var(--white);
    user-select: text;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.slide-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

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

.slide-image i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-img-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-img-link:hover .hero-img {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    object-fit: cover;
    cursor: pointer;
}

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

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 100%;
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Apps Section ===== */
.apps-section {
    padding: 100px 0;
    background: var(--surface-color);
}

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

.app-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.app-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.app-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.app-screenshots-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.app-screenshots-grid img:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .app-screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .app-screenshots-grid img {
        aspect-ratio: auto;
    }
}

.app-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: auto;
}

.app-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.app-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.app-rating span {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 5px;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--surface-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.about-image i {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.contact-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== App Page Styles ===== */
.app-page-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.header-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../apps/naghshsaz.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.app-header-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.app-header-info {
    flex: 1;
}

.app-header-info h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.app-header-info .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.app-header-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.app-header-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-header-actions {
    display: flex;
    gap: 20px;
}

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

.main-app-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform 0.5s ease;
}

/* Hover effect is now handled by JavaScript for 3D tilt */

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.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;
}

/* App Details Section */
.app-details-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-block {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 30px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.feature-list h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Sidebar Specs */
.specs-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.specs-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list span {
    color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--surface-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    text-align: center;
    color: var(--white);
}

.download-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Responsive App Page */
@media (max-width: 992px) {
    .app-header-content {
        flex-direction: column;
        text-align: center;
    }

    .app-header-meta {
        justify-content: center;
    }

    .app-header-actions {
        justify-content: center;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .specs-card {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 30px; /* RTL layout */
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-btn.prev {
    right: 30px; /* RTL layout */
}

.lightbox-btn.next {
    left: 30px; /* RTL layout */
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-image i {
        font-size: 10rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-image {
        order: -1;
    }

    .about-image i {
        font-size: 10rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--surface-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: var(--transition);
    }

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

    .menu-toggle {
        display: block;
    }

    .slide-content .container {
        flex-direction: column;
        text-align: center;
    }

    .slide-text {
        order: 2;
    }

    .slide-text h1 {
        font-size: 2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .slide-image {
        order: 1;
    }

    .slide-image i {
        font-size: 8rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider-controls {
        bottom: 30px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-text h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .app-card {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===== Utilities ===== */
.text-dark {
    color: #1a1a1a !important;
}

.text-dark h1, 
.text-dark h2, 
.text-dark h3, 
.text-dark span:not(.badge) {
    color: #1a1a1a !important;
}

.text-dark p {
    color: #333 !important;
}

.text-dark .badge {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #000 !important;
}

.text-light {
    color: #ffffff !important;
}

.text-light h1, 
.text-light h2, 
.text-light h3, 
.text-light span:not(.badge) {
    color: #ffffff !important;
}

.text-light p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-light .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}
