/* Genel Ayarlar ve Reset */
:root {
    --color-dark-bg: #0A031A; /* Koyu Mor/Siyah Arkaplan */
    --color-primary: #A855F7; /* Parlak Mor Vurgu */
    --color-text-light: #FFFFFF;
    --color-text-grey: #D1D5DB;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

@keyframes appear {
    from {
        scale: 0.4;
        opacity: 0;
    }
    to {
        scale: 1;
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-light);
    background-color: var(--color-dark-bg);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.ngga {
    position: absolute;
    animation: appear 5s ease-in-out;
    animation-timeline: view();
    animation-range: entry 0;
}

a:hover {
    color: var(--color-text-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(10, 3, 26, 0.95); /* Hafif şeffaflık */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    background-color: var(--color-primary);
    color: var(--color-dark-bg);
    border-radius: 6px;
    padding: 2px 7px;
    margin-right: 5px;
    line-height: 1;
}

.logo-text {
    font-size: 12px;
    font-weight:normal;
}

.nav a {
    margin-left: 30px;
    color: var(--color-text-light);
    font-weight: 600;
    opacity: 0.8;
}

.nav a:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* --- Call To Action Buttons --- */
.cta-button {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.primary-cta {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: 2px solid var(--color-primary);
}

.primary-cta:hover {
    background-color: #9333ea;
    border-color: #9333ea;
}

.secondary-cta {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.secondary-cta:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* --- 1. Hero Section --- */
.hero-section {
    text-align: center;
    padding: 120px 0 60px;
    background: radial-gradient(circle at center top, rgba(168, 85, 247, 0.1) 0%, rgba(10, 3, 26, 1) 70%);
}

.pre-header {
    color: var(--color-text-grey);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.main-title {
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--color-primary);
}

.subtitle {
    font-size: 18px;
    color: var(--color-text-grey);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions .action-btn {
    margin: 0 10px;
}

.arrow-icon, .doc-icon {
    font-size: 18px;
}

.separator {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin-top: 60px;
}

/* --- 2. Why Choose Kin Section --- */
.why-choose-section {
    padding: 80px 0;
    text-align: center;
}

.why-choose-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 50px;
}

.core-values {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 40px;
    margin-bottom: 50px;
}

.value-text {
    flex-basis: 25%;
}

.simple-fast-safe {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-primary);
}

.experience-elegance {
    color: var(--color-text-grey);
    margin-top: 15px;
    font-size: 18px;
}

.feature-list {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item h3 {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 700;
}

.feature-item p {
    color: var(--color-text-grey);
}

.feature-icon {
    font-size: 30px;
    display: inline-block;
    color: var(--color-primary);
}

.code-preview {
    flex-basis: 40%;
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}

.code-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.file-name {
    color: #aaa;
    margin-left: 10px;
    font-size: 14px;
}

.kin-code {
    display: block;
    padding: 15px;
    font-family: 'Fira Code', 'SF Mono', monospace;
    font-size: 14px;
    color: #f8f8f2;
    white-space: pre-wrap;
    background-color: #1a1a2e;
}
.kin-code .comment { color: #6272a4; }
.kin-code .keyword { color: #ff79c6; font-weight: 600;}
.kin-code .string { color: #f1fa8c; }
.kin-code .method { color: #ffbd2e; font-weight: 600;}
.kin-code .paranthese { color: #f8f8f2;}

.why-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- 3. Features Section (Grid) --- */
.section {
    padding: 80px 0;
}

.features-section h2, .examples-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-item {
    background-color: #180d30;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.grid-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.grid-item p {
    color: var(--color-text-grey);
}

/* --- 4. Examples Section (Cards) --- */
.examples-section {
    background-color: #14092b; /* Hafif farklı arka plan */
}

.use-case-cards {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.card {
    flex-basis: 30%;
    background-color: #221440;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 5px solid var(--color-primary);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.2);
}

.card h3 {
    color: var(--color-primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--color-text-grey);
}

/* --- Footer --- */
.footer {
    padding: 25px 0;
    background-color: #060113;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--color-text-grey);
}

.footer-links a:hover {
    color: var(--color-primary);
}