/* Base Styles */
:root {
	/* Poster-inspired palette */
	--primary-color: #0e6655; /* deep green */
	--secondary-color: #f28b50; /* softer warm orange */
	--accent-color: #f2b5a8; /* soft coral accent */
	--light-color: #fffaf4; /* lighter warm cream, closer to white */
	--dark-color: #1f2933; /* dark navy-ish text */
	--text-color: #2b2b2b;
	--text-light: #6c757d;
	--white: #ffffff;
	--box-shadow: 0 4px 6px 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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--light-color);
	overflow-x: hidden;
	position: relative;
}

/* Top and bottom abstract waves inspired by the poster */
body::before,
body::after {
	content: '';
	position: fixed;
	left: 0;
	width: 100%;
	height: 180px;
	z-index: -1;
	pointer-events: none;
}

body::before {
	top: 0;
	background: radial-gradient(circle at 0% 0%, rgba(14, 102, 85, 0.55) 0, transparent 55%),
		radial-gradient(circle at 80% 0%, rgba(242, 181, 168, 0.8) 0, transparent 60%);
	clip-path: ellipse(120% 60% at 50% 0%);
}

body::after {
	bottom: 0;
	background:
		radial-gradient(circle at 10% 100%, rgba(14, 102, 85, 0.75) 0, transparent 55%),
		radial-gradient(circle at 90% 100%, rgba(242, 139, 80, 0.9) 0, transparent 60%);
	clip-path: ellipse(130% 90% at 50% 100%);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark-color);
}

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

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn.primary:hover {
	background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.btn.secondary:hover {
	background-color: var(--secondary-color);
	color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Navbar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 5%;
	background-color: rgba(255, 246, 233, 0.9);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

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

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
	color: var(--secondary-color);
}

.language-switcher {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: 1.5rem;
	font-size: 0.9rem;
}

.language-switcher a {
	color: var(--dark-color);
	transition: var(--transition);
}

.language-switcher a:hover {
	color: var(--primary-color);
}

.footer-languages {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: rgba(255, 255, 255, 0.8);
}

.lang-option {
	color: inherit;
	opacity: 0.85;
}

.lang-option.active {
	font-weight: 600;
	opacity: 1;
}

.lang-separator {
	opacity: 0.6;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
	display: flex;
	min-height: 100vh;
	align-items: center;
	padding: 100px 5% 5%;
	background-color: transparent;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--dark-color);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-screens {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	width: 100%;
	max-width: 720px;
}

.hero-screen {
	position: relative;
	width: 32%;
	height: auto;
	border-radius: 24px;
	background: transparent;
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.hero-screen-main {
	transform: scale(1.05);
	z-index: 2;
}

.hero-screen-left {
	transform: translateX(8%) rotate(-4deg) scale(0.95);
	opacity: 0.85;
}

.hero-screen-right {
	transform: translateX(-8%) rotate(4deg) scale(0.95);
	opacity: 0.85;
}

.hero-screens:hover .hero-screen-main {
	transform: scale(1.08) translateY(-4px);
	box-shadow: 0 24px 36px rgba(0, 0, 0, 0.22);
}

/* Features Section */
.features {
	padding: 6rem 5%;
	background-color: transparent;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.feature-card i {
	font-size: 3rem;
	color: var(--secondary-color);
	margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* How It Works Section */
.how-it-works {
	padding: 6rem 5%;
	background-color: rgba(255, 246, 233, 0.8);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

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

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    text-align: left;
    min-width: 180px;
}

.app-store-btn i,
.play-store-btn i {
    font-size: 1.8rem;
    margin-right: 10px;
}

.app-store-btn:hover,
.play-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-store-btn div,
.play-store-btn div {
    display: flex;
    flex-direction: column;
}

.app-store-btn span,
.play-store-btn span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-store-btn strong,
.play-store-btn strong {
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-page {
    padding: 150px 5% 5%;
    background-color: var(--light-color);
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.legal-page .last-updated {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 2.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.legal-page h2 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.legal-page h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark-color);
}

.legal-page p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.legal-page li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links 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: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-languages {
	margin-top: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: rgba(255, 255, 255, 0.8);
}

.lang-option {
	color: inherit;
	opacity: 0.85;
}

.lang-option.active {
	font-weight: 600;
	opacity: 1;
}

.lang-separator {
	opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn.secondary {
        margin-left: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 300px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-btn,
    .play-store-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features h2,
    .how-it-works h2,
    .download h2 {
        font-size: 2rem;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
    }
}
