:root {
    --brand-dark: #0F172A;
    --brand-accent: #3B82F6;
    --brand-accent-hover: #2563EB;
    --brand-light: #F8FAFC;
    --brand-muted: #64748B;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --error: #EF4444;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--brand-dark);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.max-w-4xl {
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.max-w-3xl {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* --- Components --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-dark:hover {
    background-color: var(--brand-accent);
}

.btn-dark-large {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.btn-dark-large:hover {
    background-color: var(--brand-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: var(--white);
    color: var(--brand-dark);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--brand-light);
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-muted);
    padding: 0.5rem;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--brand-dark);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-light { background-color: var(--brand-light); }
.bg-dark { background-color: var(--brand-dark); }
.text-white { color: var(--white); }
.text-accent { color: var(--brand-accent); }
.text-muted { color: var(--brand-muted); }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.relative { position: relative; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* --- Navbar --- */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-box {
    width: 2rem;
    height: 2rem;
    background-color: var(--brand-accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-inner {
    width: 1rem;
    height: 1rem;
    background-color: var(--white);
    border-radius: 2px;
    transform: rotate(45deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    font-family: 'Outfit', sans-serif;
}

.desktop-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-menu { display: flex; }
    .mobile-toggle { display: none; }
}

.desktop-menu a {
    font-size: 0.875rem;
    font-weight: 500;
}

.desktop-menu a:hover {
    color: var(--brand-accent);
}

.lang-divider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2rem;
    border-left: 1px solid var(--border);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-muted);
}

.lang-btn.active {
    color: var(--brand-accent);
}

.lang-btn:hover:not(.active) {
    color: var(--brand-dark);
}

#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border);
}

/* --- Hero --- */

#hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    #hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: 5rem;
    left: 2rem;
    width: 16rem;
    height: 16rem;
    background-color: var(--brand-accent);
    border-radius: 9999px;
    filter: blur(120px);
}

.glow-2 {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 24rem;
    height: 24rem;
    background-color: #60A5FA;
    border-radius: 9999px;
    filter: blur(150px);
}

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

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

@media (max-width: 767px) {
    .hero-grid { text-align: center; }
    .hero-btns { flex-direction: column; }
    .hero-features { justify-content: center; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #EFF6FF;
    color: var(--brand-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

#hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.hero-sub {
    font-size: 1.25rem;
    color: var(--brand-muted);
    margin-bottom: 2.5rem;
    max-width: 36rem;
}

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

.hero-features {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-muted);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: var(--brand-accent);
    width: 1rem;
    height: 1rem;
}

.hero-visual {
    position: relative;
    display: none;
}

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

.image-wrapper {
    aspect-ratio: 1;
    background-color: var(--brand-light);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 15rem;
    box-shadow: var(--shadow-lg);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.green { background-color: #DCFCE7; color: #16A34A; }
.icon-circle.blue { background-color: #EFF6FF; color: var(--brand-accent); }

/* --- Sections General --- */

h2 {
    font-size: 2rem;
}

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

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

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

.grid-4 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.problem-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.problem-card i { color: var(--error); flex-shrink: 0; }

.section-footer {
    margin-top: 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-accent);
}

/* --- Solution --- */

.solution-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

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

.solution-visual {
    position: relative;
    order: 2;
}

@media (min-width: 768px) {
    .solution-visual { order: 1; }
}

.solution-visual .image-wrapper {
    aspect-ratio: 16/9;
}

.floating-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.solution-content { order: 1; }
@media (min-width: 768px) { .solution-content { order: 2; } }

.subtitle {
    font-size: 1.25rem;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.desc {
    font-size: 1.125rem;
    color: var(--brand-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.check-circle {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #EFF6FF;
    color: var(--brand-accent);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-circle i { width: 0.875rem; height: 0.875rem; }

/* --- Benefits --- */

.benefit-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.benefit-card i {
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
    width: 2rem;
    height: 2rem;
}

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

.benefit-card p {
    color: var(--brand-muted);
}

/* --- Steps --- */

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 20%;
    right: 20%;
    height: 2px;
    border-top: 2px dashed var(--border);
    z-index: -1;
    display: none;
}

@media (min-width: 768px) {
    .steps-timeline::before { display: block; }
}

.step-card {
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background-color: var(--brand-accent);
    color: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

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

.step-card p {
    color: var(--brand-muted);
}

/* --- Services --- */

.service-card {
    padding: 2.5rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
}

.service-card i {
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--brand-muted);
    margin-bottom: 2rem;
}

/* --- Industries --- */

.industries-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

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

.industry-item {
    display: flex;
    gap: 1.5rem;
}

.industry-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #EFF6FF;
    color: var(--brand-accent);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.industry-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.visual-grid img {
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.aspect-3-4 { aspect-ratio: 3/4; }
.aspect-1-1 { aspect-ratio: 1/1; }

.pt-12 { padding-top: 3rem; }

/* --- About stats --- */

.accent-text {
    font-size: 1.5rem;
    color: var(--brand-accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-p {
    font-size: 1.25rem;
    color: var(--brand-muted);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-muted);
}

/* --- Contact --- */

.contact-layout {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr 1fr; }
}

.info-items {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item .label {
    font-size: 0.875rem;
    color: var(--brand-muted);
}

.info-item .value {
    font-weight: 700;
}

.features-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--brand-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: inline-block;
}

.features-box ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-box li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.features-box li i {
    color: var(--brand-accent);
    width: 1rem;
    height: 1rem;
}

.contact-form-container {
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    background-color: var(--brand-light);
}

@media (min-width: 768px) {
    .contact-form-container { padding: 3rem; }
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.icon-circle-large {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle-large.green { background-color: #DCFCE7; color: var(--success); }
.icon-circle-large i { width: 2.5rem; height: 2.5rem; }

.btn-link {
    background: none;
    border: none;
    color: var(--brand-accent);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

/* --- Footer --- */

#footer {
    background-color: var(--brand-light);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

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

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

.footer-desc {
    color: var(--brand-muted);
    max-width: 20rem;
}

.footer-links h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--brand-muted);
}

.footer-links a:hover {
    color: var(--brand-accent);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--brand-muted);
    font-weight: 500;
}

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

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

.hover-accent:hover { color: var(--brand-accent); }

.space-y-8 > * + * { margin-top: 2rem; }

/* --- Mobile Menu --- */

#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-10px);
    opacity: 0;
}

#mobile-menu.visible {
    display: flex !important;
    transform: translateY(0);
    opacity: 1;
}
