:root {
    --primary-color: #20958D;
    --primary-dark: #1a7a73;
    --primary-light: #25b0a6;
    --accent-color: #af52de; /* iOS system purple */
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f8f8;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --gray: #dddddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth; /* Enable smooth scrolling for the entire page */
}

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

.container, .legal-header .container, .legal-content .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

p {
    margin-bottom: 0.5rem;
}

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

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

section {
    padding: 15px 0;
}

/* Header & Navigation */
.hero {
    padding: 60px 0 20px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    padding: 20px 0 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-header .logo {
    font-size: 1.8rem;
    font-weight: 500;
}

.legal-header .logo {
    color: var(--white);
    padding: 0 0px;
}

.nav-links {
    display: flex;
    gap: 30px;
    padding: 0 0px;
}

.nav-links a, .legal-header .nav-links a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 15px;
}

.nav-links a:hover, .legal-header .nav-links a:hover {
    color: var(--gray-light);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-option {
    color: var(--white);
    text-decoration: none;
    padding: 3px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.language-option.active {
    font-weight: bold;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 4px;
    padding: 3px 8px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* App Icon */
.app-icon-container {
    margin-bottom: 10px;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 40px auto 0px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.2rem;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.cta-buttons img {
    transition: transform 0.3s ease;
}

.cta-buttons img:hover {
    transform: translateY(-3px);
}

/* About Section */
.about {
    background-color: var(--white);
    text-align: center;
    margin: 0;
}

.about h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background-color: var(--background-light);
    text-align: center;
    margin: 0;
}

.features h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Showcase Section */
.showcases {
    background-color: var(--white);
    text-align: center;
    margin: 0;
}

.showcases h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.showcase {
    margin-bottom: 5px;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 15px 0 10px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-app-icon {
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.footer-icon-img {
    /* Styles now inherited from standardized image styles */
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 10px 0;
}

.footer-links a {
    color: var(--white);
    padding: 0 10px;
}

/* Accent elements with iOS purple */
.feature-card:nth-child(even) .feature-icon {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 50px 0 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 10px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    footer {
        padding: 10px 0 5px;
    }
}

@media (min-width: 769px) {
    .footer-content {
        justify-content: space-between;
        text-align: left;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .footer-links, .footer-social {
        width: auto;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages */
.legal-header {
    padding: 0;
    height: auto;
    /* min-height: 80px; */
    display: flex;
    align-items: center;
    /* margin-bottom: 20px; */
    border-bottom: 1px solid rgba(32, 149, 141, 0.2);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.legal-header .container {
    /* width and max-width now inherited from shared container style */
}

.legal-header nav {
    position: relative;
    padding: 0;
    width: 100%;
}

.legal-header .nav-container {
    padding: 0 0;
    border-bottom: none;
    width: 100%;
}

.legal-header .logo {
    /* Styles now inherited from standardized logo styles */
}

.legal-header .nav-links a {
    /* Styles now inherited from standardized nav links styles */
}

.legal-header .nav-links a:hover {
    /* Styles now inherited from standardized nav links hover styles */
}

.legal-content {
    padding: 20px 0 60px;
}

.legal-content .container {
    /* width and max-width now inherited from shared container style */
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 2rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Standardize section heading styles */
.about h2, .features h2, .showcases h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Remove redundant margin declarations */
.about, .features, .showcases {
    text-align: center;
    margin: 0;
}

/* Remove redundant container margins */
.about .container {
    margin-top: 0;
    margin-bottom: 0;
}

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

/* Standardize image object-fit properties */
.app-icon-img, .footer-icon-img, .showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Adjust showcase-img to maintain its unique properties */
.showcase-img {
    height: auto;
    border-radius: 15px;
}

/* Clean up legal header styles */
.legal-header {
    padding: 0;
    height: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(32, 149, 141, 0.2);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.legal-header nav {
    position: relative;
    padding: 0;
    width: 100%;
}

.legal-header .nav-container {
    padding: 20px 0;
    border-bottom: none;
    width: 100%;
}

/* Standardize gradient backgrounds */
.hero, .legal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
} 