/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #f97316);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 0px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

header .logo-link {
    display: flex;
}

header .logo-link-mobile {
    display: none;
}

/* App Store Bar */
.app-store-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
}

.app-store-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-store-text {
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.app-store-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.app-store-mini-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-store-mini-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-store-mini-btn i {
    font-size: 1.1rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

header.scrolled {
    background: transparent;
    box-shadow: var(--shadow-md);
}

nav {
    padding: 0;
    background: 
color-mix(in oklab, var(--bg-primary) 40%, transparent);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 0px solid 
color-mix(in oklab, var(--bg-primary) 10%, transparent);
    border-bottom: 0px solid 
color-mix(in oklab, var(--primary-color) 10%, transparent);
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInDown 0.6s ease-out;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    height: 70px;
    width: auto;
}

.nav-right {
    display: none;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-links .logo-link {
    padding-bottom: 0;
}

header nav .logo {
    height: 40px;
    width: auto;
}

.footer-credit-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-credit-link:hover {
    text-decoration: underline;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

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

.nav-links li:first-of-type a:hover::after {
    width: 0;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 0.5rem;
}

.lang-btn-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.875rem;
    min-width: 60px;
}

.lang-btn-dropdown:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-btn-dropdown i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.lang-btn-dropdown.active i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.875rem;
}

.lang-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle { 
    display: none;
    font-size: 1.5rem; 
    color: var(--text-primary); 
    cursor: pointer; 
    transition: var(--transition);
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-menu-toggle:hover { 
    color: var(--primary-color); 
}

.mobile-menu-toggle .fa-bars-staggered,
.mobile-menu-toggle .fa-times {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle .fa-times {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-toggle.active .fa-bars-staggered {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.mobile-menu-toggle.active .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Section fade-in animations */
section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Disable fade-in for how-it-works section (uses slide-in animation instead) */
#how-it-works {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Disable fade-in for how-it-works-partners section (uses slide-in animation instead) */
#how-it-works-partners {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Stagger animation for sections */
section:nth-of-type(1).animate-in { transition-delay: 0s; }
section:nth-of-type(2).animate-in { transition-delay: 0.1s; }
section:nth-of-type(3).animate-in { transition-delay: 0.2s; }
section:nth-of-type(4).animate-in { transition-delay: 0.3s; }
section:nth-of-type(5).animate-in { transition-delay: 0.4s; }
section:nth-of-type(6).animate-in { transition-delay: 0.5s; }

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero Section */
#hero {
    padding: 8rem 0 6rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    transition: padding 0.3s ease-in-out;
    opacity: 1;
    transform: none;
}

/* Hero with app store bar */
#hero.with-app-store-bar {
    padding: 14rem 0 6rem;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1, .hero-text-partners h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text p, .hero-text-partners p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-content-partners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-partners {
    text-align: center;
}

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

.hero-image {
    width: 400px;
    height: auto;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

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

/* Features Section */
#features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

#features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Additional Features Section */
#additional-features {
    padding: 6rem 0;
    background: var(--bg-primary);
}

#additional-features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

#additional-features .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#additional-features .feature {
    padding: 2rem;
}

@media (min-width: 1200px) {
    #additional-features .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    #additional-features .feature {
        padding: 1.5rem;
    }
}

/* How It Works Section */
#how-it-works {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: white;
}

#how-it-works h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

#how-it-works-partners {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: white;
}

#how-it-works-partners h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1400px) {
    #how-it-works-partners .steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    .steps {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.step {
    text-align: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    padding: 0.25rem;
}

.step-image-container {
    border-radius: 40px;
    border: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    display: flex;
    position: relative;
    overflow: hidden;
    max-width: 300px;
}

.step-image-container::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 15px;
    z-index: 2;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--bg-dark);
}

.step-image-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 5px;
    background: var(--text-primary);
    border-radius: 3px;
    z-index: 3;
}

.step-image {
    max-width: 300px;
    height: auto;
    border-radius: 40px;
    border: 7px solid var(--bg-dark);
    width: 100%;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.step h3 {
    color: white;
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
}

/* Download Section */
#download {
    padding: 6rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

#download h2 {
    color: var(--text-primary);
    margin-bottom: 3rem;
}

#download p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.app-store-btn i {
    font-size: 2rem;
    color: var(--primary-color);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

#partner {
    padding: 6rem 0 1rem;
    background: var(--bg-primary);
}

#partner h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

#partner > .container > p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#partner h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

#partner h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

#partner > .container > p {
    text-align: center;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

#contact.partner-contact-section {
    padding: 0 0 6rem;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

#contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

#contact > .container > p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0rem;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Add red star after label for required fields */
.form-group label.required::after {
    content: ' *';
    color: #ef4444;
    font-weight: 600;
    margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required-fields-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: fadeInUp 0.3s ease-out;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

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

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

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section-title {
    color: white;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.footer-logo {
    height: 125px;
    margin-bottom: 1rem;
}

.footer-section-logos {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.footer-logo-anpc {
    height: 35px;
    width: auto;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-section .social-links i {
    margin-right: 0px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    header .logo-link-mobile {
        display: flex;
    }

    .nav-links {
        justify-content: start;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        padding: 3rem 0 2rem;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links.show {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 2rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        padding: 0;
    }

    .nav-right {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    header .logo-link {
        display: none;
    }
}

@media (min-width: 901px) {
    nav .nav-links {
        flex: 1;
        justify-content: space-between;
        width: 100%;
        font-size: 12px;
        gap: 0;
    }

    nav .lang-btn-dropdown {
        font-size: 12px;
    }

    nav .lang-btn-dropdown i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer-section-logos {
        justify-content: center;
        align-items: center;
    }
    .container {
        padding: 0 1rem;
    }
    
    .app-store-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .app-store-text {
        font-size: 0.9rem;
    }
    
    .app-store-buttons {
        gap: 0.5rem;
    }
    
    .app-store-mini-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .close-btn {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        width: 250px;
    }
    
    .floating-card {
        position: static;
        margin: 1rem auto;
        width: fit-content;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }

    .step-image-container::before {
        top: 14px;
        width: 35%;
        height: 25px;
    }

    .step-image-container::after {
        top: 23px;
        width: 15%;
    }
    
    .app-stores {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature {
        padding: 2rem;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation for language switching */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Privacy Policy Page Styles */
.privacy-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.privacy-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.privacy-header h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.privacy-header .last-updated {
    color: var(--text-secondary);
    font-style: italic;
}

.privacy-content {
    line-height: 1.8;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.privacy-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.privacy-content .contact-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin: 1.5rem 0;
}

.privacy-content .contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.privacy-content .contact-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.back-link i {
    transition: var(--transition);
}

.back-link:hover i {
    transform: translateX(-3px);
}

.divider {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Privacy page main styling */
.privacy-main {
    padding-top: 6rem;
    background: var(--bg-secondary);
    min-height: 100vh;
}

/* Partners page main styling */

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

.partner-image-container {
    width: 100%;
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-image {
    width: 100%;
    height: 100%;
    max-width: 350px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Privacy page responsive styles */
@media (max-width: 768px) {
    .privacy-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .privacy-content h2 {
        font-size: 1.25rem;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-consent-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-consent-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    margin-right: auto;
}

.cookie-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

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

.cookie-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cookie-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1.25rem 1rem;
    }
    
    .cookie-consent-content {
        gap: 1.25rem;
    }
    
    .cookie-consent-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.9rem;
    }
    
    .cookie-consent-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-link {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Partner Section Styling */
#contact h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

#contact h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

#contact > .container > p {
    text-align: center;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: white;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item > div {
    flex: 1;
}

.benefit-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.gains-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
}

.gains-list li {
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gains-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: white;
    border-left-color: var(--primary-color);
}

.gains-list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.partner-cta {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 3rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--border-radius);
    border: 0px;
}

/* Responsive styles for partner section */
@media (max-width: 768px) {
    #contact h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
    
    #contact h4 {
        font-size: 1.25rem;
        margin: 2rem 0 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .benefit-icon {
        align-self: flex-start;
    }
    
    .gains-list {
        grid-template-columns: 1fr;
    }
    
    .partner-cta {
        font-size: 1.1rem;
        padding: 1.25rem;
        margin: 2rem 0 1.5rem;
    }
}

/* FAQ Section */
#faq {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

#faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-top: 0.5rem;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    #faq {
        padding: 4rem 0;
    }
    
    #faq h2 {
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
} 