/* ============================================================
   coskuyuksel.com — One operator. Full ownership.
   Dark mode, mint accent, Inter, Vercel × Linear estetiği
   ============================================================ */

:root {
    --bg: #0A0E13;
    --bg-2: #0F1419;
    --bg-3: #161B22;
    --bg-4: #1F2630;
    --border: #21262D;
    --border-bright: #30363D;
    --text: #E6EDF3;
    --text-dim: #8B98A6;
    --text-muted: #7A8595;     /* WCAG AA pass — was #5A6573 */
    --accent: #00D4AA;
    --accent-dim: #00A088;
    --accent-glow: rgba(0, 212, 170, 0.12);
    --accent-bright: rgba(0, 212, 170, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 0 1px var(--accent-bright), 0 8px 24px var(--accent-glow);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

    --container-w: 1200px;
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-bright);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(10, 14, 19, 0.7);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--container-w);
    margin: 0 auto;
}

.nav.scrolled {
    border-bottom-color: var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.nav-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    color: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.06em;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.nav-name {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-dim);
    transition: color var(--transition);
}

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

.nav-cta {
    color: var(--accent) !important;
}

/* Hamburger (only visible on mobile) */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.nav-burger:hover {
    border-color: var(--border-bright);
    background: var(--bg-3);
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    margin: 0 auto;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
}

.mobile-drawer[aria-hidden="false"] {
    pointer-events: auto;
    visibility: visible;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 19, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 200ms ease;
}

.mobile-drawer[aria-hidden="false"] .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer[aria-hidden="false"] .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-drawer-close:hover {
    color: var(--text);
    border-color: var(--border-bright);
    background: var(--bg-3);
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    flex: 1;
}

.mobile-drawer-links a {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text-dim);
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition);
}

.mobile-drawer-links a:hover {
    color: var(--text);
    background: var(--bg-3);
}

.mobile-drawer-cta {
    margin-top: auto;
    background: var(--accent) !important;
    color: var(--bg) !important;
    text-align: center;
    font-weight: 600 !important;
}

.mobile-drawer-cta:hover {
    background: var(--accent-dim) !important;
}

/* Body scroll lock when drawer open */
body.drawer-open {
    overflow: hidden;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.trust-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
}

.trust-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color var(--transition);
    white-space: nowrap;
}

.trust-logo:hover {
    color: var(--text);
}

.trust-logo:hover .trust-logo-mark {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.trust-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: -0.02em;
    transition: all var(--transition);
}

/* Two-letter monogram (e.g. "FP") slightly wider */
.trust-logo-mark-mono {
    width: 28px;
    font-size: 10px;
    letter-spacing: 0;
}

.trust-logo-name {
    /* visible label */
}

.trust-divider {
    color: var(--border-bright);
    font-size: 16px;
    user-select: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-bright);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px var(--accent-bright);
}

.btn-ghost {
    color: var(--text-dim);
    border-color: var(--border);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-bright);
    background: var(--bg-3);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(40px);
    opacity: 0.6;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
    opacity: 0.3;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(48px, 8vw, 88px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text);
}

.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 640px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    font-family: var(--font-sans);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 80px;   /* sticky nav offset */
}

/* Trust strip benzer offset gerek değil çünkü hero'dan sonra geliyor — anchor target değil */

.section-alt {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */

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

.capability {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.capability:hover {
    border-color: var(--border-bright);
    background: var(--bg-4);
    transform: translateY(-2px);
}

.capability-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 20px;
}

.capability h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.capability p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   WORK
   ============================================================ */

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.work-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.work-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.work-card-feature {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
    border-color: var(--border-bright);
    cursor: pointer;
}

.work-card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.work-card-feature:hover {
    box-shadow: var(--shadow-glow);
}

.work-tag {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    background: var(--bg-4);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.work-card h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.work-card-feature h3 {
    font-size: 28px;
}

.work-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.work-card-feature p {
    font-size: 16px;
    max-width: 600px;
}

.work-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.work-tech {
    padding: 4px 10px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-weight: 500;
}

.work-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    transition: transform var(--transition);
}

.work-card-feature:hover .work-link {
    transform: translateX(4px);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    counter-reset: process;
}

.process-step {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}

.process-number {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   STACK
   ============================================================ */

.stack-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.stack-cat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stack-tag {
    padding: 6px 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    transition: all var(--transition);
}

.stack-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

/* ============================================================
   CONTACT
   ============================================================ */

.section-contact {
    padding: 80px 0 120px;
}

.contact-card {
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 16px 0;
}

.contact-subtitle {
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 32px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.contact-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg-2);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-name {
    font-weight: 600;
    font-size: 14px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-mono);
}

.footer-meta {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .trust-strip {
        padding: 24px 0 32px;
    }

    .trust-logos {
        gap: 8px 16px;
    }

    .trust-logo {
        font-size: 14px;
    }

    .section {
        padding: 80px 0;
    }

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

    .work-card-feature {
        grid-column: span 1;
    }

    .work-card-feature h3 {
        font-size: 22px;
    }

    .contact-card {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        padding-top: 32px;
    }

    .stat-number {
        font-size: 28px;
    }
}
