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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #ffffff;
    color: #212121;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1em;
}

a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b71c1c;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: all 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav {
    width: 100%;
}

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

@media (min-width: 640px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 1rem 2rem;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #b71c1c;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #424242;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d32f2f;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #bdbdbd;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background: transparent;
    color: #616161;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #d32f2f;
}

.lang-btn.active {
    color: #d32f2f;
}

.lang-divider {
    color: #9e9e9e;
}

/* Mobile Navigation */
.nav-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none;
    }
}

.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-btn-mobile {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #616161;
    background: transparent;
    transition: color 0.3s ease;
}

.lang-btn-mobile:hover {
    color: #d32f2f;
}

/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 0.5rem;
    color: #424242;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #d32f2f;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    gap: 0.75rem;
}

.nav-mobile-menu.active {
    display: flex;
}

.nav-link-mobile {
    display: block;
    color: #424242;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: #d32f2f;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(to bottom right, #d32f2f, #e53935, #f44336);
    color: #ffffff;
    padding: 4rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-decoration {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 0;
    right: 0;
    background-color: #f44336;
    mix-blend-mode: multiply;
}

.hero-decoration-2 {
    bottom: 0;
    left: 0;
    background-color: #ef5350;
    mix-blend-mode: multiply;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hero-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.hero-visual {
    display: none;
    position: relative;
    width: 100%;
    height: 24rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-visual {
        display: flex;
    }
}

.hero-visual-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-icon {
    font-size: 9rem;
}

.hero-float {
    position: absolute;
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

.hero-float-1 {
    top: 2rem;
    right: 2rem;
}

.hero-float-2 {
    bottom: 3rem;
    left: 2rem;
    animation-delay: 0.5s;
}

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

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .features {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #616161;
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #d32f2f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-number {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    background-color: #d32f2f;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}

.feature-card:hover .feature-number {
    background-color: #b71c1c;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #616161;
    line-height: 1.75;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #d32f2f;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-line {
    width: 100%;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f5f5f5, #ffffff);
}

@media (min-width: 768px) {
    .testimonials {
        padding: 6rem 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    border-left: 4px solid #d32f2f;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    color: #616161;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    font-size: 2.5rem;
}

.testimonial-name {
    font-weight: 700;
    color: #212121;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #d32f2f;
    font-weight: 600;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdbdbd;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    width: 32px;
    background-color: #d32f2f;
    border-radius: 9999px;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, #d32f2f, #e53935);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .cta {
        padding: 6rem 0;
    }
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-desc {
        font-size: 1.25rem;
    }
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #d32f2f;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
}

.cta-button:hover {
    background-color: #ffebee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.cta-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: #212121;
    color: #ffffff;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0;
    }
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col {
    max-width: 100%;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    font-size: 1.875rem;
}

.footer-desc {
    color: #bdbdbd;
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #bdbdbd;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-divider {
    border-top: 1px solid #424242;
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: #9e9e9e;
    font-size: 0.875rem;
}

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

.footer-bottom-links a {
    color: #9e9e9e;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Generic content sections */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.section-light {
    background-color: #ffffff;
}

.section-muted {
    background-color: #f5f5f5;
}

.section-columns {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .section-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e0e0;
}

.section-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #212121;
}

.section-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #616161;
}

.section-list li + li {
    margin-top: 0.5rem;
}

.section-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #616161;
}

/* Support section */
.support-section {
    background-color: #f5f7fb;
    padding: 4rem 0 5rem;
}

@media (min-width: 768px) {
    .support-section {
        padding: 5rem 0 6rem;
    }
}

.support-language-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #616161;
    margin-bottom: 1rem;
}

.support-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.support-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.support-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: #374151;
}

.support-icon {
    margin-right: 0.5rem;
}

.support-list a {
    color: #2563eb;
}

.support-list a:hover {
    color: #1d4ed8;
}

.support-ordered {
    margin: 0;
    padding-left: 1.25rem;
    color: #374151;
}

.support-ordered li + li {
    margin-top: 0.35rem;
}

.support-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.support-question {
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.15rem;
    color: #111827;
}

.support-answer {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.4rem;
}

/* Privacy Policy Section */
.privacy-language-block {
    margin-bottom: 3rem;
}

.privacy-language-block:last-child {
    margin-bottom: 0;
}

.privacy-language-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #d32f2f;
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-item {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d32f2f;
}

.privacy-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.privacy-item p {
    color: #616161;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.privacy-item p:last-child {
    margin-bottom: 0;
}

.privacy-update {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.95rem;
    color: #757575;
}

.privacy-item a {
    color: #d32f2f;
    font-weight: 500;
}

.privacy-item a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* Smooth transitions */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
