/* Base Styles */
:root {
    --primary-color: #E53935;
    --primary-dark: #C62828;
    --secondary-color: #2196F3;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #757575;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

section {
    padding: 80px 0;
}

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

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--primary-color);
}

.nav ul {
    display: flex;
}

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

.nav ul li a {
    position: relative;
    padding: 5px 0;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--light-gray);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%), url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    background-position: center;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

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

.hero-image {
    flex: 1;
    text-align: right;
    margin-left: 30px;
}

.hero-image img {
    max-height: 350px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--dark-gray);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--white);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--primary-color);
    left: 24px;
    top: 50px;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--dark-gray);
}

/* Screenshots Section */
.screenshots {
    background-color: var(--light-gray);
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.screenshot {
    text-align: center;
    max-width: 250px;
}

.screenshot img {
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.screenshot h4 {
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: -5px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Download Section */
.download {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: var(--white);
    color: var(--black);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 10px;
}

.download-btn div {
    text-align: left;
}

.download-btn span:first-child {
    font-size: 0.7rem;
    display: block;
}

.download-btn span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer Section */
.footer {
    background-color: #222;
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-logo span {
    color: var(--primary-color);
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0;
}

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

.footer-column ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.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);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: var(--transition);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 0 0 20px;
    }

    .nav ul li:last-child {
        margin-bottom: 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .screenshot {
        margin-bottom: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 20px;
    }
}