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

:root {
    --primary-color: #0f3d6b;
    --secondary-color: #164a7d;
    --accent-color: #5c6b7a;
    --accent-gradient: linear-gradient(135deg, #0f3d6b 0%, #164a7d 100%);
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f4f6f5;
    --bg-white: #ffffff;
    --border-color: #d1d9e0;
    --gradient-1: linear-gradient(135deg, #0f3d6b 0%, #164a7d 100%);
    --gradient-2: linear-gradient(135deg, #164a7d 0%, #2a5f8f 100%);
    --gradient-3: linear-gradient(135deg, #2a5f8f 0%, #94a3b8 100%);
    --gradient-hero: linear-gradient(135deg, #0c1929 0%, #0f3d6b 55%, #164a7d 100%);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 10px 28px rgba(15, 61, 107, 0.18);
    /* Fixed navbar offset (hero/anchor spacing). Overridden in mobile breakpoints. */
    --nav-offset: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-sm);
    z-index: 10001; /* Modal'ın üstünde olmalı (dil seçici için) */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

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

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

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 250px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

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

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

/* Language Selector */
.language-selector {
    position: relative;
    margin-right: 1rem;
    z-index: 10002; /* Modal'ın üstünde olmalı */
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    z-index: 10002; /* Modal'ın üstünde olmalı */
}

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

.lang-btn i:first-child {
    color: var(--accent-color);
}

.lang-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Dil kodu (TR / EN / AR) kırpılmasın; mobilde de görünsün */
.lang-btn #currentLang {
    flex-shrink: 0;
    min-width: 1.65rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.lang-dropdown.active ~ .lang-btn i:last-child {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10003; /* Modal'ın üstünde olmalı */
    overflow: hidden;
    pointer-events: none;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: var(--text-dark);
    pointer-events: auto;
}

.lang-option span {
    pointer-events: none;
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option.active {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 1.25rem;
}

/* RTL Support (Arabic) */
html[dir="rtl"],
body.rtl {
    direction: rtl;
}

html[dir="rtl"] .nav-menu,
body.rtl .nav-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content,
body.rtl .hero-content {
    direction: rtl;
}

html[dir="rtl"] .about-text,
body.rtl .about-text {
    text-align: right;
}

html[dir="rtl"] .contact-wrapper,
body.rtl .contact-wrapper {
    direction: rtl;
}

html[dir="rtl"] .form-group,
body.rtl .form-group {
    text-align: right;
}

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
body.rtl .form-group input,
body.rtl .form-group textarea {
    text-align: right;
}

html[dir="rtl"] .lang-dropdown,
body.rtl .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-option,
body.rtl .lang-option {
    text-align: right;
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-link,
html[dir="rtl"] .solution-link,
html[dir="rtl"] .blog-link,
body.rtl .service-link,
body.rtl .solution-link,
body.rtl .blog-link {
    flex-direction: row-reverse;
}

html[dir="rtl"] .section-header,
body.rtl .section-header {
    text-align: right;
}

html[dir="rtl"] .section-header--left,
body.rtl .section-header--left {
    text-align: right;
}

html[dir="rtl"] .section-header--left .section-subtitle,
body.rtl .section-header--left .section-subtitle {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .features-grid,
body.rtl .features-grid {
    direction: rtl;
}

html[dir="rtl"] .whatsapp-float,
body.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .whatsapp-tooltip,
body.rtl .whatsapp-tooltip {
    right: auto;
    left: 70px;
}

html[dir="rtl"] .whatsapp-tooltip::after,
body.rtl .whatsapp-tooltip::after {
    right: auto;
    left: -6px;
    border-left-color: transparent;
    border-right-color: var(--text-dark);
}

/* Language selector mobil ayarları yukarıdaki @media (max-width: 768px) bloğunda */

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    margin-top: var(--nav-offset);
    padding: 8rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(8, 20, 38, 0.88) 0%,
        rgba(15, 61, 107, 0.78) 45%,
        rgba(12, 35, 58, 0.82) 100%
    );
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 40rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: inherit;
    font-weight: inherit;
    line-height: normal;
    margin-bottom: 1.75rem;
    letter-spacing: normal;
}

.highlight {
    color: #e8f4fc;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-description {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
}


.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.65rem;
}

.section-header--left {
    text-align: left;
}

.section-header--left .section-subtitle {
    margin-left: 0;
    margin-right: auto;
}

/* Hero — referans sitelerdeki güçlü başlık hiyerarşisi */
.hero-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.hero-title .hero-display-line1 {
    display: block;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.hero-title .hero-display-line2 {
    display: block;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: #fff;
}

/* Güven / ekosistem şeridi */
.trust-strip {
    position: relative;
    z-index: 2;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.35rem 0;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.trust-strip-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    flex: 0 0 auto;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.trust-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

/* Odoo modül ızgarası */
.odoo-modules {
    padding: 5rem 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.odoo-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.odoo-mod-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.35rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.odoo-mod-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: var(--primary-color);
}

.odoo-mod-card i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.odoo-mod-card span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Uygulama süreci */
.process-section {
    padding: 5.5rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.process-track {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: none;
    padding: 0;
    margin: 0;
}

.process-step {
    position: relative;
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 1.75rem;
    padding: 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--primary-color);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin-bottom: 0.85rem;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 1024px) {
    .odoo-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .trust-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-badges {
        justify-content: flex-start;
    }

    .odoo-module-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-track {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    background: var(--bg-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-text {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.375rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: block;
}

.feature-item h4 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover .service-icon {
    border-color: #cbd5e1;
    background: #eef2f6;
}

.service-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.service-link:hover {
    gap: 1.25rem;
    color: var(--accent-color);
}

.service-link i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Solutions Section */
.solutions {
    background: var(--bg-light);
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.solution-item {
    display: flex;
    gap: 3rem;
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.solution-item:hover::before {
    transform: scaleY(1);
}

.solution-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.solution-number {
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--primary-color);
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.solution-item:hover .solution-number {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.solution-content {
    flex: 1;
}

.solution-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.solution-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.solution-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-link:hover {
    gap: 1.25rem;
    color: var(--accent-color);
}

.solution-link i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-link:hover i {
    transform: translateX(5px);
}

/* Apps Showcase */
.apps-showcase {
    background: white;
}

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

.app-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.app-card:hover {
    background: white;
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    width: 52px;
    height: 52px;
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.app-card:hover .app-icon {
    border-color: #cbd5e1;
    background: #eef2f6;
}

.app-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.app-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    opacity: 0.9;
}

.app-card h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
}


/* Technology Stack Section */
.tech-stack {
    background: var(--bg-light);
    padding: 6rem 0;
}

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

.tech-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.tech-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Özel icon renkleri */
.tech-item .fa-python {
    color: #3776AB;
}

.tech-item .fa-js-square {
    color: #F7DF1E;
}

.tech-item .fa-react {
    color: #61DAFB;
}

.tech-item .fa-node-js {
    color: #339933;
}

.tech-item .fa-docker {
    color: #2496ED;
}

.tech-item .fa-aws {
    color: #FF9900;
}

.tech-item .fa-google {
    color: #4285F4;
}

.tech-item .fa-database {
    color: #336791;
}

.tech-item:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.2);
}

.tech-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.125rem;
}


/* Blog Section */
.blog {
    background: var(--bg-white);
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.blog-card-hidden {
    display: none;
}

.blog-load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.blog-icon {
    width: 44px;
    height: 44px;
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

.blog-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 1rem;
    color: var(--primary-color);
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(4px);
}

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

/* References Section */
.references {
    background: var(--bg-light);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.reference-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.reference-quote {
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.2;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.reference-text {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-style: normal;
}

.reference-author {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.reference-logo {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-card:hover .reference-logo {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.reference-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.reference-role {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.reference-rating {
    color: #FFD700;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item .fa-whatsapp {
    color: #25D366 !important;
    -webkit-text-fill-color: #25D366 !important;
    background: none !important;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Footer */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: lowercase;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-section ul li i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

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

    .hero-text {
        max-width: none;
    }

    .hero-video {
        object-position: center center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        /* iOS Safari'de fixed navbar biraz daha yüksek görünebiliyor */
        --nav-offset: 88px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 0;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
        /* Mobilde navbar'ın kırılıp yüksekliğinin değişmesi menüyü bozuyordu */
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .logo {
        flex: 0 0 auto;
        min-width: 0;
    }

    .logo-img {
        height: 50px;
        max-width: 140px;
    }

    .nav-actions {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 0.5rem;
        min-width: 0;
    }

    .language-selector {
        margin-right: 0;
        flex: 0 0 auto;
    }

    .lang-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        min-width: auto;
    }

    .lang-btn i:first-child {
        font-size: 0.875rem;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
        padding: 0.5rem;
        font-size: 1.25rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: calc(var(--nav-offset) + env(safe-area-inset-top) + 16px) 0 2rem; /* navbar alanı kadar boşluk */
        gap: 1.5rem;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 10000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1.05rem;
    }

    .hero {
        margin-top: calc(var(--nav-offset) + env(safe-area-inset-top));
        padding: 4.5rem 0 3rem;
        min-height: 80vh;
    }

    .hero-video-overlay {
        background: linear-gradient(
            135deg,
            rgba(30, 64, 175, 0.9) 0%,
            rgba(59, 130, 246, 0.85) 50%,
            rgba(6, 182, 212, 0.9) 100%
        );
    }

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

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

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

    .features-grid,
    .services-grid,
    .apps-grid,
    .references-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }


    .solution-item {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem;
    }

    .solution-item:hover {
        transform: translateY(-5px);
    }

    .solutions-list {
        gap: 1.75rem;
    }

    .solution-number {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    .solution-content p,
    .service-card p,
    .hero-description,
    .contact-item p,
    .reference-text,
    .blog-card p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 0;
    }

    .contact-wrapper {
        gap: 2.5rem;
    }

    .contact-info h3 {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .contact-item {
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-offset: 84px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-wrapper {
        padding: 0.6rem 0;
    }

    .logo-img {
        height: 45px;
        max-width: 120px;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }

    .lang-btn i:first-child {
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .mobile-menu-toggle {
        font-size: 1.1rem;
        padding: 0.4rem;
    }

    .nav-menu {
        padding-top: 80px;
    }

    .hero {
        margin-top: calc(var(--nav-offset) + env(safe-area-inset-top));
        padding: 3.5rem 0 2.5rem;
        min-height: 70vh;
    }

    .hero-video-overlay {
        background: linear-gradient(
            135deg,
            rgba(30, 64, 175, 0.95) 0%,
            rgba(59, 130, 246, 0.9) 50%,
            rgba(6, 182, 212, 0.95) 100%
        );
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

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

    section {
        padding: 3rem 0;
    }

    .service-card,
    .solution-item {
        padding: 2rem;
    }

    .solution-number {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

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

/* WhatsApp Button Styles */
.whatsapp-link {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-link:hover {
    color: #128C7E !important;
    transform: translateX(3px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-modal.active {
    opacity: 1;
    visibility: visible;
}

.blog-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
}

.blog-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.blog-modal.active .blog-modal-content {
    transform: translateY(0);
}

.blog-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.blog-modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.blog-modal-header {
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.blog-modal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.blog-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.blog-modal-body {
    padding: 2rem 3rem 3rem;
    overflow-y: auto;
    flex: 1;
}

.blog-modal-excerpt {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-modal-article {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.blog-modal-article h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-modal-article h3:first-child {
    margin-top: 0;
}

.blog-modal-article p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.blog-modal-article ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.blog-modal-article li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .blog-modal-content {
        max-width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
        border-radius: 16px;
    }

    .blog-modal-header {
        padding: 2rem 1.5rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .blog-modal-title {
        font-size: 1.5rem;
    }

    .blog-modal-body {
        padding: 1.5rem;
    }

    .blog-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}

/* ------------------------------ */
/* Premium Frontend Refresh */
/* ------------------------------ */
:root {
    --primary-color: #1f4ed8;
    --secondary-color: #2f7bf6;
    --accent-color: #0ea5e9;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --border-color: #dbe5f1;
    --accent-gradient: linear-gradient(120deg, #1f4ed8 0%, #2f7bf6 45%, #0ea5e9 100%);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 22px 45px rgba(15, 23, 42, 0.14);
}

body {
    background:
        radial-gradient(circle at 10% -20%, rgba(47, 123, 246, 0.08), transparent 36%),
        radial-gradient(circle at 90% -10%, rgba(14, 165, 233, 0.08), transparent 35%),
        #ffffff;
}

.navbar {
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.logo-img {
    height: 76px;
    max-width: 220px;
}

.nav-menu a {
    font-weight: 600;
    letter-spacing: 0.1px;
}

.btn-primary {
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(31, 78, 216, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 16px 30px rgba(31, 78, 216, 0.3);
}

.btn-secondary {
    border-radius: 14px;
    border-color: rgba(191, 219, 254, 0.95);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    color: #fff;
}

.hero {
    min-height: 88vh;
    padding: 7rem 0 5rem;
}

.hero-video-overlay {
    background: linear-gradient(
        114deg,
        rgba(15, 23, 42, 0.86) 0%,
        rgba(30, 58, 138, 0.8) 34%,
        rgba(30, 64, 175, 0.68) 66%,
        rgba(6, 182, 212, 0.62) 100%
    );
}

.hero-content {
    gap: 0;
    align-items: stretch;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    margin-bottom: 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-badge-icon {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.hero-title {
    font-size: inherit;
    line-height: normal;
    letter-spacing: normal;
    margin-bottom: 1.75rem;
}

.highlight {
    color: #e8f4fc;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    max-width: 700px;
    color: rgba(248, 250, 252, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    margin-bottom: 1.6rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.9rem;
    margin-top: 0.5rem;
}

.hero-metric {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(15, 23, 42, 0.24);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.hero-metric strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.hero-metric span {
    color: rgba(226, 232, 240, 0.95);
    font-size: 0.82rem;
}

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

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.08rem;
    max-width: 760px;
}

.tech-item,
.service-card,
.solution-item,
.blog-card,
.feature-item,
.app-card,
.contact-form {
    border-color: #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.service-card,
.feature-item,
.blog-card,
.app-card,
.tech-item {
    border-radius: 20px;
}

.service-card:hover,
.feature-item:hover,
.blog-card:hover,
.app-card:hover,
.tech-item:hover {
    box-shadow: var(--shadow-lg);
}

.services,
.apps-showcase,
.blog,
.contact {
    position: relative;
}

.services::before,
.apps-showcase::before,
.blog::before,
.contact::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1 45%, transparent);
}

.solutions {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95));
}

.solution-item {
    border-radius: 22px;
    padding: 2.4rem 2.6rem;
    gap: 2.2rem;
}

.solution-item:hover {
    transform: translateY(-6px);
}

.solution-item::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    right: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.solution-item:hover::before {
    transform: scaleX(1);
}

.solution-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
}

.solution-content h3 {
    font-size: 1.45rem;
    margin-bottom: 0.7rem;
}

.solution-content p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about,
.tech-stack {
    background:
        linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.contact-form {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
}

.form-group input,
.form-group textarea {
    border-color: #d7e3f4;
    border-radius: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.footer {
    background: radial-gradient(circle at 20% 10%, #1d4ed8 0%, #0f172a 42%, #020617 100%);
}

@media (max-width: 1024px) {
    .logo-img {
        height: 64px;
        max-width: 190px;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-badge {
        margin-inline: auto;
    }

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

    .hero-metrics {
        grid-template-columns: 1fr;
        width: min(360px, 100%);
        margin: 0.8rem auto 0;
    }

    .solution-item {
        padding: 2rem 1.4rem;
    }

    .solution-content h3 {
        font-size: 1.25rem;
    }
}

/* ======================================= */
/* Pro Theme v2 (strong visual refresh)    */
/* ======================================= */
body.theme-pro {
    color: #0f172a;
    background: #f5f6f7;
}

body.theme-pro .container {
    max-width: 1320px;
}

body.theme-pro .navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

body.theme-pro .nav-wrapper {
    padding: 1rem 0;
}

body.theme-pro .logo-img {
    height: 72px;
    max-width: 210px;
}

body.theme-pro .nav-menu a {
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
}

body.theme-pro .nav-menu a::after {
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
}

body.theme-pro .btn-primary {
    background: var(--primary-color);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

body.theme-pro .btn-secondary {
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

body.theme-pro .hero {
    min-height: 92vh;
    padding: 7.2rem 0 5rem;
}

body.theme-pro .hero-video-overlay {
    background: linear-gradient(
        105deg,
        rgba(8, 20, 38, 0.9) 0%,
        rgba(15, 61, 107, 0.8) 50%,
        rgba(10, 28, 48, 0.85) 100%
    );
}

body.theme-pro .hero-content {
    gap: 0;
}

body.theme-pro .hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #eef6ff;
    border-radius: 999px;
}

body.theme-pro .hero-title {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

body.theme-pro .hero-description {
    color: rgba(240, 249, 255, 0.95);
    font-size: 1.23rem;
    max-width: 760px;
}

body.theme-pro .hero-metrics {
    margin-top: 1rem;
    gap: 1rem;
}

body.theme-pro .hero-metric {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 0.95rem 1rem;
}

body.theme-pro .hero-metric strong {
    font-size: 1.05rem;
}

body.theme-pro .hero-trust {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 600;
}

body.theme-pro .hero-trust i {
    color: #94c5e8;
    margin-right: 0.35rem;
}

body.theme-pro section {
    padding: 6.5rem 0;
}

body.theme-pro .section-header {
    margin-bottom: 4.2rem;
}

body.theme-pro .section-title {
    color: #0f172a;
    -webkit-text-fill-color: initial;
    background: none;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -1.1px;
}

body.theme-pro .section-subtitle {
    color: #475569;
    font-size: 1.12rem;
}

body.theme-pro .about,
body.theme-pro .tech-stack,
body.theme-pro .solutions,
body.theme-pro .process-section {
    background: #f0f2f4;
}

body.theme-pro .odoo-modules,
body.theme-pro .trust-strip {
    background: #fff;
}

body.theme-pro .odoo-mod-card,
body.theme-pro .process-step {
    border-color: #e2e8f0;
    box-shadow: var(--shadow-sm);
}

body.theme-pro .odoo-mod-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

body.theme-pro .section-kicker {
    color: var(--secondary-color);
}

body.theme-pro .services,
body.theme-pro .apps-showcase,
body.theme-pro .blog,
body.theme-pro .contact {
    background: #ffffff;
}

body.theme-pro .service-card,
body.theme-pro .solution-item,
body.theme-pro .feature-item,
body.theme-pro .app-card,
body.theme-pro .tech-item,
body.theme-pro .blog-card,
body.theme-pro .contact-form {
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

body.theme-pro .service-card,
body.theme-pro .feature-item,
body.theme-pro .blog-card,
body.theme-pro .app-card,
body.theme-pro .tech-item {
    border-radius: 22px;
}

body.theme-pro .service-card:hover,
body.theme-pro .feature-item:hover,
body.theme-pro .app-card:hover,
body.theme-pro .tech-item:hover,
body.theme-pro .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

body.theme-pro .service-icon,
body.theme-pro .app-icon {
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: none;
}

body.theme-pro .service-icon i,
body.theme-pro .app-icon i {
    color: var(--primary-color);
}

body.theme-pro .service-card h3,
body.theme-pro .solution-content h3,
body.theme-pro .blog-card h3,
body.theme-pro .contact-info h3 {
    color: #0f172a;
}

body.theme-pro .service-card p,
body.theme-pro .solution-content p,
body.theme-pro .blog-card p,
body.theme-pro .contact-item p,
body.theme-pro .feature-item p {
    color: #475569;
}

body.theme-pro .solutions-list {
    gap: 1.6rem;
}

body.theme-pro .solution-item {
    border-radius: 22px;
    padding: 2.3rem 2.4rem;
    gap: 1.8rem;
}

body.theme-pro .solution-item:hover {
    transform: translateY(-7px);
}

body.theme-pro .solution-item::before {
    width: 100%;
    height: 4px;
    top: 0;
    bottom: auto;
    transform: scaleX(0);
    transform-origin: left;
}

body.theme-pro .solution-item:hover::before {
    transform: scaleX(1);
}

body.theme-pro .solution-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    color: var(--primary-color);
    border: 1.5px solid #cbd5e1;
    box-shadow: none;
}

body.theme-pro .contact-form {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* Form structure untouched, only visual polish */
body.theme-pro .form-group input,
body.theme-pro .form-group textarea {
    border: 1.8px solid #d6e3f4;
    border-radius: 12px;
}

body.theme-pro .form-group input:focus,
body.theme-pro .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 61, 107, 0.12);
}

body.theme-pro .footer {
    background: #0f172a;
}

body.theme-pro .footer-section h3 {
    color: #e2e8f0;
    -webkit-text-fill-color: #e2e8f0;
    background: none;
}

@media (max-width: 1024px) {
    body.theme-pro .hero {
        min-height: auto;
    }

    body.theme-pro .logo-img {
        height: 62px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    body.theme-pro section {
        padding: 4.3rem 0;
    }

    body.theme-pro .hero {
        padding: 5rem 0 3.5rem;
    }

    body.theme-pro .hero-title,
    body.theme-pro .hero-title .hero-display-line1,
    body.theme-pro .hero-title .hero-display-line2 {
        text-align: center;
    }

    body.theme-pro .hero-kicker {
        text-align: center;
        width: 100%;
    }

    body.theme-pro .hero-description {
        font-size: 1.03rem;
        text-align: center;
    }

    body.theme-pro .hero-actions {
        justify-content: center;
    }

    body.theme-pro .hero-trust {
        justify-content: center;
        text-align: center;
    }

    body.theme-pro .solution-item {
        padding: 1.8rem 1.25rem;
    }
}

/* Stronger professional look for showcase area */
body.theme-pro .apps-showcase {
    background: #fafafa;
}

body.theme-pro .apps-showcase .section-title {
    color: #0f172a;
    font-weight: 700;
}

body.theme-pro .apps-showcase .section-subtitle {
    color: #334155;
}

body.theme-pro .apps-grid {
    gap: 1.25rem;
}

body.theme-pro .app-card {
    border: 1px solid #d5e2f3;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 1.25rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

body.theme-pro .app-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

body.theme-pro .app-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
}

body.theme-pro .app-card h4 {
    margin-top: 0.5rem;
    color: #0f172a;
    font-size: 1.03rem;
    font-weight: 700;
}
