:root {
    --primary-color: #18cc97;
    --primary-dark: #18cc97;
    --secondary-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-light: #e2e8f0;
    --gray-medium: #cbd5e1;
    --gray-dark: #94a3b8;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

#socials {
  text-align: center;
  margin: 40px 0;
}

#socials h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-link img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}


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

/* Prevent text size adjustment on mobile */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Better tap highlighting on mobile */
* {
    -webkit-tap-highlight-color: rgba(24, 204, 151, 0.1);
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.no-scroll, html.no-scroll body { overflow: hidden; height: 100%; }

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

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn, .mobile-menu-toggle, .faq-question, .profile-icon {
        min-height: 44px;
        min-width: 44px;
    }
    
    .main-nav a, .mobile-menu a {
        padding: 0.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

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

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

.btn-login {
    background-color: transparent;
    color: var(--text-color);
    margin-right: 1rem;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* ensure absolute mobile menu anchors properly */
}

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

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 1rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--white);
    padding: 1rem 1.25rem 2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-light);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    animation: slideDown 0.25s ease;
    z-index: 999; /* above header contents */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* Ensure show state works regardless of media query sizing (fix for some mobile browsers) */
.mobile-menu.show { display: block; }

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
}

.mobile-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    padding: 0.5rem;
}

.mobile-menu .btn {
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

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

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testimonial.active {
    display: block;
}

.stars {
    color: #f59e0b;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-color);
}

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

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-prev, .slider-next {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-medium);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-question {
    background-color: var(--secondary-color);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: #1e293b;
    color: var(--white);
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #334155;
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.language-selector select {
    width: 100%;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    background-color: #334155;
    color: var(--white);
    border: none;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Styles */
    .header {
        padding: 0.75rem 0;
    }
    
    .header .container {
        gap: 0.75rem;
    }
    
    /* Logo sizing for mobile */
    .logo img {
        max-width: 128px;
        height: auto !important;
        width: auto !important;
    }
    
    .header-buttons {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        padding: 0.5rem;
        margin: 0;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .mobile-menu ul li a.btn {
        display: block;
        text-align: center;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 2rem 0;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-image {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Benefits Section Mobile */
    .benefits {
        padding: 3rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* How It Works Mobile */
    .how-it-works {
        padding: 3rem 0;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* FAQ Mobile */
    .faq {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* CTA Mobile */
    .cta {
        padding: 3rem 0;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    
    .footer-col:first-child {
        display: none;
    }
    
    /* Profile Menu Mobile */
    .profile-dropdown {
        top: 45px;
        width: 160px;
    }
    
    .profile-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Typography Mobile */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    /* Header Mobile Small */
    .logo img {
        max-width: 108px;
        height: auto !important;
        width: auto !important;
    }
    
    .header .container {
        gap: 0.5rem;
    }
    
    .header-buttons {
        display: none;
    }
    
    .profile-icon {
        font-size: 1.3rem;
    }
    
    /* Hero Mobile Small */
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-login {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    /* Benefits Mobile Small */
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.95rem;
    }
    
    /* Steps Mobile Small */
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.95rem;
    }
    
    /* Footer Mobile Small */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* CTA Mobile Small */
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    /* Container Padding Mobile Small */
    .container {
        padding: 0 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    .logo img {
        max-width: 92px;
    }
    
    .header .container {
        gap: 0.4rem;
    }
    
    .header-buttons {
        display: none;
    }
    
    .profile-icon {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

html {
    overflow-y: scroll; /* This forces the scrollbar to always be present */
    width: 100%;
}

body {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}