/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --bg-light: #f8faff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    padding-top: 80px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.01em; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.nav-logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.nav-logo h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.nav-links a.login-link {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.btn-primary {
    color: white !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.nav-links.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-links.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-links.mobile-menu a,
.nav-links.mobile-menu .user-menu {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    text-align: left;
}

.nav-links.mobile-menu a:last-child,
.nav-links.mobile-menu .user-menu {
    border-bottom: none;
}

.nav-links.mobile-menu .user-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
}

.user-menu .user-email-nav {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.user-menu .logout-btn-nav {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu .logout-btn-nav:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-light);
}

.btn-large {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-main-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Trust Bar */
.trust-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,102,255,0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card-content {
    flex: 1;
}

.tech-highlights {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

.card-actions {
    margin-top: 2rem;
}

/* Features Grid */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.glossary-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.glossary-item:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

.glossary-item dt {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Pricing */
.innovations {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-card-main {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    text-align: center;
}

.pricing-country {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tier-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .unit {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
    width: 100%;
    justify-items: start;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 0.75rem 0;
    min-height: 2.5rem;
}

.pricing-features svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

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

/* Form responsiveness */
@media (max-width: 768px) {
    .form-group input, .form-group textarea, .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Auth container responsiveness */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem !important;
    }

    .auth-card {
        padding: 2rem !important;
        margin: 0 !important;
    }

    .auth-header h1 {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem !important;
    }

    .auth-header h1 {
        font-size: 1.5rem !important;
    }

    .form-group input, .form-group textarea, .form-group select {
        padding: 0.75rem !important;
    }
}

/* FAQ */
.vision {
    padding: 100px 0;
    background: var(--white);
}

.about-summary {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.about-summary article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
}

.about-summary h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-align: center;
    letter-spacing: -0.01em;
}

.about-summary p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.about-summary p:last-child {
    margin-bottom: 0;
}

.about-summary strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo-lockup img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.footer-logo-lockup h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.footer-social a {
    color: #94a3b8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-lockup {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
        max-width: 400px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: center;
        width: 100%;
    }

    .footer-col a {
        display: block;
        padding: 0.75rem 1rem;
        margin-bottom: 0;
        transition: background-color 0.2s ease;
    }

    .footer-col a:hover {
        padding-left: 1rem;
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Responsive Header Improvements */
@media (max-width: 1024px) {
    .nav-logo h1 {
        font-size: 1.125rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual img {
        max-width: 450px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .contact-visual {
        order: 2;
    }

    .contact-image {
        max-width: 400px;
    }

    /* Services section */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    /* Pricing improvements */
    .pricing-card-main {
        padding: 3rem;
    }

    .pricing-tiers {
        gap: 2rem;
    }

    .pricing-features ul {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
        margin: 1.5rem 0 2rem 0;
    }

    .pricing-features li {
        gap: 10px;
        padding: 0.6rem 0;
        min-height: 2.2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .container {
        padding: 0 20px;
    }

    /* Header improvements */
    .nav {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo h1 {
        font-size: 1.1rem;
    }

    .nav-logo img {
        width: 28px !important;
        height: 28px !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none; /* Hide nav-links by default on mobile */
    }

    .nav-links.mobile-menu {
        display: flex; /* Show when mobile menu is active */
    }

    /* Hero section */
    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    .hero-visual img {
        max-width: 350px;
        width: 100%;
    }

    /* Trust bar */
    .trust-bar {
        padding: 2rem 0;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Services section */
    .products {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

    /* Features grid */
    .glossary-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .glossary-item {
        padding: 1.5rem;
    }

    /* How it works section */
    .products-grid:has(.step-card) {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .step-card {
        padding: 2rem 1.5rem !important;
    }

    /* Pricing */
    .innovations {
        padding: 60px 0;
    }

    .pricing-card-main {
        padding: 2rem;
        margin: 0 1rem;
    }

    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-features ul {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 2.5rem 0;
    }

    .pricing-features li {
        gap: 10px;
        padding: 0.6rem 0;
        font-size: 0.9rem;
        min-height: auto;
    }

    /* FAQ section */
    .vision {
        padding: 60px 0;
    }

    .about-summary {
        padding: 60px 0;
    }

    .about-summary article {
        padding: 2.5rem;
    }

    .about-summary h2 {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .about-summary p {
        font-size: 0.95rem;
        text-align: left;
    }

    /* Contact section */
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .contact-image {
        max-width: 300px;
        width: 100%;
    }
}
}

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .container {
        padding: 0 16px;
    }

    /* Header */
    .header {
        padding-top: 0;
    }

    .nav {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo h1 {
        font-size: 1rem;
    }

    .nav-logo img {
        width: 24px !important;
        height: 24px !important;
        margin-right: 8px !important;
    }

    .hamburger {
        width: 20px;
        height: 16px;
    }

    .hamburger-line {
        height: 1.5px;
    }

    /* Hero section */
    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 1rem;
        padding-top: 1rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-visual img {
        max-width: 280px;
        margin-top: 1rem;
    }

    /* Trust bar */
    .trust-bar {
        padding: 1.5rem 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-item {
        text-align: center;
        padding: 1rem;
    }

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

    /* Services section */
    .products {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .card-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    .product-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .tech-highlights {
        gap: 0.375rem;
    }

    .highlight-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Features grid */
    .features-grid-section {
        padding: 60px 0;
    }

    .glossary-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .glossary-item {
        padding: 1.25rem;
    }

    .glossary-item dt {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .glossary-item dd {
        font-size: 0.9rem;
    }

    /* How it works */
    .how-it-works {
        padding: 60px 0;
    }

    .step-card {
        padding: 1.5rem 1rem !important;
    }

    .step-number {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    /* Pricing */
    .innovations {
        padding: 40px 0;
    }

    .pricing-card-main {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .pricing-country {
        font-size: 0.8rem;
        padding: 4px 12px;
        margin-bottom: 1.5rem;
    }

    .pricing-tiers {
        gap: 1.5rem;
    }

    .tier-label {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .pricing-price {
        gap: 2px;
    }

    .pricing-price .currency {
        font-size: 1.25rem;
        margin-top: 0.25rem;
    }

    .pricing-price .amount {
        font-size: 2.25rem;
    }

    .pricing-price .unit {
        font-size: 0.9rem;
    }

    .pricing-features ul {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 1.5rem 0 2rem 0;
    }

    .pricing-features li {
        font-size: 0.9rem;
        gap: 10px;
        padding: 0.5rem 0;
        min-height: auto;
    }

    .pricing-footer {
        margin-top: 1.5rem;
    }

    .pricing-footer .btn-primary {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }

    /* FAQ */
    .vision {
        padding: 40px 0;
    }

    .vision .section-header h2 {
        font-size: 1.75rem;
    }

    .about-summary {
        padding: 40px 0;
    }

    .about-summary article {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .about-summary h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .about-summary p {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: left;
    }

    /* Contact */
    .contact {
        padding: 40px 0;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact p {
        font-size: 0.95rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-image {
        max-width: 250px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo-lockup {
        gap: 10px;
        justify-content: center;
    }

    .footer-logo-lockup img {
        width: 24px;
        height: 24px;
    }

    .footer-logo-lockup h3 {
        font-size: 1.25rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
        text-align: center;
        margin: 0 auto;
    }

    .footer-social {
        gap: 0.75rem;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .footer-social a {
        padding: 6px;
    }

    .footer-social svg {
        width: 18px;
        height: 18px;
    }

    .footer-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
        width: 100%;
    }

    .footer-col h4 {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .footer-col a {
        font-size: 0.85rem;
        margin-bottom: 0;
        padding: 0.75rem 1rem;
        display: block;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Dashboard responsiveness */
@media (max-width: 1024px) {
    .dashboard-main {
        padding: 1.5rem;
    }

    .dashboard-grid {
        gap: 1.5rem;
    }

    .sidebar {
        padding: 1.5rem;
    }

    .main-content {
        padding: 1.5rem;
    }
}

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

    .dashboard-main {
        padding: 1rem;
    }

    .sidebar {
        order: 2;
        padding: 1rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 0.5rem;
    }

    .sidebar {
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    /* Additional responsive improvements */
    .section-header {
        margin-bottom: 3rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .glossary-item dt {
        font-size: 1rem;
    }

    .glossary-item dd {
        font-size: 0.9rem;
    }
}

/* Tablet and small desktop improvements */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-wrapper {
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .glossary-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Static Pages (Privacy, Terms) Base Styles */
.privacy-policy,
.terms {
    background: var(--white);
}

.privacy-policy h1,
.terms h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.privacy-policy h2,
.terms h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: left;
}

.privacy-policy p,
.terms p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.privacy-policy ul,
.terms ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-policy ul ul,
.terms ul ul {
    margin: 0.75rem 0;
    padding-left: 2rem;
}

.privacy-policy li,
.terms li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.privacy-policy li::before,
.terms li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-policy ul ul li,
.terms ul ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.privacy-policy ul ul li::before,
.terms ul ul li::before {
    content: "◦";
    font-size: 1rem;
    left: 0.25rem;
}

.privacy-policy strong,
.terms strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Static Pages (Privacy, Terms) Responsiveness */
@media (max-width: 768px) {
    .privacy-policy section,
    .terms section {
        padding: 40px 0;
    }

    .privacy-policy h1,
    .terms h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .privacy-policy h2,
    .terms h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .privacy-policy li,
    .terms li {
        font-size: 0.95rem;
        padding-left: 1.75rem;
        margin-bottom: 0.85rem;
    }

    .privacy-policy p,
    .terms p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .privacy-policy section,
    .terms section {
        padding: 30px 0;
    }

    .privacy-policy h1,
    .terms h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .privacy-policy h2,
    .terms h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }

    .privacy-policy p,
    .terms p {
        font-size: 0.9rem;
    }
}

/* Enhanced Auth Pages Responsiveness */
@media (max-width: 640px) {
    .auth-container {
        padding: 1rem !important;
    }

    .auth-card {
        padding: 2rem 1.5rem !important;
        margin: 0 !important;
        border-radius: 16px !important;
    }

    .auth-header h1 {
        font-size: 1.75rem !important;
    }

    .auth-header p {
        font-size: 0.9rem !important;
    }

    .form-group label {
        font-size: 0.85rem !important;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }

    .btn-primary {
        padding: 0.875rem !important;
        font-size: 1rem !important;
    }

    .auth-links {
        padding-top: 1.5rem !important;
    }

    .auth-links p {
        font-size: 0.9rem !important;
    }

    /* Signup specific */
    .form-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .password-strength {
        font-size: 0.8rem !important;
    }

    .signup-form .form-group label {
        margin-bottom: 0.375rem !important;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 1rem !important;
    }

    .auth-header h1 {
        font-size: 1.5rem !important;
    }

    .auth-header p {
        font-size: 0.85rem !important;
    }

    .form-group input,
    .form-group select {
        padding: 0.7rem !important;
    }

    .btn-primary {
        padding: 0.8rem !important;
        font-size: 0.95rem !important;
    }
}

/* Additional Dashboard Improvements */
@media (max-width: 640px) {
    .dashboard-main {
        padding: 0.75rem !important;
    }

    .sidebar {
        padding: 1rem !important;
    }

    .sidebar-menu a {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .main-content {
        padding: 1rem !important;
    }

    .section-title {
        font-size: 1.25rem !important;
    }

    .profile-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .profile-card {
        padding: 1.25rem !important;
    }

    .profile-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .balance-amount {
        font-size: 1.75rem !important;
    }

    .api-info {
        padding: 0.875rem !important;
        font-size: 0.8rem !important;
        word-break: break-word !important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .hero {
        padding: 30px 0 20px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        max-width: 260px;
        padding: 0.7rem 0.875rem;
        font-size: 0.9rem;
    }

    .pricing-price .amount {
        font-size: 2rem;
    }

    .auth-card {
        padding: 1.25rem 0.875rem !important;
    }

    .dashboard-main {
        padding: 0.5rem !important;
    }

    .sidebar {
        padding: 0.875rem !important;
    }

    .main-content {
        padding: 0.875rem !important;
    }
}

/* Regulation Page Styles */
.regulation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.regulation-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.regulation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.regulation-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.regulation-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.exclusion-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.exclusion-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.exclusion-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.changes-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.changes-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-date {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    width: 45%;
    position: relative;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tech-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tech-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.example-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease;
}

.example-card:hover {
    transform: translateY(-2px);
}

.example-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.example-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Additional Regulation Page Styles */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}

.principle-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.principle-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.numeration-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.numeration-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.numeration-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.consent-framework .consent-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.consent-framework .consent-item h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.consent-framework .consent-item p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

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

.operators-obligations .operator-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.operators-obligations .operator-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.operators-obligations .operator-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.best-practices .practice-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.best-practices .practice-item h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.best-practices .practice-item p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}

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

.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mobile responsive for regulation page */
@media (max-width: 768px) {
    .regulation-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .exclusion-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .numeration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .consent-framework .consent-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .operators-obligations .operators-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .best-practices .practices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .examples-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .changes-timeline::before {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start !important;
        margin-left: 40px;
    }

    .timeline-item .timeline-content {
        text-align: left !important;
        width: calc(100% - 40px);
    }

    .timeline-date {
        left: 20px;
        transform: translateX(-50%);
    }

    .tech-implications {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
