/* Global Styles */
:root {
    --primary-color: #36B37E;
    --secondary-color: #2D9CDB;
    --dark-color: #1A3D7C;
    --light-color: #F7FAFC;
    --text-color: #1E293B;
    --light-text: #FFFFFF;
    --background-color: #FFFFFF;
    --grey-color: #F1F5F9;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, #36B37E, #2D9CDB);
    --border-radius: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 60px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.7;
}

img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

section {
    padding: 100px 0;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.primary {
    background: var(--gradient);
    color: #fff;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn.secondary:hover {
    background-color: var(--grey-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 42px;
    margin-right: 12px;
    border-radius: 10px;
}

.logo-text {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #EFF6FF, #F7FAFC);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(54, 179, 126, 0.1), rgba(45, 156, 219, 0.1));
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    color: var(--dark-color);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #64748B;
}

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

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 80%;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Features Section */
.features {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(54, 179, 126, 0.1), rgba(45, 156, 219, 0.1));
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-card i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: inline-block;
}

/* App Preview Section */
.app-preview {
    text-align: center;
    padding: 120px 0;
}

.screenshots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.scroll-btn {
    background: var(--gradient);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-left {
    left: 5%;
}

.scroll-right {
    right: 5%;
}

.screenshots-slider {
    display: flex;
    overflow-x: hidden;
    gap: 30px;
    padding: 40px 60px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 90%;
    margin: 0 auto;
    scroll-behavior: smooth;
}

.screenshots-slider::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: center;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.screenshot:hover {
    transform: scale(1);
}

.screenshot img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 520px;
    object-fit: cover;
    border: 5px solid white;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--grey-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(54, 179, 126, 0.1), rgba(45, 156, 219, 0.1));
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(54, 179, 126, 0.1);
    line-height: 1;
}

.user-rating {
    color: #FFCB47;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card h4 {
    color: var(--dark-color);
    font-weight: 600;
}

/* Download Section */
.download {
    text-align: center;
    background: var(--gradient);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 2;
}

.download h2, .download p {
    color: var(--light-text);
}

.download h2::after {
    background: white;
}

.download p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.download .btn.primary {
    background-color: #fff;
    color: var(--dark-color);
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.download .btn.primary i {
    font-size: 1.4rem;
}

.download .btn.primary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 80px 0 30px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.footer-logo p {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 3px;
    width: 40px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 10px;
    max-width: 300px;
}

.footer-links a i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.15);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1100px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        padding-right: 40px;
    }
    
    .hero-image img {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 70%;
    }
    
    .logo-text {
        display: none;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    nav ul {
        display: none;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .feature-card, .testimonial-card {
        padding: 30px 20px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .download .btn.primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .testimonial-card, .hero-content, .hero-image {
    opacity: 0;
}

/* Header Scroll Effects */
header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
}

header.shadow-stronger {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

/* Active Navigation Link */
nav ul li a.active {
    color: var(--primary-color);
}

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

/* Screenshot Navigation Button States */
.scroll-btn.faded {
    opacity: 0.5;
    pointer-events: none;
}

/* Screenshot Slider Active State */
.screenshots-slider.active {
    cursor: grabbing;
}

/* Footer description */
.footer-desc {
    opacity: 0.8;
    font-size: 0.95rem;
    max-width: 300px;
}

/* Added animations */
.hero-image img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-2deg) translateY(-15px);
    }
    100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0px);
    }
}

.feature-card:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.btn:active {
    transform: scale(0.98);
}

.screenshot img {
    transition: all 0.3s ease;
}

.screenshot:hover img {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
} 