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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    text-align: right;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: #4CAF50;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4CAF50 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 175, 80, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.title-word {
    display: inline-block;
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-word:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 90%;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

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

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

.btn-primary {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    color: #4CAF50;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Phone Mockup */
.phone-mockup {
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 35px;
    padding: 8px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    transform: rotate(-8deg) perspective(1200px) rotateY(15deg) rotateX(5deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    margin: 0 auto;
    animation: phoneFloat 8s ease-in-out infinite;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(255,255,255,0.1) 0%,
        transparent 25%,
        transparent 75%,
        rgba(255,255,255,0.1) 100%);
    border-radius: 37px;
    z-index: -1;
}

.phone-mockup:hover {
    transform: rotate(-2deg) perspective(1200px) rotateY(5deg) rotateX(2deg) scale(1.08);
    box-shadow:
        0 40px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.2),
        0 0 50px rgba(76, 175, 80, 0.3);
}

.phone-screen {
    background: #000;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    height: 450px;
    position: relative;
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,0.05),
        inset 0 0 20px rgba(0,0,0,0.8);
}

/* Phone Details */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.2) 20%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0.2) 80%,
        transparent 100%);
    border-radius: 3px;
    z-index: 10;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 10;
}

/* Side buttons */
.phone-mockup .side-button {
    position: absolute;
    background: linear-gradient(90deg, #1a1a1a, #333, #1a1a1a);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3);
}

.phone-mockup .volume-up {
    top: 80px;
    right: -4px;
    width: 8px;
    height: 28px;
    border-radius: 0 3px 3px 0;
}

.phone-mockup .volume-down {
    top: 118px;
    right: -4px;
    width: 8px;
    height: 28px;
    border-radius: 0 3px 3px 0;
}

.phone-mockup .power-button {
    top: 100px;
    left: -4px;
    width: 8px;
    height: 40px;
    border-radius: 3px 0 0 3px;
}

/* Reflection effect */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255,255,255,0.05) 100%);
    border-radius: 35px;
    pointer-events: none;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4CAF50 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 3;
}

.time {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.indicators {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

/* App Content */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.app-icon-large {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.mic-icon {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: pulse 2s ease-in-out infinite;
}

.app-title {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.app-subtitle {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Feature Dots */
.app-features {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* New Features Section */
.new-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    color: white;
}

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

.new-feature {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.new-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.screenshot img:hover {
    transform: scale(1.05);
}

.screenshot h4 {
    margin-top: 1rem;
    color: #4CAF50;
}

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

.download-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s;
}

.download-btn:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: rotate(-8deg) perspective(1200px) rotateY(15deg) rotateX(5deg) translateY(0px);
    }
    25% {
        transform: rotate(-6deg) perspective(1200px) rotateY(12deg) rotateX(3deg) translateY(-8px);
    }
    50% {
        transform: rotate(-8deg) perspective(1200px) rotateY(15deg) rotateX(5deg) translateY(-15px);
    }
    75% {
        transform: rotate(-10deg) perspective(1200px) rotateY(18deg) rotateX(7deg) translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes titleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(255,255,255,0.3));
    }
    100% {
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(255,255,255,0.6));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .phone-mockup {
        max-width: 240px;
        padding: 6px;
        transform: rotate(-5deg) perspective(800px) rotateY(10deg);
    }

    .phone-screen {
        height: 360px;
    }

    .mic-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .app-title {
        font-size: 18px;
    }

    .app-subtitle {
        font-size: 14px;
    }

    .status-bar {
        padding: 6px 15px;
        font-size: 12px;
    }

    .app-content {
        padding: 15px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
