:root {
    --bg-base: #030712; /* Very dark grayish blue */
    --bg-surface: #111827; /* Dark gray */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent: #6366f1; /* Indigo */
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-hover: #4f46e5;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Background effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
.glow-1 {
    top: -10%;
    left: -10%;
    background: rgba(99, 102, 241, 0.15);
}
.glow-2 {
    bottom: 20%;
    right: -10%;
    background: rgba(139, 92, 246, 0.1);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}
.logo-mark {
    background: var(--text-primary);
    color: var(--bg-base);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.3s;
}
.lang-btn:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
}
.btn-primary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}
.btn-whatsapp:hover {
    background: #1DA851 !important;
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}
.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 3rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sections */
.section {
    padding: 8rem 0;
}
.alt-bg {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.section-head {
    text-align: center;
    margin-bottom: 5rem;
}
.section-head h4 {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.section-head h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

/* Rich Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}
@media(max-width: 768px) {
    .project-grid { grid-template-columns: 1fr; }
}

.rich-project-card {
    background: #0f1219;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s;
}
.rich-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

/* Mockup Wrapper */
.rpc-mockup-wrapper {
    padding: 1.5rem;
    background: radial-gradient(circle at top left, #1a1d27, #090a0f);
}
.rpc-mockup {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.rpc-header {
    background: rgba(20,20,20,0.9);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.rpc-header .dots {
    display: flex; gap: 6px;
}
.rpc-header .dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }
.rpc-title {
    position: absolute; left: 50%; transform: translateX(-50%);
    font-size: 0.6rem; color: #888; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Professional Skeleton UI Mockups */
.rpc-body {
    height: 250px;
    position: relative;
    overflow: hidden;
}
.rpc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.skeleton-ui {
    display: flex;
    height: 100%;
    width: 100%;
    background: #f8fafc;
}
.s-sidebar {
    width: 60px;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.2rem;
}
.s-logo {
    width: 24px; height: 24px;
    background: #3b82f6;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.s-nav-item {
    width: 20px; height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
.s-nav-item.active {
    background: rgba(255,255,255,0.3);
}
.s-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.s-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.s-title {
    width: 100px; height: 16px;
    background: #cbd5e1;
    border-radius: 4px;
}
.s-avatar {
    width: 28px; height: 28px;
    background: #94a3b8;
    border-radius: 50%;
}
.s-stats {
    display: flex; gap: 1rem;
}
.s-card {
    flex: 1; height: 60px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    display: flex; flex-direction: column; gap: 8px; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.s-val { width: 60%; height: 14px; background: #94a3b8; border-radius: 4px; }
.s-label { width: 40%; height: 8px; background: #cbd5e1; border-radius: 2px; }
.s-table {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.s-tr {
    display: flex; padding: 0.75rem 1rem; border-bottom: 1px solid #f1f5f9; gap: 1rem;
}
.s-tr.th { background: #f8fafc; }
.s-tr::before, .s-tr::after {
    content: ''; height: 8px; background: #e2e8f0; border-radius: 2px; flex: 1;
}
.s-tr.th::before, .s-tr.th::after { background: #cbd5e1; }

/* Theme Modifiers */
.rpc-theme-admin { background: #f8fafc; }
.rpc-theme-green .s-sidebar { background: #064e3b; }
.rpc-theme-green .s-logo { background: #10b981; }
.rpc-theme-green .s-val { background: #10b981; }

/* Calendar specific */
.s-calendar-header { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.s-ch-day { flex: 1; height: 20px; background: #e2e8f0; border-radius: 4px; }
.s-ch-day.active { background: #10b981; }
.s-calendar-grid {
    flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; padding: 4px;
}
.s-cal-event {
    background: #d1fae5; border-left: 2px solid #10b981; border-radius: 2px;
}

/* Portfolio Theme (Kisisel) */
.rpc-theme-kisisel-wire {
    height: 100%; background: #0f172a; display: flex; align-items: center; justify-content: center;
}
.s-kisisel-wrap {
    width: 80%; height: 80%; background: #1e293b; border-radius: 12px; border: 1px solid #334155;
    display: flex; flex-direction: column; padding: 1.5rem; gap: 1.5rem;
}
.s-k-nav { display: flex; justify-content: space-between; align-items: center; }
.s-k-logo { width: 30px; height: 30px; background: #fff; border-radius: 50%; }
.s-k-links { display: flex; gap: 8px; }
.s-k-links .mp { width: 30px; height: 6px; background: #475569; border-radius: 3px; }
.s-k-hero { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.s-k-title { width: 60%; height: 24px; background: #fff; border-radius: 4px; }
.s-k-subtitle { width: 40%; height: 12px; background: #94a3b8; border-radius: 2px; }
.s-k-btn { width: 80px; height: 24px; background: #3b82f6; border-radius: 12px; margin-top: 10px; }
.s-k-grid { display: flex; gap: 10px; flex: 1; }
.s-k-item { flex: 1; background: #334155; border-radius: 8px; }

/* B2B Chart Area */
.s-chart-area {
    height: 100px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    display: flex; align-items: flex-end; justify-content: space-around; padding: 10px;
}
.s-chart-bar {
    width: 15%; background: linear-gradient(to top, #38bdf8, #818cf8); border-radius: 4px 4px 0 0;
}

/* Card Info */
.rpc-info { padding: 2rem; }
.rpc-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.rpc-cat { font-size: 0.8rem; color: #9ca3af; }
.rpc-badge { font-size: 0.6rem; padding: 0.3rem 0.6rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; color: #6b7280; letter-spacing: 0.1em; }
.rpc-info h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: #f9fafb; }
.rpc-info p { font-size: 0.95rem; color: #9ca3af; margin-bottom: 1.5rem; line-height: 1.5; }
.rpc-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.rpc-tags span { font-size: 0.7rem; padding: 0.3rem 0.8rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; color: #d1d5db; }
.rpc-link { display: inline-block; font-size: 0.9rem; font-weight: 600; color: #e5e7eb; text-decoration: none; transition: color 0.2s; }
.rpc-link:hover { color: #fff; }

/* About */
/* About & Services */
.about-header {
    max-width: 800px;
    margin: 0 auto 5rem auto;
}
.about-header h4 {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.text-muted {
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.mt-5 { margin-top: 5rem; }
.text-center { text-align: center; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s, background 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}
.service-visual {
    height: 140px;
    background: linear-gradient(145deg, #111827, #1f2937);
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.2);
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CSS Art for Visuals */
.css-browser {
    width: 80px;
    height: 60px;
    background: #0f172a;
    border-radius: 6px;
    border: 2px solid #334155;
    position: relative;
    padding: 4px;
}
.css-browser .dots {
    display: flex;
    gap: 3px;
    margin-bottom: 6px;
}
.css-browser .dots span {
    width: 4px; height: 4px; border-radius: 50%;
    background: #64748b;
}
.css-browser .line {
    height: 4px; background: #334155; border-radius: 2px; margin-bottom: 4px;
}
.css-browser .short { width: 60%; }

.css-phone {
    width: 44px;
    height: 80px;
    background: #0f172a;
    border-radius: 8px;
    border: 2px solid #334155;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.css-phone .screen {
    flex: 1;
    background: #1e293b;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.css-phone .widget {
    background: #334155;
    height: 12px;
    border-radius: 2px;
}

.css-dashboard {
    width: 80px;
    height: 60px;
    background: #0f172a;
    border-radius: 6px;
    border: 2px solid #334155;
    display: flex;
    overflow: hidden;
}
.css-dashboard .sidebar {
    width: 20px;
    background: #1e293b;
    border-right: 1px solid #334155;
}
.css-dashboard .main-area {
    flex: 1;
    padding: 6px;
}
.css-dashboard .chart {
    height: 20px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    border-radius: 2px;
    opacity: 0.8;
}

/* Contact Form */
.form-card {
    background: #141311;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.form-header {
    margin-bottom: 2.5rem;
}
.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.form-header p {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.direct-link {
    font-size: 1rem;
}
.direct-link a {
    color: #ff7f50;
    transition: opacity 0.2s;
}
.direct-link a:hover {
    opacity: 0.8;
}
.draft-form .form-group {
    margin-bottom: 1.5rem;
}
.draft-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.95rem;
}
.draft-form input, .draft-form select, .draft-form textarea {
    width: 100%;
    background: #1c1a18;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.draft-form input:focus, .draft-form select:focus, .draft-form textarea:focus {
    outline: none;
    border-color: #ff7f50;
}
.btn-block {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    border-radius: 100px;
    margin-top: 1rem;
}
.btn-coral {
    background: #ff7f50;
    color: #000;
}
.btn-coral:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
}
footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .floating-nav {
        width: 95%;
        top: 15px;
    }
    .nav-container {
        padding: 0.75rem 1rem;
    }
    .logo-text {
        display: none; /* Only show EG logo on mobile */
    }
    .hero {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .section {
        padding: 5rem 0;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 2.5rem 1.5rem;
    }
    .form-header h2 {
        font-size: 1.8rem;
    }
    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}




/* Floating Instagram Icon */
.ig-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ig-float:hover {
    transform: scale(1.1);
}
.ig-float svg {
    width: 32px;
    height: 32px;
}
