@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-card: #0f131a;
    --bg-nav: rgba(7, 9, 14, 0.75);
    --primary: #e5b842;      /* Midnight Gold */
    --primary-glow: rgba(229, 184, 66, 0.15);
    --secondary: #38bdf8;    /* Corporate Blue */
    --accent: #10b981;       /* Premium Green */
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e2530;
    --border-focus: #334155;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e2530;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Navigation Header */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

/* Hero Section */
.hero {
    min-height: 60vh;
    padding: 6.5rem 2rem 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(229, 184, 66, 0.05), transparent 60%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.badge-intro {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(229, 184, 66, 0.08);
    border: 1px solid rgba(229, 184, 66, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 30%, #a1aab8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #ffdf85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #ffdf85;
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Sections General */
section {
    padding: 4.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-subtitle {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
}

.cap-card:hover {
    border-color: rgba(229, 184, 66, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.cap-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.cap-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cap-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Project Showcases */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    transition: var(--transition);
}

.project-item:hover {
    border-color: rgba(229, 184, 66, 0.2);
}

.project-item:nth-child(even) {
    flex-direction: row-reverse;
}

.project-visual {
    flex: 1.2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
}

.project-visual img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.project-item:hover .project-visual img {
    transform: scale(1.03);
}

.project-info {
    flex: 1;
}

.project-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.tag-amazon { background: rgba(229, 184, 66, 0.1); color: var(--primary); border: 1px solid rgba(229, 184, 66, 0.2); }
.tag-bookstore { background: rgba(56, 189, 248, 0.1); color: var(--secondary); border: 1px solid rgba(56, 189, 248, 0.2); }
.tag-leads { background: rgba(16, 185, 129, 0.1); color: var(--accent); border: 1px solid rgba(16, 185, 129, 0.2); }

.project-name {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-details {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.project-bullets {
    list-style: none;
    margin-bottom: 2rem;
}

.project-bullets li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-white);
}

.project-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.08);
}

.article-img {
    height: 180px;
    background-color: #0b0e14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.article-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-platform {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--secondary);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-link:hover {
    text-decoration: underline;
}

/* Contact CTA Block */
.contact-cta {
    background: linear-gradient(135deg, #0f131a 0%, #07090e 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.03) 0%, transparent 70%);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.cta-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-upwork { background-color: #10b981; color: #fff; }
.btn-upwork:hover { background-color: #059669; box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }

.btn-fiverr { background-color: #1dbf73; color: #fff; }
.btn-fiverr:hover { background-color: #10a861; box-shadow: 0 0 20px rgba(29, 191, 115, 0.3); }

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    background-color: #04060a;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Language Switcher */
.lang-switcher {
    color: var(--border-focus);
    font-size: 0.9rem;
    font-weight: 600;
}
.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 0 0.2rem;
}
.lang-link:hover {
    color: var(--primary) !important;
}
.lang-link.active-lang {
    color: var(--primary);
    font-weight: 700;
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    .project-item {
        flex-direction: column !important;
        gap: 2rem;
        padding: 2rem;
    }
    .project-visual {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none; /* Simplification for small screen */
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
}
