/* =========================================================
   LGS 2027 COUNTDOWN
   Yediiklim Akademi İzmir
   Mevcut exam / theme-lgs tasarım sisteminin uzantısı
========================================================= */


/* =========================================================
   COUNTDOWN CARD
========================================================= */

.lgs-countdown-card {
    position: relative;
    width: min(100%, 520px);
    padding: 36px;
    overflow: hidden;

    border: 1px solid rgba(var(--exam-primary-rgb), .14);
    border-radius: 32px;

    background:
            radial-gradient(
                    circle at 100% 0%,
                    rgba(var(--exam-primary-rgb), .14),
                    transparent 35%
            ),
            #ffffff;

    box-shadow:
            0 30px 80px rgba(15, 23, 42, .10);

    z-index: 2;
}


/* Arka plandaki dekoratif 27 */

.lgs-countdown-card::after {
    content: "27";

    position: absolute;
    right: -20px;
    bottom: -55px;

    color: rgba(var(--exam-primary-rgb), .045);

    font-size: 210px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -18px;

    pointer-events: none;
}


/* =========================================================
   COUNTDOWN TOP
========================================================= */

.lgs-countdown-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 24px;

    border-bottom: 1px solid rgba(15, 23, 42, .08);
}


.lgs-countdown-top > span:first-child {
    color: var(--exam-dark);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}


/* CANLI */

.lgs-countdown-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--exam-primary);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.lgs-countdown-live::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--exam-primary);

    box-shadow:
            0 0 0 5px rgba(var(--exam-primary-rgb), .10);

    animation: lgsLive 1.6s infinite;
}


@keyframes lgsLive {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }

}


/* =========================================================
   MAIN DAYS
========================================================= */

.lgs-countdown-main {
    position: relative;
    z-index: 2;

    padding: 35px 0 30px;
}


.lgs-countdown-days {
    display: block;

    color: var(--exam-primary);

    font-size: clamp(92px, 10vw, 145px);
    line-height: .78;

    font-weight: 900;
    letter-spacing: -9px;

    font-variant-numeric: tabular-nums;
}


.lgs-countdown-label {
    display: block;

    margin-top: 20px;

    color: var(--exam-dark);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* =========================================================
   SAAT / DAKİKA / SANİYE
========================================================= */

.lgs-countdown-small {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(15, 23, 42, .08);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}


.lgs-countdown-unit {
    padding: 22px 16px;

    border-right: 1px solid rgba(15, 23, 42, .08);
}


.lgs-countdown-unit:first-child {
    padding-left: 0;
}


.lgs-countdown-unit:last-child {
    border-right: 0;
}


.lgs-countdown-unit strong {
    display: block;

    color: var(--exam-dark);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -2px;

    font-variant-numeric: tabular-nums;
}


.lgs-countdown-unit span {
    display: block;

    margin-top: 8px;

    color: #8a8f98;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
}


/* =========================================================
   SINAV TARİHİ
========================================================= */

.lgs-countdown-date {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 25px;
}


.lgs-countdown-date-icon {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: var(--exam-primary);

    background:
            rgba(var(--exam-primary-rgb), .09);
}


.lgs-countdown-date small {
    display: block;

    color: #989ca3;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}


.lgs-countdown-date strong {
    display: block;

    margin-top: 3px;

    color: var(--exam-dark);

    font-size: 13px;
    font-weight: 800;
}


/* Tahmini tarih uyarısı */

.lgs-countdown-disclaimer {
    position: relative;
    z-index: 2;

    margin-top: 18px;
    padding: 13px 15px;

    border-radius: 13px;

    color: #737881;

    background: #f6f7f9;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   SEO CONTENT
========================================================= */

.lgs-countdown-content {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: #ffffff;
}


/* Büyük arka plan LGS */

.lgs-countdown-content::before {
    content: "LGS";

    position: absolute;
    top: 35px;
    right: -30px;

    color: rgba(var(--exam-primary-rgb), .03);

    font-size: clamp(160px, 23vw, 350px);
    line-height: .8;

    font-weight: 900;
    letter-spacing: -20px;

    pointer-events: none;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.lgs-countdown-heading {
    position: relative;
    z-index: 2;

    max-width: 800px;
}


.lgs-countdown-heading h2 {
    margin-top: 18px;

    color: var(--exam-dark);

    font-size: clamp(42px, 5.3vw, 76px);
    line-height: .98;

    font-weight: 900;
    letter-spacing: -4px;
}


.lgs-countdown-heading h2 span {
    color: var(--exam-primary);
}


.lgs-countdown-heading > p {
    max-width: 720px;

    margin-top: 27px;

    color: #69707b;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.lgs-info-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 65px;
}


.lgs-info-card {
    position: relative;

    min-height: 300px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid #e8ebef;
    border-radius: 28px;

    background: #ffffff;

    transition:
            transform .25s ease,
            box-shadow .25s ease,
            border-color .25s ease;
}


.lgs-info-card:hover {
    transform: translateY(-5px);

    border-color:
            rgba(var(--exam-primary-rgb), .20);

    box-shadow:
            0 24px 60px rgba(15, 23, 42, .08);
}


.lgs-info-number {
    display: block;

    color: var(--exam-primary);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


.lgs-info-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-top: 45px;

    border-radius: 16px;

    color: var(--exam-primary);

    background:
            rgba(var(--exam-primary-rgb), .08);

    font-size: 18px;
}


.lgs-info-card h3 {
    margin-top: 22px;

    color: var(--exam-dark);

    font-size: 23px;
    line-height: 1.1;

    font-weight: 900;
    letter-spacing: -1px;
}


.lgs-info-card p {
    margin-top: 12px;

    color: #737983;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   LGS BÖLÜMLERİ
========================================================= */

.lgs-sections {
    padding: 120px 0;

    background:
            linear-gradient(
                    180deg,
                    #f7f9fc 0%,
                    #ffffff 100%
            );
}


.lgs-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 55px;
}


.lgs-section-card {
    position: relative;

    min-height: 290px;

    padding: 30px;

    overflow: hidden;

    border-radius: 28px;

    color: #ffffff;

    background:
            linear-gradient(
                    145deg,
                    var(--exam-primary),
                    var(--exam-secondary)
            );
}


/* 2. kart koyu */

.lgs-section-card:nth-child(2) {
    background: var(--exam-dark);
}


/* 3. kart açık */

.lgs-section-card:nth-child(3) {
    color: var(--exam-dark);

    border:
            1px solid rgba(var(--exam-primary-rgb), .15);

    background: #ffffff;
}


.lgs-section-card small {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;

    opacity: .65;
}


.lgs-section-card h3 {
    margin-top: 50px;

    font-size: clamp(35px, 4vw, 52px);
    line-height: .95;

    font-weight: 900;
    letter-spacing: -3px;
}


.lgs-section-card p {
    max-width: 300px;

    margin-top: 15px;

    font-size: 13px;
    line-height: 1.65;

    opacity: .75;
}


.lgs-section-card::after {
    content: "↗";

    position: absolute;
    right: 28px;
    bottom: 25px;

    font-size: 24px;
}


/* =========================================================
   LGS DERS ETİKETLERİ
========================================================= */

.lgs-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 22px;
}


.lgs-subject {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 0 11px;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 100px;

    color: inherit;

    background: rgba(255,255,255,.08);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
}


.lgs-section-card:nth-child(3) .lgs-subject {
    border-color:
            rgba(var(--exam-primary-rgb), .15);

    background:
            rgba(var(--exam-primary-rgb), .06);
}


/* =========================================================
   FAQ
========================================================= */

.lgs-faq {
    padding: 120px 0;

    background: #ffffff;
}


.lgs-faq-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 80px;
}


.lgs-faq-heading h2 {
    margin-top: 18px;

    color: var(--exam-dark);

    font-size: clamp(40px, 4.5vw, 65px);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -4px;
}


.lgs-faq-list {
    border-top: 1px solid #e4e7eb;
}


.lgs-faq-list details {
    border-bottom: 1px solid #e4e7eb;
}


.lgs-faq-list summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 25px 5px;

    cursor: pointer;
    list-style: none;

    color: var(--exam-dark);

    font-size: 16px;
    font-weight: 800;
}


.lgs-faq-list summary::-webkit-details-marker {
    display: none;
}


.lgs-faq-list summary::after {
    content: "+";

    color: var(--exam-primary);

    font-size: 24px;
    font-weight: 500;
}


.lgs-faq-list details[open] summary::after {
    content: "−";
}


.lgs-faq-list details p {
    max-width: 720px;

    padding: 0 5px 27px;

    color: #747a83;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   SALES CTA
========================================================= */

.lgs-countdown-cta {
    padding: 20px 0 110px;

    background: #ffffff;
}


.lgs-countdown-cta-box {
    position: relative;

    padding: 70px;

    overflow: hidden;

    border-radius: 38px;

    color: #ffffff;

    background:
            radial-gradient(
                    circle at 90% 0%,
                    rgba(255,255,255,.22),
                    transparent 30%
            ),
            linear-gradient(
                    135deg,
                    var(--exam-primary),
                    var(--exam-secondary)
            );
}


/* Büyük LGS dekorasyonu */

.lgs-countdown-cta-box::after {
    content: "LGS";

    position: absolute;
    right: -25px;
    bottom: -70px;

    color: rgba(255,255,255,.10);

    font-size: 230px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -15px;

    pointer-events: none;
}


.lgs-countdown-cta-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
}


.lgs-countdown-cta-content small {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}


.lgs-countdown-cta-content h2 {
    margin-top: 17px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -4px;
}


.lgs-countdown-cta-content p {
    max-width: 620px;

    margin-top: 20px;

    color: rgba(255,255,255,.82);

    font-size: 16px;
    line-height: 1.7;
}


.lgs-countdown-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}


.lgs-countdown-cta-actions a {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 23px;

    border-radius: 100px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    transition:
            transform .2s ease,
            background .2s ease;
}


.lgs-countdown-cta-actions a:hover {
    transform: translateY(-2px);
}


.lgs-countdown-cta-primary {
    color: var(--exam-primary);

    background: #ffffff;
}


.lgs-countdown-cta-secondary {
    color: #ffffff;

    border: 1px solid rgba(255,255,255,.4);

    background: rgba(255,255,255,.08);
}


.lgs-countdown-cta-secondary:hover {
    background: rgba(255,255,255,.15);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .lgs-countdown-content,
    .lgs-sections,
    .lgs-faq {
        padding-top: 85px;
        padding-bottom: 85px;
    }


    .lgs-info-grid,
    .lgs-sections-grid {
        grid-template-columns: 1fr;
    }


    .lgs-info-card {
        min-height: 260px;
    }


    .lgs-faq-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}


@media (max-width: 600px) {

    .lgs-countdown-card {
        padding: 26px;

        border-radius: 25px;
    }


    .lgs-countdown-days {
        font-size: 100px;

        letter-spacing: -7px;
    }


    .lgs-countdown-unit {
        padding: 20px 10px;
    }


    .lgs-countdown-unit strong {
        font-size: 27px;
    }


    .lgs-countdown-heading h2,
    .lgs-faq-heading h2,
    .lgs-countdown-cta-content h2 {
        letter-spacing: -2px;
    }


    .lgs-countdown-cta-box {
        padding: 45px 27px;

        border-radius: 27px;
    }


    .lgs-countdown-cta-box::after {
        font-size: 150px;
    }


    .lgs-countdown-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .lgs-countdown-cta-actions a {
        width: 100%;
    }

}