/* Mobile App Page Styles */

/* Mobile App Hero */
.app-hero {
    background: linear-gradient(135deg, #6200ea 0%, #3700b3 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" stroke="%237c4dff" stroke-width="1" fill="none" opacity="0.2"/><circle cx="50" cy="50" r="20" stroke="%237c4dff" stroke-width="1" fill="none" opacity="0.2"/><circle cx="50" cy="50" r="10" stroke="%237c4dff" stroke-width="1" fill="none" opacity="0.2"/></svg>'),
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" viewBox="0 0 70 70"><path d="M20,20 L50,20 L50,50 L20,50 Z" stroke="%237c4dff" stroke-width="1" fill="none" opacity="0.2"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.app-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.app-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInLeft 0.8s ease;
}

.app-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.app-hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    color: #b39ddb;
    margin-bottom: 20px;
}

.app-hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.app-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.app-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
}

.badge i {
    font-size: 24px;
    color: #fff;
}

.badge span {
    font-size: 12px;
    line-height: 1.4;
}

/* Phone Mockup */
.app-mockup {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.phone-frame {
    width: 280px;
    height: 560px;
    background-color: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #000;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #1a1a2e, #16213e);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="600" viewBox="0 0 300 600"><path d="M150,50 L250,50 L250,150 L150,150 Z" stroke="%237c4dff" stroke-width="2" fill="none"/><path d="M50,200 L100,200 L100,250 L50,250 Z" stroke="%237c4dff" stroke-width="2" fill="none"/><path d="M150,300 L230,300 L230,400 L150,400 Z" stroke="%237c4dff" stroke-width="2" fill="none"/><text x="155" y="100" fill="%23ffffff" font-size="14" font-weight="bold" font-family="Arial">8e888</text><circle cx="75" cy="225" r="15" fill="%239c27b0"/><circle cx="190" cy="350" r="25" fill="%23ffc107" opacity="0.6"/></svg>');
    opacity: 0.3;
}

/* App Features */
.app-features {
    padding: 80px 0;
    background-color: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--dark-gray);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    animation: fadeInUp 0.6s ease both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: #fff;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* App Usage */
.app-usage {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.usage-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
}

.usage-card:nth-child(1) { animation-delay: 0.1s; }
.usage-card:nth-child(2) { animation-delay: 0.2s; }
.usage-card:nth-child(3) { animation-delay: 0.3s; }
.usage-card:nth-child(4) { animation-delay: 0.4s; }

.usage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #2d1f3a;
}

.usage-icon {
    width: 60px;
    height: 60px;
    background: rgba(156, 39, 176, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.usage-icon i {
    font-size: 24px;
    color: var(--primary);
}

.usage-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.usage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.app-conclusion {
    text-align: center;
    animation: fadeInUp 0.6s ease both;
    animation-delay: 0.5s;
}

.app-conclusion p {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 500;
}

.app-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* How to Install */
.app-install {
    padding: 80px 0;
    background-color: var(--dark);
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.install-card {
    background-color: var(--dark-gray);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    animation: fadeInUp 0.6s ease both;
}

.install-card.android { 
    animation-delay: 0.1s;
    border-left: 5px solid #4caf50;
}

.install-card.ios { 
    animation-delay: 0.2s;
    border-left: 5px solid #2196f3;
}

.install-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-card.android h3 i {
    color: #4caf50;
}

.install-card.ios h3 i {
    color: #2196f3;
}

.install-steps {
    list-style: none;
    counter-reset: install-counter;
}

.install-steps li {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.install-card.android .step-number {
    background-color: #4caf50;
}

.install-card.ios .step-number {
    background-color: #2196f3;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .app-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-hero-buttons, .app-badges {
        justify-content: center;
    }
    
    .app-mockup {
        margin-top: 40px;
    }
    
    .install-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .app-hero-content h1 {
        font-size: 36px;
    }
    
    .app-hero-content h2 {
        font-size: 22px;
    }
    
    .features-grid, .usage-grid {
        grid-template-columns: 1fr;
    }
    
    .app-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .app-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 576px) {
    .app-hero-content h1 {
        font-size: 32px;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
} 