:root {
    --primary: #C8005A;
    --primary-light: #F0427C;
    --secondary: #E8C84A;
    --bg-soft: #FFE8F0;
    --bg-page: #FFF9F5;
    --text-dark: #2D2D2D;
    --text-muted: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(200, 0, 90, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 5px 15px rgba(200, 0, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 0, 90, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Pages */
.page {
    padding-top: 80px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--bg-soft);
    overflow: hidden;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-img {
    position: relative;
    z-index: 1;
}

.hero-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 900;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Marquee Testimonials */
.marquee-container {
    overflow: hidden;
    background: white;
    padding: 40px 0;
    position: relative;
    margin: 50px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    animation: scrollMarquee 120s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--bg-page);
    padding: 25px;
    border-bottom: 3px solid var(--primary);
    border-radius: 20px;
    width: 350px;
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(25%);
    }
}

/* Footer */
footer {
    background: white;
    padding: 60px 0 20px;
    border-top: 1px solid var(--bg-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

/* Features Showcase */
.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-app-card {
    background: #fff;
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-app-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-app-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.app-mockup {
    width: 100%;
    margin-top: auto;
}

.app-mockup img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Packages Custom */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--bg-soft);
}

.package-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 20px 0;
}

.package-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: start;
}

.features-list li i {
    color: #25D366;
    margin-top: 5px;
}

.video-list {
    background: var(--bg-page);
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.video-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 0.9rem;
}

.video-item:last-child {
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .features-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-flex {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Typing Indicator --- */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
    background: white;
    border-radius: 18px;
    border-top-left-radius: 0;
    width: fit-content;
    border: 1px solid #eee;
    margin-bottom: 10px;
    align-self: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.typing-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}