/* -------------------------------------- */
/* RENK PALETİ */
/* -------------------------------------- */
:root {
    --dark-1: #050A18;
    --dark-2: #0A1D3A;
    --dark-3: #12346B;
    --dark-4: #1B3F8B;

    --light: #e9edff;
    --white: #ffffff;
    --accent: #3D66F5;
}

/* -------------------------------------- */
/* GENEL AYARLAR */
/* -------------------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: var(--dark-1);
    color: var(--light);
}

/* Canvas - Partiküller */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1;
    pointer-events: none;
}

/* Neon grid arka plan */
.neon-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right, rgba(61,102,245,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(61,102,245,0.06) 1px, transparent 1px);
    background-size: 70px 70px;
    z-index: -9;
    pointer-events: none;
}

/* Başlıklar */
h1, h2, h3 {
    margin: 0;
    font-weight: 600;
}

/* -------------------------------------- */
/* NAVBAR */
/* -------------------------------------- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 50, 0.55);
    backdrop-filter: blur(10px);
}

nav .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav .left img {
    height: clamp(60px, 7vw, 92px);
    width: auto;
    max-height: 92px;
}

nav .left h1 {
    font-size: 24px;
    color: var(--accent);
}

nav .right {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav .right a {
    text-decoration: none;
    color: var(--light);
    font-size: 16px;
    transition: 0.25s ease;
}

nav .right a:hover {
    color: var(--accent);
}

#themeToggle {
    background: none;
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 5px 10px;
    color: var(--accent);
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

#themeToggle:hover {
    background: var(--accent);
    color: white;
}

/* -------------------------------------- */
/* HERO BÖLÜMÜ */
/* -------------------------------------- */
.hero {
    text-align: center;
    padding: 130px 20px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 48px;
}

.hero p {
    font-size: 18px;
    margin-top: 12px;
}

/* -------------------------------------- */
/* UYGULAMA GRID */
/* -------------------------------------- */
section {
    max-width: 1100px;
    margin: auto;
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 35px;
    color: var(--accent);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    perspective: 1000px;
}

.app-card {
    background: rgba(15, 30, 60, 0.88);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 0 0 transparent;
    transition: 0.28s ease;
    transform-style: preserve-3d;
}

.app-card:hover {
    transform: translateY(-12px) rotate3d(1, 1, 0, 9deg);
    box-shadow: 0 18px 32px rgba(61, 102, 245, 0.4);
}

.app-card img {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 10px;
}

.app-card h3 {
    margin-top: 10px;
    font-size: 22px;
}

.app-card p {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 15px;
}

/* -------------------------------------- */
/* ABOUT */
/* -------------------------------------- */
.about-text {
    max-width: 850px;
    margin: auto;
    text-align: center;
    line-height: 1.6;
    font-size: 17px;
}

/* -------------------------------------- */
/* APP DOWNLOAD BUTTONS (TIKLANABİLİRLİK + NEON HOVER) */
/* Yeni görsellerin kendi boyutlarını alması için güncellendi */
/* -------------------------------------- */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.download-buttons a {
    text-decoration: none;
    color: var(--white);
    /* Gelen görselin boyutunu alması için buton stili kaldırıldı */
    background: transparent;
    padding: 0;
    border-radius: 0;

    font-weight: 600;
    font-size: 15px;
    /* Resmin kendi boyutunu kullanması için ayarlandı */
    display: inline-block; 
    
    position: relative;
    overflow: hidden;
    /* background transition kaldırıldı */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer;
    z-index: 1;
}

.download-buttons a::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61,102,245,0.35) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.5);
    pointer-events: none;
    border-radius: 50%;
    z-index: -1;
}

.download-buttons a:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.download-buttons a:hover {
    /* Hover arka plan rengi değişikliği kaldırıldı */
    background: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(61, 102, 245, 0.6), 0 0 40px rgba(61, 102, 245, 0.4);
}

.download-buttons img {
    /* Görselin kendi boyutunu korumasını sağla, ancak aşırı büyümesini engelle */
    width: auto;
    height: auto;
    max-height: 50px; 
    display: block;
    transition: transform 0.3s ease;
    z-index: 1;
}

.download-buttons a:hover img {
    /* a:hover zaten ölçeklendirme yaptığı için bu efekti kaldır */
    transform: none;
}
/* -------------------------------------- */
/* DISABLED BUTON STİLİ */
/* -------------------------------------- */
.download-buttons a.disabled-link {
    pointer-events: none; /* Tıklamayı tamamen devre dışı bırakır */
    opacity: 0.6;         /* Görsel olarak devre dışı olduğunu belli eder */
    cursor: default;      /* Fare işaretçisini varsayılan hale getirir */
}

.download-buttons a.disabled-link:hover {
    /* Hover efektlerini (yükselme, gölge) devre dışı bırak */
    transform: none;
    box-shadow: none;
}

/* Neon parıltı (a::before) efektini de kaldır */
.download-buttons a.disabled-link::before,
.download-buttons a.disabled-link:hover::before {
    opacity: 0;
}

/* -------------------------------------- */
/* FOOTER */
/* -------------------------------------- */
footer {
    background: #040813;
    padding: 50px 20px;
    text-align: center;
    font-size: 14px;
    color: #8FA3D9;
    margin-top: 40px;
}

/* -------------------------------------- */
/* TEKLİF FORM CTA BUTONU */
/* (Sadece görünüm iyileştirmesi) */
/* -------------------------------------- */
.cta-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.cta-btn {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid rgba(61, 102, 245, 0.45);
    background: linear-gradient(135deg, rgba(61, 102, 245, 0.95), rgba(27, 63, 139, 0.85));
    color: var(--white);
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-btn::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(61, 102, 245, 0.40) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(61, 102, 245, 0.75);
    box-shadow: 0 0 18px rgba(61, 102, 245, 0.45), 0 0 44px rgba(61, 102, 245, 0.22), 0 12px 28px rgba(0, 0, 0, 0.35);
}

.cta-btn:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.cta-btn:focus-visible {
    outline: 2px solid rgba(61, 102, 245, 0.85);
    outline-offset: 3px;
}

/* Responsive navbar tweaks */
@media (max-width: 480px) {
  nav { padding: 10px 16px; }
  nav .left img { height: 64px; max-height: 64px; }
  nav .right { gap: 14px; }
}


/* --- Alignment tweaks (Teklif / Hızlı İletişim) --- */
.teklif-aciklama{
  text-align:center;
  max-width:720px;
  margin: 12px auto 28px;
  opacity:.85;
}

.cta-row.center{
  display:flex;
  justify-content:center;
  align-items:center;
}
