/* ===== CodiXQR - Yazılım Şirketi Sitesi ===== */
/* Modern, profesyonel, güvenilir tasarım */

:root {
    --bg-primary: #1a1f2e;
    --bg-secondary: #242938;
    --bg-card: #2d3548;
    --bg-card-hover: #353d52;
    --text-primary: #f8fafc;
    --text-secondary: #a8b3cf;
    --text-muted: #7a8599;
    --accent: #22d3ee;
    --accent-hover: #67e8f9;
    --accent-muted: rgba(34, 211, 238, 0.15);
    --accent-secondary: #a78bfa;
    --success: #34d399;
    --border: rgba(148, 163, 184, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
    /* Reduced from 15px */
}

/* ===== RTL Support for Arabic ===== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
    gap: 20px;
}

[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .partnership-grid {
    direction: rtl;
}

[dir="rtl"] .p-feature {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .saas-highlights li {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn i {
    margin-right: 0;
    margin-left: 8px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    /* Reduced from 1200px */
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
}

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

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

.logo-text-full {
    color: var(--accent);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: var(--accent-muted);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge-line {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    /* Scaled down */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Scaled down */
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 28px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-muted);
    border-color: var(--accent-hover);
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

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

/* ===== Section Styles ===== */
section {
    padding: 50px 0;
    /* Reduced from 70px */
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}

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

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ===== Section Alternating Colors ===== */
.saas-section {
    background: var(--bg-secondary);
}

.services-section {
    background: var(--bg-primary);
}

.projects-section {
    background: var(--bg-secondary);
}

.tech-section {
    background: var(--bg-primary);
}

.partners-section {
    background: var(--bg-secondary);
}

.about-section {
    background: var(--bg-primary);
}

.blog-section {
    background: var(--bg-secondary);
}

.contact-section {
    background: var(--bg-primary);
}

/* SaaS Cards */
.saas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.saas-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
    min-height: 600px;
}

.saas-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.saas-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 100px;
}

.saas-visual {
    margin-bottom: 24px;
}

.saas-icon-modern {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-muted), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.saas-icon-modern svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.saas-icon-hotel svg {
    color: var(--accent-secondary);
}

.saas-highlights {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    gap: 8px;
}

.saas-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlight-icon {
    color: var(--success);
    font-weight: 700;
}

.saas-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.saas-tagline {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.saas-desc-block {
    margin-bottom: 20px;
    flex-grow: 1;
}

.saas-desc-block p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.highlight-text {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Partnership Section ===== */
.partnership-section {
    background: var(--bg-secondary);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partnership-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.partnership-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.p-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.p-feature:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.p-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.p-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partnership-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.partnership-card-glow {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
    animation: floatingEffect 4s ease-in-out infinite;
}

.p-card-top {
    font-size: 3rem;
    margin-bottom: 24px;
}

.p-card-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 24px 0;
}

.p-card-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.p-stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
}

.p-stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Projects ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Social Impact Card ===== */
.impact-section-wrapper {
    margin-top: 60px;
    perspective: 1000px;
}

.impact-card {
    background: var(--bg-card);
    /* Simplified to solid card color */
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.impact-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
}

.impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Simplified: removed pulse animation styles */

.impact-grid-mini {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.impact-main h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.impact-main p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.impact-stats-mini {
    display: flex;
    gap: 24px;
}

.i-stat {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.i-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.i-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-category {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.project-card h3 {
    font-size: 1.25rem;
    margin: 8px 0 12px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-link {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

/* ===== Technologies Section (Slider Version) ===== */
.tech-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tech-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 5px;
    flex: 1;
}

.tech-track::-webkit-scrollbar {
    display: none;
}

.tech-card {
    flex: 0 0 calc(25% - 15px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 10px;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.tech-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

.tech-card h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.tech-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== Partners Slider ===== */
.partners-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.partners-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.partners-slider::-webkit-scrollbar {
    display: none;
}

.partner-box {
    flex: 0 0 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.partner-box:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.partner-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

/* ===== Hakkımızda Action Chips ===== */
.about-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.action-chip {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-chip:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

/* ===== Floating Badges (Hakkımızda Görseli) ===== */
.floating-badges-container {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-item {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: floatingEffect 4s ease-in-out infinite;
    cursor: default;
    z-index: 2;
}

.badge-item:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--accent);
    background: var(--bg-card-hover);
    z-index: 10;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Pozisyonlar ve Animasyon Gecikmeleri */
.b-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.b-2 {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
}

.b-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.5s;
}

.b-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes floatingEffect {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-center-logo {
    width: 140px;
    height: 140px;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
    z-index: 1;
    position: relative;
}

.badge-center-logo::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px dashed var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.blog-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

/* ===== Blog Post Pages (Article styles) ===== */
.blog-post {
    padding: 140px 24px 80px;
    min-height: 100vh;
}

.blog-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-post h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.blog-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
    border: 1px solid var(--border);
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.blog-content h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.blog-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 24px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}

.cta-box a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-info>p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact-item:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.contact-item.cta-link {
    font-weight: 600;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    /* Reduced from 100px 0 40px */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
    /* Reduced from 80px */
    margin-bottom: 32px;
    /* Reduced from 80px */
}

.footer-brand-column {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

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

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

.footer-links-group h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-extra {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-extra span {
    opacity: 0.5;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

/* ===== WhatsApp (Restored) ===== */
.floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    text-decoration: none;
    color: white;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== Legal Page Styles ===== */
.legal-page {
    padding: 100px 0 60px;
    line-height: 1.6;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: 2.22rem;
    margin-bottom: 8px;
}

.legal-page h2 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--accent);
}

.legal-page p,
.legal-page ul {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 10px;
}

.legal-date {
    display: block;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .partnership-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {

    .about-grid,
    .contact-grid,
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partnership-visual,
    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-nav-columns {
        gap: 32px;
    }

    .tech-card {
        flex: 0 0 calc(50% - 10px);
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .saas-grid {
        grid-template-columns: 1fr;
    }

    .saas-card {
        min-height: auto;
        padding: 24px;
    }

    .tech-card {
        flex: 0 0 calc(50% - 15px);
        padding: 20px 15px;
    }

    /* Changed to 2 per row */
    .partner-box {
        flex: 0 0 160px;
        padding: 16px;
        font-size: 0.75rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

    section {
        padding: 24px 0;
    }

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

    .section-header {
        margin-bottom: 12px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* 2 columns for projects */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* 2 columns for services */
    .service-card {
        padding: 20px;
    }

    .impact-grid-mini {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .impact-stats-mini {
        justify-content: center;
    }

    .impact-badge {
        margin: 0 auto 24px;
    }

    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

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

    /* Fix overlapping badges in About section */
    .floating-badges-container {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        padding: 20px 0;
    }

    .badge-item {
        position: static !important;
        width: calc(50% - 6px);
        padding: 12px;
        border-radius: var(--radius);
        animation: none !important;
        transform: none !important;
    }

    .badge-center-logo {
        display: none;
        /* Hide large center logo on mobile to save space */
    }

    .badge-icon {
        font-size: 1.2rem;
    }

    .badge-text strong {
        font-size: 0.85rem;
    }

    .badge-text span {
        font-size: 0.7rem;
    }

    .tech-card {
        flex: 0 0 calc(50% - 10px);
    }

    .project-card {
        padding: 16px;
    }

    .project-card h3 {
        font-size: 1rem;
        margin: 4px 0 8px;
    }

    .project-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .impact-stats-mini {
        flex-direction: column;
    }

    .footer-nav-columns {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns to save maximum space */
        text-align: left;
        gap: 12px;
    }

    .footer-links-group h5 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .footer-links-group ul li {
        margin-bottom: 6px;
    }

    .footer-links-group a {
        font-size: 0.8rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
    }

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

    .footer-brand-column {
        text-align: center;
        margin: 0 auto;
    }
}