body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.05), rgba(0, 0, 0, 0) 55%),
        radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.04), rgba(0, 0, 0, 0) 60%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 1) 100%);
    background-attachment: fixed;
    color: #1e293b;
    overflow-x: hidden;
    margin: 0;
}

/* Arxa fon effektləri */
.ambient-light {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatGlow 18s ease-in-out infinite alternate;
}

.light-1 { 
    top: -150px; 
    left: -150px; 
}

.light-2 { 
    bottom: -150px; 
    right: -150px; 
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, rgba(0,0,0,0) 70%); 
    animation-delay: 1.8s;
}

/* Yaşıl Şüşə Kartlar */
.glass-card-green {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.8) 0%, rgba(209, 250, 229, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card-green:hover {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.9) 0%, rgba(167, 243, 208, 0.7) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 16px rgba(16, 185, 129, 0.1);
}

.glass-card-green::after {
    content: "";
    position: absolute;
    inset: -60% -40% auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18), rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-block:not(.opacity-60):hover .glass-card-green::after,
.project-block:focus-visible .glass-card-green::after {
    opacity: 1;
}

/* Thought Cards - Yeni stil */
.thought-card {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.6) 0%, rgba(226, 232, 240, 0.4) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(71, 85, 105, 0.08);
    box-shadow: 0 2px 4px rgba(71, 85, 105, 0.04);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.thought-card:hover {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.8) 0%, rgba(203, 213, 225, 0.6) 100%);
    border-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(71, 85, 105, 0.06);
}

.thought-card-accent {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.7) 0%, rgba(209, 250, 229, 0.5) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(16, 185, 129, 0.12);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.03);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.thought-card-accent:hover {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.85) 0%, rgba(167, 243, 208, 0.65) 100%);
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.08);
}

/* Düşüncə bloku */
.thought-block {
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
}

.thought-block:hover {
    transform: translateY(-2px);
}

.thought-block:focus-visible .thought-card {
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Tag styling */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
}

.tag.slate {
    background: rgba(71, 85, 105, 0.06);
    color: rgba(71, 85, 105, 0.6);
}

/* Animasiyalar */
.fade-in-up {
    animation: fadeInUp 1.0s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.reveal-in {
    opacity: 0;
    transform: translateY(12px);
    animation: revealIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(18px, -12px, 0) scale(1.05);
    }
}

/* İkon Wrapper - eski stil (əgər yenə istifadə edilirsə) */
.icon-wrapper {
    transition: all 0.3s ease;
}

.project-block:not(.opacity-60):hover .icon-wrapper {
    transform: scale(1.15);
}

/* Responsive - Telefon */
@media (max-width: 768px) {
    body {
        background-color: #f8fafc;
        background-attachment: scroll;
    }

    header {
        padding-top: 4rem;
    }

    .glass-card-green {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }

    h1 {
        font-size: 1.875rem !important;
    }

    .text-xl {
        font-size: 1.125rem !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .glass-card-green {
        padding: 2rem;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .glass-card-green {
        padding: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Thoughts container */
.thoughts-container {
    max-width: 700px;
    margin: 0 auto;
}


/* Header and page layout (Tailwind-free replacements) */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(71,85,105,0.06);
    box-shadow: 0 2px 6px rgba(16,185,129,0.03);
    position: sticky;
    top: 0;
    z-index: 20;
}

.page-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    font-size: 1rem;
    margin: 0;
}

.site-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin: 2px 0 0 0;
}

.right-label {
    font-size: 0.85rem;
    color: #64748b;
    font-family: 'Monaco', monospace;
    white-space: nowrap;
}

.page-main {
    min-height: 70vh;
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Headlines and copy adjustments for Tailwind class fallbacks */
.thoughts-container h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #0f172a;
    margin-bottom: 1rem;
}

.thoughts-container p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-inner { 
        padding: 0.4rem 0.75rem; 
    }
    .site-title {
        font-size: 0.95rem;
    }
    .site-subtitle {
        font-size: 0.75rem;
        margin-top: 1px;
    }
    .right-label {
        font-size: 0.75rem;
    }
    .page-main { padding: 2.5rem 0.75rem; }
    .thoughts-container h1 { font-size: 1.75rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .page-inner {
        padding: 0.45rem 1rem;
    }
}
