/* Global Styles */
:root {
    --primary-color: #4e54c8;
    --primary-light: #8f94fb;
    --primary-dark: #363795;
    --secondary-color: #ff7e5f;
    --text-color: #333;
    --text-light: #666;
    --background-color: #fff;
    --background-alt: #f8f9fa;
    --border-color: #e1e4e8;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

#hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

/* Problem Section */
#problem {
    background-color: var(--background-alt);
}

.problem-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.problem-text, .problem-image {
    flex: 1;
}

.problem-text ul {
    margin: 2rem 0;
}

.problem-text ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.problem-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.problem-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Solution Section */
.solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.solution-image {
    flex: 1.2;
}

.solution-text {
    flex: 0.8;
}

.solution-text ul {
    margin-top: 1.5rem;
}

.solution-text ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.solution-text ul li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.solution-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* App Mockup Showcase */
.app-mockup-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.app-screen-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 850px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border-radius: 12px;
}

#app-screen {
    width: 100%;
    height: 100%;
    border: none;
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    margin: 0 auto;
    width: fit-content;
    z-index: 10;
}

.carousel-control {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.screen-indicator {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
}

/* Features Section */
#features {
    background-color: var(--background-alt);
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* How It Works Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content img {
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.step.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Section */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
    flex: 1;
    max-width: 350px;
    position: relative;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    animation: pulse 2s infinite;
}

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

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    margin-right: 10px;
    color: var(--success-color);
}

.pricing-features ul li.not-included i {
    color: var(--danger-color);
}

.pricing-card .cta-button {
    width: 100%;
    margin-top: 30px;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
}

.guarantee i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Subscribe Section */
#subscribe {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

.subscribers-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

.subscribers-count span {
    font-weight: 700;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Final CTA Section */
#final-cta {
    background-color: var(--background-alt);
    text-align: center;
}

#final-cta h2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#final-cta .cta-button {
    margin: 30px 0 20px;
}

.spots-remaining {
    color: var(--text-light);
    font-size: 0.9rem;
}

.spots-remaining span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #2d3436;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 250px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: white;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #hero .container,
    .problem-content,
    .solution-content {
        flex-direction: column;
    }
    
    .hero-content,
    .problem-text,
    .solution-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .mobile-hidden {
        display: none;
    }
    
    .app-screen-container {
        height: 750px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .subscribe-form {
        width: 100%;
        max-width: 100%;
    }
    
    .subscribe-form .cta-button {
        width: 80%;
        max-width: 300px;
    }
    
    .solution-content {
        flex-direction: column;
    }
    
    .solution-image, .solution-text {
        width: 100%;
    }
    
    .solution-image {
        margin-bottom: 30px;
    }
    
    .app-screen-container {
        height: 650px;
        max-width: 300px;
    }
}

/* Animation Classes */
.feature-card, .pricing-card, .step, .faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate, .pricing-card.animate, .step.animate, .faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for feature cards */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

/* Staggered animations for pricing cards */
.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }

/* Pulse animation for featured pricing */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(78, 84, 200, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(78, 84, 200, 0); }
    100% { box-shadow: 0 0 0 0 rgba(78, 84, 200, 0); }
}

/* Fade in animation for page load */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pricing-cards.single-card {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-cards.single-card .pricing-card {
    max-width: 500px;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .pricing-cards.single-card .pricing-card {
        transform: scale(1);
    }
} 