:root {
    --bg: #050816;
    --bg-soft: #0b1020;
    --primary: #48b5ff;
    --primary-soft: rgba(72, 181, 255, 0.1);
    --accent: #ffb347;
    --text-main: #f5f7ff;
    --text-soft: #a0aec0;
    --card: #111827;
    --border-soft: rgba(148, 163, 184, 0.3);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at 0% 0%, #172554 0, #020617 48%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

/* Watermark */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url("watermark-gosu.png") no-repeat center center / contain;
    opacity: 0.045;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    filter: blur(1px);
}

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

img {
    max-width: 100%;
    display: block;
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 64px;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.9),
        rgba(15, 23, 42, 0.75),
        transparent
    );
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.logo-header-img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 50%;
    background: #dce78a;
    box-shadow:
        0 0 22px rgba(220, 231, 138, 0.25),
        0 0 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.logo:hover .logo-header-img {
    transform: scale(1.06);
}

.logo-text-main {
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.logo-text-sub {
    font-size: 0.7rem;
    color: var(--text-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-soft);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.nav-links a:hover {
    color: var(--text-main);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.nav-contact-btn {
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #22c55e);
    color: #0b1120;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.nav-contact-btn span {
    font-size: 1.1rem;
}

.hero {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
    gap: 36px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-soft);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    margin-bottom: 12px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.hero-title {
    font-size: clamp(2.3rem, 3.3vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.hero-title span {
    background: linear-gradient(135deg, #38bdf8, #a855f7, #f97316);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 560px;
    color: var(--text-soft);
    font-size: 0.98rem;
    margin-bottom: 20px;
}

.hero-sub strong {
    color: var(--accent);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.btn-primary {
    padding: 11px 20px;
    border-radius: 999px;
    background: radial-gradient(circle at 10% 0, #e0f2fe 0, #0ea5e9 35%, #1d4ed8 90%);
    border: 1px solid rgba(191, 219, 254, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    color: #020617;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-weight: 500;
    font-size: 0.93rem;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.meta-pill {
    font-size: 0.8rem;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-pill span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.8);
}

/* Hero visual (yellow background pug) */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.hero-pug-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.3),
        0 0 0 4px rgba(0, 0, 0, 0.08);
}

.section {
    margin-top: 56px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-soft);
    max-width: 420px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.78rem;
    color: var(--text-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 16px 16px 18px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #bfdbfe, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-title {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.service-tagline {
    font-size: 0.78rem;
    color: #e5e7eb;
    opacity: 0.8;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pill {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-soft);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 20px;
}

.about-card,
.contact-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 18px 18px 20px;
}

.about-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-text {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.about-highlight {
    margin-top: 10px;
    font-size: 0.85rem;
}

.about-highlight strong {
    color: var(--accent);
}

.contact-row {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-row span {
    display: inline-block;
    width: 80px;
    color: var(--text-soft);
}

.contact-row a {
    color: var(--primary);
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 10px;
}

footer {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    font-size: 0.78rem;
    color: var(--text-soft);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

footer a {
    color: var(--primary);
}

/* Footer mascot area */
.footer-mascot {
    max-width: 1120px;
    margin: 0 auto;
    padding: 30px 16px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    text-align: center;
    opacity: 0.9;
}

.footer-mascot-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.12);
    margin: 0 auto 12px;
}

.footer-mascot-text {
    font-size: 0.9rem;
    color: #e2e8f0;
    letter-spacing: 0.02em;
}

/* inline style yerine class */
.footer-preference-label {
    opacity: 0.7;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        /* order: -1;  <-- BUNU SİL */
        margin-top: 24px; /* istersen ufak boşluk ekleyebilirsin */
    }

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

    .split {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

    .page {
        padding-inline: 16px;
    }

    .hero {
        margin-top: 24px;
    }

    .section {
        margin-top: 40px;
    }

    .service-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    footer {
        flex-direction: column;
    }

    .logo-header-img {
        height: 34px;
        width: 34px;
    }

    body::before {
        width: 320px;
        height: 320px;
        opacity: 0.03;
        filter: blur(2px);
    }

    .footer-mascot-img {
        width: 90px;
        height: 90px;
        border-radius: 16px;
    }

    .footer-mascot-text {
        font-size: 0.85rem;
    }

    .contact-strip {
  margin-top: 32px;
}

.contact-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Name + Email aynı satırda */
.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Ortak input/textarea stili */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Textarea biraz daha rahat */
.contact-form textarea {
  resize: vertical;
}

/* Buton */
.contact-form button {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

}
.contact-strip {
  margin-top: 32px;
}

.contact-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Name + Email aynı satırda */
.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Ortak input/textarea stili */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Textarea biraz daha rahat */
.contact-form textarea {
  resize: vertical;
}

/* Buton */
.contact-form button {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.lang-switch {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-left: 12px;
}
.lang-switch:hover {
  opacity: 1;
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-card-link:hover .service-card {
  transform: translateY(-3px);
  transition: transform 0.15s ease-out;
}
