/* Global Styles */
:root {
    --primary-color: #2a9d8f;
    --secondary-color: #264653;
    --accent-color: #e76f51;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --text-color: #4a4a4a;
    --border-radius: 12px;
    --box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #c65a40;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.learn-more {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
    position: relative;
    padding-bottom: 2px;
}

.learn-more::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.learn-more:hover::after {
    width: 100%;
}

.learn-more::before {
    content: "→";
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: var(--transition);
}

.learn-more:hover::before {
    right: -25px;
    opacity: 1;
}

/* Header */
header {
    padding: 1.5rem 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 45px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2.5rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    width: 100%;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, rgba(38, 70, 83, 0.05) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 70%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(800px) rotateY(0deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 10px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.download-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 111, 81, 0.05) 0%, rgba(231, 111, 81, 0.02) 70%);
    border-radius: 50%;
    z-index: 0;
}

.features > .container > p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(42, 157, 143, 0.1);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* App Showcase Section */
.app-showcase {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.app-showcase::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.08) 0%, rgba(42, 157, 143, 0.03) 70%);
    border-radius: 50%;
    z-index: 0;
}

.app-showcase .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    text-align: left;
}

.showcase-content h2::after {
    left: 0;
    transform: none;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.check-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.showcase-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.showcase-image img {
    max-width: 60%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: perspective(800px) rotateY(5deg);
    transition: transform 0.5s ease;
}

.showcase-image:hover img {
    transform: perspective(800px) rotateY(0deg);
}

.showcase-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 10px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Community Section */
.community {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L60,106.7C120,117,240,139,360,138.7C480,139,600,117,720,122.7C840,128,960,160,1080,154.7C1200,149,1320,107,1380,85.3L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.6;
}

.community .container {
    position: relative;
    z-index: 1;
}

.community h2 {
    color: white;
}

.community h2::after {
    background-color: var(--accent-color);
}

.community p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Download CTA Section */
.download-cta {
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.05) 0%, rgba(42, 157, 143, 0.02) 70%);
    border-radius: 50%;
    z-index: 0;
}

.download-cta .container {
    position: relative;
    z-index: 1;
}

.download-cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #bbb;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.03" d="M0,192L48,176C96,160,192,128,288,122.7C384,117,480,139,576,144C672,149,768,139,864,128C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.3;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .app-showcase .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content,
    .showcase-content {
        text-align: center;
    }
    
    .showcase-content h2 {
        text-align: center;
    }
    
    .showcase-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .benefits-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image img,
    .showcase-image img {
        max-width: 60%;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav li {
        margin: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-image img,
    .showcase-image img {
        max-width: 70%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        display: block;
        width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons .btn {
        margin-right: 0;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav li {
        margin: 0.5rem;
    }
    
    .hero-image img,
    .showcase-image img {
        max-width: 80%;
    }
} 