/* Variables */
:root {
    --primary-orange: #fbaf5d;
    --gradient-start: #fbaf5d;
    --gradient-end: #fb992f;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 
    position: relative;
}

/*
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}
*/

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 80vh;
}

.hero-content {
    width: auto;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    
}

.hero-subtitle1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 1.0;
}

.hero-subtitle2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 15px 20px;
    margin-bottom: 2rem;
    opacity: 1.0;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: auto;
    position: relative;
    text-align: center;
}

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

.hero-cat-image {
    /*width: 250px;*/
    width: 15rem;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto; 
    /*filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));*/
    border-radius: 3rem;
}

.hero-container-ad1 {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    flex-direction: column;
    display: grid;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem 2rem;
    min-height: 80vh;
}

.hero-content-ad1 {
    width: auto;
}

.hero-content-ad1 h1 {
    font-size: 3.0rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle1-ad1 {
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 1.0;
}


.app-badges {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
    width: auto;
}

.app-badges img {
    height: 4rem;
}

.app-badges svg {
    height: 4rem;
    width: auto;
}

.scroll-indicator {
    text-align: center;
    padding: 2rem 0;
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

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

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

.feature-card {
    text-align: center;
    background-color: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: 1rem;
    padding: 1rem 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

.feature-image {
    margin-bottom: 1rem;
}

.feature-image img {
    max-width: 100%;
    height: 70px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Story Section */
.story {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

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

.story-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Blog Section */
.recent-posts {
    padding: 5rem 0;
    background: var(--white);
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.post-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-card a {
    text-decoration: none;
    color: inherit;
}

.post-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.post-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-orange);
    font-weight: 500;
}

.blog-cta {
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s;
}

.button:hover {
    transform: scale(1.05);
}

/* Download CTA */
.download-cta {
    padding: 5rem 0;
    /*background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);*/
    text-align: center;
    color: var(--text-dark);
}

.download-cta .app-badges {
    display: flex;
    justify-content: center;
    /*gap: 1rem;*/
    /*margin: 2rem auto;*/
}

.download-cta .trial-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
    color: #ff0000 !important;
    background: rgba(255,255,255,0.2);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-container {
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Blog List Page */
.blog-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.blog-list {
    padding: 3rem 0;
}

.blog-post {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.blog-post h2 {
    margin-bottom: 1rem;
}

.blog-post h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: var(--primary-orange);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Single Blog Post */
.post-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.post-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 20px;
}

.post-content h2 {
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.post-content h3 {
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-light);
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3px;
    gap: 5px;
}

.lang-link, .lang-active {
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-active {
    /*background: var(--white);*/
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-link:hover {
    background: rgba(255,255,255,0.5);
}

