
:root {
    --bg-grain: #f8e4cd;
    --text-main: #111827;
    --text-muted: #4b5563;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --surface: #ffffff;
    --border: #e5e7eb;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}
.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: #d1d5db;
}

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

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo svg { width: 32px; height: 32px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-selector {
    position: relative;
    display: inline-block;
}
.lang-btn {
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s;
}
.lang-btn svg { width: 16px; height: 16px; }

.lang-btn:hover, .lang-selector.active .lang-btn {
    background-color: rgba(0,0,0,0.03);
    border-color: #d1d5db;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 200;
}

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

@media (hover: hover) {
    .lang-selector:hover .lang-btn {
        background-color: rgba(0,0,0,0.03);
        border-color: #d1d5db;
    }
    .lang-selector:hover .lang-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.lang-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}
.lang-menu a:hover {
    background: rgba(0,0,0,0.03);
    color: var(--primary);
}
.lang-menu a:first-child { border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; }
.lang-menu a:last-child { border-radius: 0 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px); }
.lang-menu a.active {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.hero-wrapper {
    position: relative;
    background: linear-gradient(180deg, var(--bg-grain) 0%, rgba(248, 228, 205, 0.6) 100%);
    padding-top: 10rem;
    padding-bottom: 12rem;
}

.grain-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.0' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 110px;
}

.wave-divider .shape-fill {
    fill: var(--surface);
}

.hero {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4rem;
}
.hero-content { flex: 1; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 500px; height: auto; }
.hero-buttons { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.cards-section {
    position: relative;
    z-index: 20;
    margin-top: -6rem;
    padding-bottom: 6rem;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.card-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    flex-shrink: 0;
}
.card-icon svg { width: 32px; height: 32px; fill: var(--primary); flex-shrink: 0; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.zigzag-section { padding: 6rem 0; }
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-text { flex: 1; }
.zigzag-image { flex: 1; display: flex; justify-content: center; }
.zigzag-image img { width: 100%; max-width: 500px; height: auto; }

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-radius: 999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.features-grid-section { background-color: #f9fafb; padding: 8rem 0; }
.features-grid-header { text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem 2rem;
}
.feature-item { display: flex; gap: 1.25rem; }
.feature-emoji { font-size: 2.5rem; line-height: 1; flex-shrink: 0; }
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.95rem; margin-bottom: 0; }

.data-flow-section { padding: 8rem 0; text-align: center; }
.flow-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}
.flow-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.flow-step .emoji { font-size: 2rem; }
.flow-content h4 { margin-bottom: 0.25rem; font-size: 1.125rem; }
.flow-content p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-muted); }

.cta-section {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, rgba(79, 70, 229, 0.05) 100%);
}
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 2.5rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

footer {
    background-color: #111827;
    color: white;
    padding: 6rem 0 3rem 0;
    text-align: center;
}

.footer-support {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    backdrop-filter: blur(10px);
}
.footer-support h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}
.footer-support-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-support-links a {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.footer-support-links .btn-pro {
    background: var(--primary);
    color: white;
}
.footer-support-links .btn-pro:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}
.footer-support-links .btn-adv {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.footer-support-links .btn-adv:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.footer-transparent-privacy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.2s;
}
.footer-transparent-privacy:hover {
    color: var(--primary);
}
.footer-transparent-privacy svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.footer-bottom p { color: #9ca3af; font-size: 0.875rem; margin-bottom: 0; }

.footer-legal-links {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
.footer-legal-links a { transition: color 0.2s; }
.footer-legal-links a:hover { color: #d1d5db; }

@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { margin-top: 2rem; }
    .hero-wrapper { padding-top: 8rem; padding-bottom: 6rem; }
    
    .zigzag-row { flex-direction: column; gap: 3rem; margin-bottom: 6rem; text-align: center; }
    .zigzag-text { order: 1; }
    .zigzag-image { order: 2; }
    
    .feature-item { flex-direction: column; align-items: center; text-align: center; }
}

@media (min-width: 993px) {
    .zigzag-row:nth-child(even) .zigzag-text { order: 2; padding-left: 3rem; }
    .zigzag-row:nth-child(even) .zigzag-image { order: 1; }
    .zigzag-row:nth-child(odd) .zigzag-text { padding-right: 3rem; }
}

.mt-20{
    margin-top: 20px;
}
