/* ==========================================================================
   Edutime anasayfa — Kasım 2026 yeniden tasarım
   style.css'in üzerine yüklenir. Katalog dili: turuncu kapak, beyaz şerit,
   renk kodlu bölümler (Finans / Akademik / Kayıt / Yapay zekâ), dört uygulama.
   ========================================================================== */

/* ---------- Turuncu kapak (hero) ---------- */
.cover {
    position: relative;
    background: var(--grad-orange);
    color: #fff;
    padding: calc(76px + clamp(2.5rem, 6vw, 4.5rem)) 0 0;
}
.cover::before {
    /* katalog kapağındaki silik beyaz "e" */
    content: "";
    position: absolute;
    inset: 0;
    background:
        url('/assets/images/mark.png') right -160px top -40px / 720px no-repeat;
    filter: brightness(0) invert(1);
    opacity: 0.09;
    pointer-events: none;
}
.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 480px at 8% 0%, rgba(255, 255, 255, 0.22), transparent 70%);
    pointer-events: none;
}
.cover > .container { position: relative; z-index: 1; }

.cover-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.cover h1 {
    font-size: clamp(2.3rem, 4.7vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.07;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}
.cover .swipe { color: var(--ink); }
.cover-sub {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    max-width: 52ch;
    margin-bottom: 2rem;
}
.cover-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.btn-white { background: #fff; color: var(--orange-deep); box-shadow: 0 14px 30px -14px rgba(120, 40, 10, 0.7); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(120, 40, 10, 0.75); }
.btn-line { border-color: rgba(255, 255, 255, 0.85); color: #fff; }
.btn-line:hover { background: #fff; color: var(--orange-deep); border-color: #fff; }

.cover-ticks { display: grid; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; }
.cover-ticks i {
    display: inline-grid;
    place-items: center;
    width: 20px; height: 20px;
    margin-inline-end: 0.6rem;
    border-radius: 50%;
    background: #fff;
    color: var(--orange);
    font-size: 0.6rem;
}

.cover-visual { position: relative; }
.cover-visual .browser-frame { box-shadow: 0 40px 80px -30px rgba(110, 35, 5, 0.75), 0 10px 26px -12px rgba(110, 35, 5, 0.4); }
.cover-visual .toast { color: var(--ink); }
.cover-visual .toast-1 { top: -24px; right: -14px; }
.cover-visual .toast-3 { bottom: -22px; left: -24px; animation-delay: 2.4s; }

.cover .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.cover .reveal.visible { opacity: 1; transform: none; }

/* yönetim alanları şeridi */
.dock {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.55fr);
    align-items: stretch;
    gap: 0.4rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: -58px;
    padding: 0.7rem;
    background: #fff;
    border-radius: 26px;
    box-shadow: var(--shadow-pop);
    color: var(--ink);
}
.dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 0.5rem;
    border-radius: 18px;
    text-align: center;
    transition: background 0.18s ease;
}
.dock a:hover { background: var(--paper); }
.dock a > span {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--tint);
    color: #fff;
    font-size: 1.05rem;
}
.dock b { font-size: 0.84rem; font-weight: 700; line-height: 1.25; }
.dock .dock-ai {
    flex-direction: row;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: var(--ink);
    color: #fff;
    text-align: start;
}
.dock .dock-ai:hover { background: #1a2738; }
.dock .dock-ai i { font-size: 1.5rem; color: var(--amber); }
.cover + .references-strip { padding-top: calc(58px + 2.6rem); }

/* ---------- Neden: sol sabit ifade, sağda gerekçeler ---------- */
.statement { padding: var(--section-pad) 0; }
.statement-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: start;
}
.statement-lead { position: sticky; top: 110px; }
.statement-lead .section-title { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.statement-p { color: var(--ink-soft); font-size: 1.05rem; margin: 1.4rem 0 1.6rem; max-width: 46ch; }
.statement-lead .hero-news { margin-top: 1.4rem; }

/* katalogdaki bej çağrı kutusu */
.callout {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 20px;
    background: #F4E7D7;
    max-width: 440px;
}
.callout > i { font-size: 1.5rem; color: var(--orange); flex-shrink: 0; }
.callout p { font-weight: 700; line-height: 1.35; color: var(--ink); }
.callout strong { color: var(--orange); font-weight: 700; }
.callout.dark { background: rgba(255, 255, 255, 0.08); margin-top: 1.8rem; }
.callout.dark p { color: #fff; }
.callout.dark strong { color: var(--amber); }
.callout.dark > i { color: var(--amber); }

.reasons li {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}
.reasons li:first-child { padding-top: 0.3rem; }
.reasons li:last-child { border-bottom: none; }
.reason-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 16px;
    font-size: 1.15rem;
    color: var(--tint);
    background: color-mix(in srgb, var(--tint) 13%, #fff);
}
.reasons h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.reasons p { color: var(--ink-soft); font-size: 0.97rem; max-width: 52ch; }

/* ---------- Özellik bölümleri ---------- */

.feature-list { display: grid; gap: 0.6rem; }
.feature-list li { position: relative; padding-inline-start: 1.9rem; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-start: 0;
    top: 0.2em;
    display: grid;
    place-items: center;
    width: 19px; height: 19px;
    border-radius: 50%;
    background: var(--tone, var(--orange));
    color: #fff;
    font-size: 0.55rem;
}
.feature-list.light li { color: #fff; }
.feature-list.light li::before { background: var(--orange); }

/* bölüm içi mock'lar */

.inv-months { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin: 1rem 0; }
.inv-months li { position: relative; padding: 0.55rem 0.65rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.inv-months small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--ink-faint); }
.inv-months strong { font-size: 1rem; font-weight: 800; }
.inv-months li.done { background: color-mix(in srgb, var(--green) 10%, #fff); border-color: color-mix(in srgb, var(--green) 35%, #fff); }
.inv-months li.done::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0.5rem; inset-inline-end: 0.55rem;
    font-size: 0.62rem;
    color: var(--green);
}
.inv-months li.now { border: 2px solid var(--orange); box-shadow: 0 8px 18px -10px var(--orange); }
.mock-invoice .mock-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--grad-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 12px 22px -12px var(--orange);
}
.mock-invoice .mock-toast { margin-top: 0.8rem; }

.tt-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 1rem 0 0.4rem; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--ink-faint); }
.tt-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tt-grid i {
    display: block;
    padding: 0.62rem 0;
    border-radius: 10px;
    text-align: center;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}
.tt-mat { background: var(--blue); } .tt-fiz { background: var(--purple); } .tt-tur { background: var(--orange); }
.tt-kim { background: var(--green); } .tt-ing { background: var(--ink); } .tt-bio { background: var(--amber); } .tt-tar { background: var(--sage); }
.tt-grid .tt-etut { color: #8a5200; background: repeating-linear-gradient(45deg, #FFE3B8 0 8px, #FFD494 8px 16px); }
.tt-grid .tt-ozel { color: var(--purple); background: color-mix(in srgb, var(--purple) 14%, #fff); box-shadow: inset 0 0 0 2px var(--purple); }

.crm-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
}
.crm-row time { font-weight: 700; }
.crm-row b { padding: 0.18rem 0.65rem; border-radius: 999px; background: var(--c); color: #fff; font-size: 0.72rem; font-weight: 700; }
.crm-row span { color: var(--ink-soft); font-weight: 500; }
.crm-conv { margin-top: 1rem; font-size: 0.84rem; font-weight: 700; }
.crm-conv .bar { height: 9px; margin-top: 0.5rem; border-radius: 5px; background: #EFE9E0; overflow: hidden; }
.crm-conv .bar i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: var(--c); }

.mock-bus { padding: 0 0 0.9rem !important; overflow: hidden; }
.bus-map { display: block; width: 100%; height: auto; }
.bus-note {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.6rem 0.9rem 0;
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-card);
    font-size: 0.84rem;
    line-height: 1.3;
}
.bus-map + .bus-note { margin-top: -1.9rem; position: relative; }
.bus-note > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--amber); color: #fff; flex-shrink: 0; }
.bus-note.ok > i { background: var(--green); }
.bus-note strong { display: block; }
.bus-note small { color: var(--ink-soft); }

/* ---------- Yapay zekâ bandı ---------- */

/* ---------- Uygulamalar ---------- */
.apps-section { padding: var(--section-pad) 0; }
.apps-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.apps-phone { display: flex; justify-content: center; }
.apps-section .phone-frame { border-color: #1B2431; box-shadow: var(--shadow-pop); }
.apps-list { margin-top: 0.4rem; }
.app-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
}
.app-ico {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 18px;
    background: var(--app);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 12px 22px -12px var(--app);
}
.app-info h3 { font-size: 1.12rem; font-weight: 800; display: inline; }
.app-info small { color: var(--app); font-weight: 700; font-size: 0.8rem; margin-inline-start: 0.5rem; }
.app-info p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.3rem; max-width: 50ch; }
.apps-section .app-buttons { display: flex; flex-direction: column; gap: 0.45rem; margin: 0; }
.apps-section .btn-store {
    justify-content: center;
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    font-size: 0.8rem;
    padding: 0.42rem 0.9rem;
    white-space: nowrap;
}
.apps-section .btn-store:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Kurum tipleri ---------- */
.segments-section { background: #fff; padding: var(--section-pad) 0; }
.segments-section .segment-grid { margin-top: 0.5rem; }

/* ---------- Kapanış: turuncu kapak üzerinde form ---------- */
.contact-section { position: relative; overflow: hidden; background: var(--grad-orange); padding: var(--section-pad) 0; }
.contact-section::before {
    content: "";
    position: absolute;
    left: -220px; bottom: -260px;
    width: 820px; height: 820px;
    background: url('/assets/images/mark.png') center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: 0.1;
    transform: rotate(-8deg);
    pointer-events: none;
}
.contact-section .container { position: relative; }
.contact-card { background: none; border: none; box-shadow: none; padding: 0; align-items: center; }
.contact-text .section-title { color: #fff; }
.contact-text .section-title em { color: var(--ink); }
.contact-text .section-title::after { background: #fff; }
.contact-lead { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.contact-info-item h4 { color: #fff; }
.contact-info-item p, .contact-info-item a { color: rgba(255, 255, 255, 0.9); }
.contact-info-item a:hover { color: var(--ink); }
.contact-info-item > i { background: rgba(255, 255, 255, 0.2); color: #fff; }
.contact-form-wrapper { background: #fff; border: none; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(110, 35, 5, 0.7); color: var(--ink); }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1100px) {
    .dock { grid-template-columns: repeat(5, 1fr); }
    .dock .dock-ai { grid-column: 1 / -1; justify-content: center; }
    .cover + .references-strip { padding-top: calc(58px + 2.6rem); }
}
@media (max-width: 900px) {
    .cover-grid, .statement-grid, .feature-main, .ai-grid, .apps-grid { grid-template-columns: 1fr; }
    .cover-visual { max-width: 620px; margin: 1rem auto 0; width: 100%; }
    .statement-lead { position: static; }
    .feature-main.reverse .feature-text { order: 0; }
    .feature-pair { grid-template-columns: 1fr; }
    .apps-phone { order: 2; }
}
@media (max-width: 640px) {
    .dock { grid-template-columns: repeat(3, 1fr); border-radius: 22px; }
    .dock a { padding: 0.7rem 0.3rem; }
    .dock b { font-size: 0.74rem; }
    .dock a:nth-child(4), .dock a:nth-child(5) { grid-column: span 1; }
    .cover-visual .toast-1 { right: 0; }
    .cover-visual .toast-3 { left: 0; }
    .chapter { border-radius: 24px; padding: 0.9rem; }
    .chapter-head { padding: 0.4rem 0.3rem 1.1rem; }
    .chapter-icon { width: 52px; height: 52px; font-size: 1.2rem; }
    .inv-months { grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }
    .inv-months li { padding: 0.4rem; }
    .inv-months strong { font-size: 0.82rem; }
    .app-row { grid-template-columns: 48px 1fr; }
    .app-ico { width: 48px; height: 48px; }
    .apps-section .app-buttons { grid-column: 1 / -1; flex-direction: row; }
    .app-info small { display: block; margin: 0.15rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cover .reveal { opacity: 1; transform: none; }
}

/* ---------- Üst menü ---------- */
#site-header { background: #fff; }
.logo { flex-shrink: 0; margin-inline-end: 1.4rem; }
.logo img { height: 40px; width: auto; max-width: none; }
@media (min-width: 901px) { .nav-links { gap: 1.15rem; font-size: 0.9rem; } }
@media (max-width: 1180px) and (min-width: 901px) {
    .nav-links { gap: 0.85rem; font-size: 0.86rem; }
    .nav-links .nav-login span { display: none; }
    .logo img { height: 34px; }
}

/* ==========================================================================
   Özellik vitrini: solda özellik seçici, sağda seçilen özelliğin paneli
   (uzun bölüm yığınının yerine geçti)
   ========================================================================== */
.showcase { background: #fff; padding: var(--section-pad) 0; scroll-margin-top: 76px; }
.showcase-box {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    margin-top: 2.6rem;
    border-radius: 30px;
    background: var(--paper);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.showcase-nav { padding: 1.5rem 1.1rem; background: #F4ECE1; }
.sc-group + .sc-group { margin-top: 1.2rem; }
.sc-group-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
    padding: 0 0.7rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--tone);
}
.sc-group-name i { font-size: 0.85rem; }
.sc-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: start;
    transition: background 0.16s ease, color 0.16s ease;
}
.sc-tab:hover { background: rgba(255, 255, 255, 0.7); }
.sc-tab.active { background: var(--tone); color: #fff; box-shadow: 0 12px 22px -14px var(--tone); }
.sc-new {
    flex-shrink: 0;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    background: var(--grad-orange);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.sc-tab.active .sc-new { background: #fff; color: var(--tone); }

.showcase-panels { padding: clamp(1.5rem, 3.5vw, 3rem); min-height: 560px; display: flex; align-items: center; }
.sc-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
    width: 100%;
}
.sc-panel[hidden] { display: none; }
.sc-panel.active { animation: sc-in 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes sc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sc-text h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 800; line-height: 1.18; margin-bottom: 1rem; text-wrap: balance; }
.sc-text h3 em { font-style: normal; color: var(--orange); }
.sc-text > p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.sc-text .callout { margin-top: 1.5rem; }
.sc-visual .mock { max-width: none; margin: 0; transform: none; background: #fff; border: none; box-shadow: var(--shadow-pop); }
.sc-visual .mock:hover { transform: none; }

/* hero şeridi artık turuncu alanın içinde, altında boşlukla durur */
.dock { margin-bottom: 0; }
.cover { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cover + .references-strip { padding-top: 2.4rem; }

@media (max-width: 900px) {
    .showcase-box { grid-template-columns: 1fr; border-radius: 24px; }
    .showcase-nav { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.9rem; scrollbar-width: none; }
    .showcase-nav::-webkit-scrollbar { display: none; }
    .sc-group { display: flex; gap: 0.5rem; flex-shrink: 0; }
    .sc-group + .sc-group { margin-top: 0; }
    .sc-group-name { display: none; }
    .sc-tab { width: auto; white-space: nowrap; background: #fff; padding: 0.55rem 0.95rem; font-size: 0.88rem; }
    .showcase-panels { min-height: 0; }
    .sc-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sc-panel.active { animation: none; } }

/* ---------- Mobil: uygulama seçilince soldaki tanıtım kartları değişir ---------- */
.app-shots { display: none; width: min(360px, 82vw); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-pop); }
.app-shots.active { display: block; animation: sc-in 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.app-shots img { display: block; width: 100%; height: auto; }
.app-shots .carousel-dots { bottom: 14px; }
.app-shots .carousel-dots button { border: none; background: rgba(35, 52, 74, 0.25); }
.app-shots .carousel-dots button.active { background: var(--ink); }
.app-row { cursor: pointer; padding-inline: 1rem; margin-inline: -1rem; border-radius: 20px; transition: background 0.18s ease, box-shadow 0.18s ease; }
.app-row:hover { background: rgba(255, 255, 255, 0.6); }
.app-row.active { background: #fff; border-top-color: transparent; box-shadow: var(--shadow-card), inset 4px 0 0 var(--app); }
.app-row.active + .app-row { border-top-color: transparent; }
[dir="rtl"] .app-row.active { box-shadow: var(--shadow-card), inset -4px 0 0 var(--app); }

/* hero: panelin önünde yönetici uygulaması (katalog kapağı) */
.cover-phone {
    position: absolute;
    right: -26px; bottom: -64px;
    width: 148px;
    padding: 5px;
    border-radius: 26px;
    background: #1B2431;
    box-shadow: 0 30px 50px -20px rgba(80, 25, 5, 0.75);
}
.cover-phone img { display: block; width: 100%; height: auto; border-radius: 21px; }
[dir="rtl"] .cover-phone { right: auto; left: -26px; }
.cover-visual { margin-bottom: 44px; }
@media (max-width: 900px) { .cover-phone { right: -6px; width: 120px; bottom: -50px; } [dir="rtl"] .cover-phone { left: -6px; } }
@media (prefers-reduced-motion: reduce) { .app-shots.active { animation: none; } }
/* kaydırma noktaları kartın altında durur */
.app-shots { overflow: visible; box-shadow: none; border-radius: 0; }
.app-shots .carousel { padding-bottom: 34px; }
.app-shots img { border-radius: 30px; }
.app-shots .carousel-dots { bottom: 6px; }
