/* ============================================
   Multi-brand: AnahtarBulucu (#2684d1) / KargoBulucu (#ff6a00)
   ============================================ */

:root {
    --primary: #2684d1;
    --primary-dark: #1d6aab;
    --primary-light: #4a9adb;
    --primary-50: #f3f8fc;
    --primary-100: #dceaf6;
    
    --accent: #fc5d4b;
    --accent-dark: #e84a39;
    --accent-50: #fff5f4;

    --found: #f97316;
    --found-dark: #ea580c;
    --found-50: #fff7ed;
    
    --surface-muted: #a8b1b7;
    
    --success: #22c55e;
    --success-bg: #ecfdf3;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --error: #ef4444;
    --error-bg: #fef2f2;
    
    --white: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f3f5f6;
    --gray-200: #e6eaed;
    --gray-300: #d0d6db;
    --gray-400: #9aa3ab;
    --gray-500: #6b757e;
    --gray-600: #4a535b;
    --gray-700: #333b42;
    --gray-800: #1f252a;
    --gray-900: #12161a;
    --black: #0a0c0e;
    
    --shadow-sm: none;
    --shadow: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --shadow-2xl: none;
    --shadow-glow: none;
    --shadow-card: none;
    
    --radius-sm: 0;
    --radius: 2px;
    --radius-lg: 2px;
    --radius-xl: 2px;
    --radius-2xl: 2px;
    --radius-full: 9999px;
    
    --transition-fast: 120ms ease;
    --transition: 160ms ease;
    --transition-slow: 200ms ease;
    --transition-bounce: 160ms ease;
}

body.theme-kargobulucu {
    --primary: #ff6a00;
    --primary-dark: #e55f00;
    --primary-light: #ff8533;
    --primary-50: #fff7f0;
    --primary-100: #ffe4cc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--primary-light);
    color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

header.scrolled {
    background: var(--white);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-decoration: none;
}

.logo-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.logo-product {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

.logo:hover .logo-brand {
    color: var(--primary-dark);
}


/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 0;
    transition: color var(--transition);
}

nav a:hover {
    color: var(--primary);
    background: transparent;
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
    background: transparent;
}

nav a.nav-box {
    margin-left: auto;
    background: var(--found);
    color: #ffffff !important;
    border-radius: 0;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
}

nav a.nav-box:hover,
nav a.nav-box.active {
    background: var(--found-dark);
    border-color: transparent;
    color: #ffffff !important;
}

#userInfo {
    align-items: center;
    gap: 4px;
}

#userInfo:not(.hidden) {
    display: flex;
}

#userInfo.hidden {
    display: none;
}

#userInfo a {
    margin-right: 0 !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all var(--transition);
}

.menu-toggle:hover {
    background: var(--gray-200);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MAIN WRAPPER
   ============================================ */
main {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: var(--primary);
    color: var(--white);
    padding: 80px 24px 72px;
    position: relative;
    text-align: center;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hero .hero-subtitle {
    display: block;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero .hero-slogan {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
}

.hero--small {
    padding: 48px 24px;
}

.hero--small h1 {
    font-size: clamp(28px, 4vw, 36px);
}

.home-specs {
    background: var(--gray-900);
    color: var(--white);
    border-bottom: 1px solid var(--gray-800);
}

.home-specs-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.home-spec {
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    border-right: 1px solid var(--gray-800);
}

.home-spec:last-child {
    border-right: none;
}

/* ============================================
   SECTIONS - Consistent spacing
   ============================================ */
.section {
    padding: 64px 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.section--lead {
    padding-top: 48px;
    padding-bottom: 16px;
}

.section--lead p {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

.section--compact {
    padding-top: 32px;
}

.section-header {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.section h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 8px;
    text-align: center;
}

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

.section > p,
.section-title > p {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-centered {
    text-align: center;
}

/* ============================================
   CARDS / BOXES
   ============================================ */
.system-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: transparent;
    border: 1px solid var(--gray-200);
}

.system-box {
    background: var(--white);
    border-radius: 0;
    padding: 24px 28px;
    position: relative;
    border: none;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: none;
}

.system-box:nth-child(2n) {
    border-right: none;
}

.system-box:nth-last-child(-n+2) {
    border-bottom: none;
}

.system-box:hover {
    background: var(--gray-50);
}

.system-box h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.system-box p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.system-box--wide {
    grid-column: 1 / -1;
}

/* Three boxes */
.three-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition);
}

.box:hover {
    border-color: var(--gray-300);
}

.box h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.box p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   STEPS - Numbered cards with icons
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: transparent;
    border: 1px solid var(--gray-200);
    counter-reset: step;
}

.step {
    background: var(--white);
    border-radius: 0;
    padding: 28px 28px;
    padding-top: 56px;
    position: relative;
    border: none;
    border-right: 1px solid var(--gray-200);
    box-shadow: none;
    counter-increment: step;
    transition: background var(--transition);
}

.step:last-child {
    border-right: none;
}

.step:hover {
    background: var(--gray-50);
}

.step::before {
    content: counter(step);
    position: absolute;
    top: 24px;
    left: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--primary);
}

.step h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   FORMS - Consistent styling
   ============================================ */
.form-container {
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 0;
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
    box-shadow: none;
}

.form-container--panel {
    max-width: 480px;
    padding: 40px 36px;
}

.form-container--wide {
    max-width: 520px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-icon--primary {
    background: var(--primary-50);
    color: var(--primary);
}

.form-icon--success {
    background: var(--success-bg);
    color: var(--success);
}

.form-icon--found {
    background: var(--found-50);
    color: var(--found);
}

.form-icon--warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.form-icon--error {
    background: var(--error-bg);
    color: var(--error);
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--gray-300);
    border-radius: 0;
    background: var(--white);
    color: var(--gray-900);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-divider {
    border-top: 1px solid var(--gray-200);
    margin: 24px 0;
    padding-top: 24px;
}

.form-divider p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.form-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.form-footer p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-footer a {
    color: var(--primary);
    font-weight: 500;
}

.form-footer a:hover {
    color: var(--primary-dark);
}

/* Buttons - Consistent styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background var(--transition);
    background: var(--primary);
    color: var(--white);
}

.btn:hover {
    background: var(--primary-dark);
    box-shadow: none;
}

.btn:active {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn svg {
    flex-shrink: 0;
}

.btn--success {
    background: var(--success);
}

.btn--success:hover {
    background: #16a34a;
}

.btn--found {
    background: var(--found);
}

.btn--found:hover {
    background: var(--found-dark);
}

.btn--warning {
    background: var(--warning);
}

.btn--warning:hover {
    background: #d97706;
}

.btn--secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn--secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

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

.btn--outline:hover {
    background: var(--primary-50);
}

.btn--inline {
    width: auto;
}

/* ============================================
   ALERTS - Consistent styling
   ============================================ */
.alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.alert p {
    margin: 0;
    line-height: 1.5;
}

.alert-success {
    background: var(--success-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: var(--error-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-dark);
    border: 1px solid var(--primary-100);
}

.alert-warning {
    background: var(--warning-bg);
    color: #92400e;
    border: 1px solid #fde68a;
}

/* ============================================
   TABLES - Consistent styling
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 16px 24px;
    text-align: left;
}

table thead {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

table thead th {
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-fast);
}

table tbody tr:last-child {
    border-bottom: none;
}

table tbody tr:hover {
    background: var(--gray-50);
}

table td {
    font-size: 14px;
    color: var(--gray-700);
}

/* ============================================
   BADGES & STATUS - Consistent styling
   ============================================ */
.code-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--success-bg);
    color: #065f46;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

/* ============================================
   FOOTER - Consistent styling
   ============================================ */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-section ul a:hover {
    color: var(--white);
}

.footer-info {
    border-top: 1px solid var(--gray-800);
}

.footer-info-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.footer-info-block h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-info-block p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-info-block p strong {
    color: var(--gray-400);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.footer-bottom a {
    color: var(--primary-light);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   USER GUIDE SECTION - Consistent styling
   ============================================ */
.user-guide-section {
    background: var(--primary);
    padding: 56px 24px;
    margin: 0;
}

.user-guide-section::before {
    display: none;
}

.user-guide-heading {
    text-align: center;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.3px;
}

.user-guide-text {
    text-align: center;
    font-size: 18px;
    margin: 16px auto;
    max-width: 800px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.user-guide-text strong {
    font-weight: 700;
    color: var(--white);
}

/* ============================================
   LABEL WARNING SECTION - Consistent styling
   ============================================ */
.label-warning {
    background: var(--gray-100);
    padding: 56px 24px;
    margin: 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.label-warning h3 {
    text-align: center;
    color: var(--gray-900);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.label-warning-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    background: transparent;
    border: 1px solid var(--gray-300);
}

.label-warning-item {
    background: var(--white);
    border: none;
    border-right: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    border-radius: 0;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-700);
}

.label-warning-item:nth-child(2n) {
    border-right: none;
}

.label-warning-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.label-warning-item:hover {
    background: var(--gray-50);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gray-100);
    padding: 72px 24px;
    text-align: center;
    border-top: none;
}

.cta-section--product {
    background: var(--gray-900);
    padding: 88px 24px;
}

.cta-section--success {
    background: var(--success);
}

.cta-section--found {
    background: var(--found);
}

.cta-section--found h2 {
    color: var(--white);
}

.cta-section--found p {
    color: rgba(255, 255, 255, 0.88);
}

.cta-section::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.cta-section--product h2 {
    color: var(--white);
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.65;
}

.cta-section--product p {
    color: rgba(255, 255, 255, 0.62);
}

.cta-section .btn {
    display: inline-flex;
    width: auto;
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
    border-radius: 0;
    font-size: 14px;
    padding: 12px 20px;
}

.cta-section .btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   ACCOUNT SECTION - Consistent styling
   ============================================ */
.account-links {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.account-links a {
    display: inline-flex;
    align-items: center;
    margin: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--transition);
}

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

.account-links a.delete-link {
    color: var(--error);
}

.account-links a.delete-link:hover {
    color: var(--accent-dark);
}

.account-links svg {
    margin-right: 6px;
}

/* ============================================
   MISC ELEMENTS - Consistent styling
   ============================================ */
.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 20px;
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.location-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.location-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-btn svg {
    flex-shrink: 0;
}

.form-container a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}

.form-container a:hover {
    color: var(--primary-dark);
}

.kvkk-link {
    color: var(--primary) !important;
    text-decoration: underline !important;
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--gray-200);
    margin: 0;
}

/* Language Selector */
.language-selector select {
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state svg {
    margin-bottom: 16px;
    color: var(--gray-300);
}

.empty-state p {
    color: var(--gray-500);
    font-size: 14px;
}

/* Code display */
.code-display {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .system-boxes {
        grid-template-columns: 1fr;
    }

    .system-box,
    .system-box:nth-child(2n) {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .system-box:last-child {
        border-bottom: none;
    }
    
    .three-boxes,
    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .step:last-child {
        border-bottom: none;
    }

    .home-specs-inner {
        grid-template-columns: 1fr;
    }

    .home-spec {
        border-right: none;
        border-bottom: 1px solid var(--gray-800);
        letter-spacing: 0.12em;
    }

    .home-spec:last-child {
        border-bottom: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 64px;
    }
    
    .logo-brand {
        font-size: 16px;
    }

    .logo-product {
        font-size: 10px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-sm);
        gap: 4px;
    }
    
    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px;
        border-radius: 0;
    }

    nav a.nav-box {
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
        margin-bottom: 0;
    }
    
    #userInfo {
        flex-direction: column;
        width: 100%;
    }
    
    #userInfo a {
        width: 100%;
        margin: 0 !important;
    }
    
    main {
        margin-top: 64px;
    }
    
    .hero {
        padding: 64px 20px 56px;
    }
    
    .hero--small {
        padding: 56px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero--small h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section {
        padding: 56px 20px;
    }
    
    .section--compact {
        padding-top: 40px;
    }
    
    .section-header {
        gap: 12px;
    }
    
    .form-container {
        max-width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
        padding: 32px 24px;
        border-radius: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 48px 20px;
        gap: 40px;
    }
    
    .footer-info-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }
    
    .label-warning-content {
        grid-template-columns: 1fr;
    }

    .label-warning-item,
    .label-warning-item:nth-child(2n) {
        border-right: none;
        border-bottom: 1px solid var(--gray-300);
    }

    .label-warning-item:last-child {
        border-bottom: none;
    }
    
    .user-guide-section {
        padding: 56px 20px;
    }
    
    .user-guide-text {
        font-size: 16px;
    }
    
    .cta-section {
        padding: 56px 20px;
    }
    
    .cta-section h2 {
        font-size: 26px;
    }
    
    .account-links a {
        display: block;
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero--small h1 {
        font-size: 24px;
    }
    
    .section h2 {
        font-size: 24px;
    }
    
    .form-container {
        max-width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
        padding: 28px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    table th,
    table td {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .system-box {
        padding: 22px 20px;
    }
    
    .step {
        padding: 28px 24px;
        padding-top: 56px;
    }
    
    .step::before {
        top: 24px;
        left: 24px;
        font-size: 13px;
    }
}


/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden { display: none; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

.icon-inline {
    vertical-align: middle;
    margin-right: 6px;
}

.form-icon--large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.form-help {
    display: block;
    margin-top: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.textarea--short {
    min-height: 80px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-address {
    margin-top: 12px;
    white-space: pre-line;
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.spinner--dark {
    border-color: var(--gray-200);
    border-top-color: var(--primary);
}

.spinner--small {
    width: 16px;
    height: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 16px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 16px;
}
