/* Color Palette */
:root {
    --primary-color: #E53935; /* Your logo's red */
    --secondary-color: #333;
    --background-light: #f8f9fa;
    --background-dark: #212529;
    --text-light: #fff;
    --text-dark: #333;
    --shadow-light: rgba(0,0,0,0.05);
    --shadow-medium: rgba(0,0,0,0.1);
    --shadow-dark: rgba(0,0,0,0.3);
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 40px;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 20px;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.primary-cta:hover {
    background-color: #C62828;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--background-light);
    padding: 100px 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--background-dark);
}

.hero-image {
    flex: 1;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.rating-badge {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.rating-stars {
    width: 100px;
    margin-right: 10px;
}

/* Features Section */
.features-section {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Visuals Section */
.visuals-section {
    background-color: var(--background-light);
}

.visuals-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.full-width {
    grid-column: 1 / -1;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, var(--primary-color), #FF6F61);
    color: var(--text-light);
}

.how-it-works-section h2, .how-it-works-section p {
    color: var(--text-light);
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.step-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    background-color: var(--text-light);
    color: var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

.testimonial-card h4 {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.final-cta-section h2, .final-cta-section p {
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #333;
    color: #bbb;
    padding: 40px 0;
    text-align: center;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links, .cta-button {
        margin-top: 15px;
        width: 100%;
    }
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    .visuals-section .container {
        grid-template-columns: 1fr;
    }
    .cta-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Keyframes for scroll-triggered animations */
@keyframes slideInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.animate-fade-in-up {
  animation: slideInUp 0.8s ease-in-out forwards;
}

@keyframes slideInRight {
  0% {
    transform: translateX(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.animate-fade-in-right {
  animation: slideInRight 0.8s ease-in-out forwards;
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.animate-fade-in-left {
  animation: slideInLeft 0.8s ease-in-out forwards;
}
