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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand .logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand .logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: bold;
    color: #c41e3a;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a:hover {
    color: #c41e3a;
}

.btn-download {
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary img {
    display: block;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

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

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* App Mockup */
.app-mockup {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    border-radius: 25px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mockup-content {
    background: white;
    border-radius: 18px;
    overflow: hidden;
}

.mockup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;
    text-align: center;
}

.mockup-notch {
    background: #333;
    width: 120px;
    height: 25px;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
}

.mockup-screen {
    padding: 0;
    display: block;
    height: auto;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

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

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

.gallery-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.carousel-track {
    display: flex;
    display: -webkit-flex;
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
    -webkit-will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    height: 700px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    object-position: center center;
    -webkit-object-position: center center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    min-width: 100%;
    min-height: 100%;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 6px;
}

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

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px 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.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 3px solid #667eea;
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
}

.promo-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
}

.pricing-card.featured .promo-badge {
    top: 25px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.original-price .currency {
    font-size: 1rem;
    margin-top: 0;
    text-decoration: line-through;
    color: #999;
}

.original-price .amount {
    font-size: 1.2rem;
    font-weight: normal;
    text-decoration: line-through;
    color: #999;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.btn-pricing {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-pricing:hover {
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

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

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

.footer-tagline {
    color: #cbd5e0;
    font-style: italic;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .features-grid,
    .steps,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    /* Pricing responsive */
    .promo-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        left: 10px;
        top: -12px;
    }
    
    .pricing-card.featured .promo-badge {
        top: 20px;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        right: 10px;
        top: -12px;
    }
    
    .price-wrapper {
        gap: 0.3rem;
    }
    
    .original-price .amount {
        font-size: 1rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    /* Gallery responsive */
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-section .section-title {
        font-size: 2rem;
    }
    
    .gallery-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .carousel-slide {
        height: 500px;
    }
    
    .carousel-slide img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        -webkit-object-fit: cover;
        -o-object-fit: cover;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        height: 400px;
    }
    
    .carousel-slide img {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        -webkit-object-fit: cover;
        -o-object-fit: cover;
    }
    
    .gallery-section {
        padding: 40px 0;
    }
}

/* Safari specific fixes */
@supports (-webkit-appearance: none) {
    .carousel-slide {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        -webkit-object-fit: cover !important;
        max-width: none;
        max-height: none;
    }
    
    .carousel-track {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}




