/* OTV4 Modern & High-End Design System */

:root {
    --night-blue: #020617;
    --accent-turquoise: #22d3ee;
    --accent-indigo: #6366f1;
    --pure-white: #ffffff;
    --slate-text: #94a3b8;
}

body {
    background-color: var(--night-blue);
    color: var(--slate-text);
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
}

.glass-nav {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--pure-white);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-turquoise), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    30% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.animate-shimmer {
    animation: shimmer 4s infinite linear;
}

/* Tablet Showcase Frame */
.tablet-frame {
    border: 12px solid #1e293b;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 211, 238, 0.1);
    background: #000;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--night-blue);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-turquoise);
}

/* Buttons */
.btn-primary {
    background: var(--accent-turquoise);
    color: var(--night-blue);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(34, 211, 238, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--pure-white);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Image Zoom Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 200; /* Navigasyonun da üzerinde olsun */
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* Mobilde daha geniş alan için azaltıldı */
    cursor: zoom-out;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 95%; /* Mobilde daha büyük görünsün */
    max-height: 90vh;
    border-radius: 0.75rem;
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-modal.active img {
    transform: scale(1);
}

@media (min-width: 1024px) {
    .image-modal {
        padding: 2rem;
    }
    .image-modal img {
        max-width: 85%;
    }
}

/* Product Story Sections */
.content-section {
    padding: 6rem 0;
    position: relative;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading h2,
.solution-copy h2,
.ai-showcase-copy h2,
.final-cta h2 {
    margin: 0.75rem 0 1rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
}

.section-heading p,
.solution-copy p,
.ai-showcase-copy > p,
.final-cta > p {
    font-size: 1rem;
    line-height: 1.8;
    color: #94a3b8;
}

.section-kicker {
    display: inline-flex;
    color: var(--accent-turquoise);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ai-hero-spotlight {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 1.75rem;
    width: min(820px, calc(100% - 2rem));
    margin: 0 auto 3rem;
    padding: 1.1rem 1.6rem 1.1rem 1rem;
    text-align: left;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 12% 50%, rgba(34, 211, 238, 0.15), transparent 27%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(8, 15, 31, 0.74));
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.05) inset,
        0 22px 65px rgba(0, 0, 0, 0.3),
        0 0 45px rgba(34, 211, 238, 0.08);
    overflow: hidden;
    text-decoration: none;
    animation: aiFrameGlow 2.6s ease-in-out infinite;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ai-hero-spotlight::before {
    content: "";
    position: absolute;
    inset: -70% -20%;
    background: linear-gradient(110deg, transparent 38%, rgba(103, 232, 249, 0.12) 48%, rgba(129, 140, 248, 0.15) 52%, transparent 62%);
    transform: translateX(-55%);
    animation: aiSweep 3.6s ease-in-out infinite;
    pointer-events: none;
}

.ai-hero-spotlight:hover {
    transform: translateY(-3px);
    border-color: rgba(103, 232, 249, 0.7);
}

@keyframes aiFrameGlow {
    0%, 100% {
        box-shadow: 0 22px 65px rgba(0, 0, 0, 0.3), 0 0 22px rgba(34, 211, 238, 0.08);
    }
    50% {
        box-shadow: 0 22px 65px rgba(0, 0, 0, 0.3), 0 0 38px rgba(34, 211, 238, 0.24);
    }
}

@keyframes aiSweep {
    0%, 30% { transform: translateX(-55%); }
    70%, 100% { transform: translateX(55%); }
}

.ai-hero-robot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 145px;
}

.ai-hero-robot lottie-player {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.22));
}

.ai-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    color: #67e8f9;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ai-pulse-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.ai-hero-title {
    margin: 0 0 0.55rem;
    line-height: 1;
}

.ai-hero-title > span {
    display: block;
    width: fit-content;
    color: #67e8f9;
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(34, 211, 238, 0.28);
}

.ai-hero-title > small {
    display: block;
    margin-top: 0.35rem;
    color: #fff;
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-hero-action {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 750;
}

.ai-hero-action span {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9;
    animation: aiArrow 1.5s ease-in-out infinite;
}

@keyframes aiArrow {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(3px); }
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin: -1rem auto 2.5rem;
    padding: 0 1rem;
}

.hero-proof-row span {
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.05);
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 700;
}

.role-card {
    position: relative;
    min-height: 100%;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.6rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.62), rgba(15, 23, 42, 0.4));
}

.role-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.08);
    filter: blur(25px);
}

.role-card-student::after {
    background: rgba(99, 102, 241, 0.12);
}

.role-card-parent::after {
    background: rgba(236, 72, 153, 0.09);
}

.role-icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.55rem;
}

.role-label {
    color: var(--accent-turquoise);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.role-card h3,
.feature-detail-card h3,
.workflow-step h3 {
    margin: 0.55rem 0 0.75rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.role-card > p,
.feature-detail-card p,
.workflow-step p {
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.7;
}

.feature-check-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.feature-check-list li {
    position: relative;
    padding-left: 1.35rem;
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.5;
}

.feature-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-turquoise);
    font-weight: 900;
}

.solution-panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 4rem);
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.08), transparent 35%),
        rgba(15, 23, 42, 0.55);
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--accent-turquoise);
    font-size: 0.82rem;
    font-weight: 800;
}

.benefit-tile {
    min-height: 150px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.2rem;
    background: rgba(2, 6, 23, 0.5);
}

.benefit-tile strong,
.trust-grid strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
    font-size: 0.9rem;
}

.benefit-tile span,
.trust-grid span {
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.55;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-detail-card {
    min-height: 220px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.4rem;
    background: rgba(15, 23, 42, 0.54);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.feature-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(30, 41, 59, 0.65);
}

.feature-symbol {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 0.9rem;
    background: rgba(34, 211, 238, 0.06);
    font-size: 1.3rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.workflow-step {
    position: relative;
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.4rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.36));
}

.workflow-step > span {
    color: rgba(34, 211, 238, 0.42);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ai-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.ai-image-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 530px;
}

.ai-image-stack img {
    width: min(270px, 65%);
    max-height: 510px;
    object-fit: cover;
    object-position: top;
    border: 5px solid #1e293b;
    border-radius: 1.5rem;
    background: #020617;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.ai-image-stack img:last-child {
    margin-left: -4.5rem;
    transform: translateY(2.25rem);
}

.feature-check-list-large {
    margin: 1.5rem 0;
}

.feature-check-list-large li {
    font-size: 0.88rem;
}

.ai-disclaimer {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 0.9rem;
    background: rgba(250, 204, 21, 0.05);
    color: #cbd5e1 !important;
    font-size: 0.74rem !important;
    line-height: 1.6 !important;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.trust-grid > div {
    padding: 1.4rem;
    border-left: 2px solid var(--accent-turquoise);
    border-radius: 0 1rem 1rem 0;
    background: rgba(15, 23, 42, 0.48);
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list details {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.55);
    overflow: hidden;
}

.faq-list summary {
    position: relative;
    padding: 1.15rem 3rem 1.15rem 1.25rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-turquoise);
    font-size: 1.3rem;
}

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

.faq-list details p {
    padding: 0 1.25rem 1.2rem;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.7;
}

.final-cta {
    padding: clamp(2rem, 6vw, 4.5rem);
    text-align: center;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 50% 0, rgba(34, 211, 238, 0.13), transparent 45%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.78));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.final-cta > p {
    max-width: 720px;
    margin: 0 auto 2rem;
}

@media (max-width: 1023px) {
    .content-section {
        padding: 4.5rem 0;
    }

    .solution-panel,
    .ai-showcase {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .content-section {
        padding: 3.75rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .section-heading p,
    .solution-copy p,
    .ai-showcase-copy > p,
    .final-cta > p {
        font-size: 0.9rem;
    }

    .ai-hero-spotlight {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0.8rem;
        width: calc(100% - 0.75rem);
        margin-bottom: 2.25rem;
        padding: 0.85rem;
        border-radius: 1.25rem;
    }

    .ai-hero-robot {
        min-height: 92px;
    }

    .ai-hero-robot lottie-player {
        width: 96px;
        height: 96px;
    }

    .ai-hero-badge {
        margin-bottom: 0.45rem;
        font-size: 0.54rem;
        letter-spacing: 0.08em;
    }

    .ai-hero-title {
        margin-bottom: 0.4rem;
    }

    .ai-hero-title > span {
        font-size: 1.15rem;
        line-height: 1.02;
    }

    .ai-hero-title > small {
        margin-top: 0.32rem;
        font-size: 0.58rem;
        letter-spacing: 0.06em;
    }

    .ai-hero-action {
        margin-top: 0.65rem;
        font-size: 0.58rem;
    }

    .solution-panel {
        gap: 2rem;
        padding: 1.25rem;
        border-radius: 1.4rem;
    }

    .benefit-tile {
        min-height: 135px;
        padding: 1rem;
    }

    .feature-grid,
    .workflow-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail-card {
        min-height: 0;
    }

    .ai-image-stack {
        min-height: 420px;
    }

    .ai-image-stack img {
        width: min(220px, 68%);
        max-height: 400px;
    }

    .ai-image-stack img:last-child {
        margin-left: -5rem;
        transform: translateY(1.5rem);
    }
}

/* Geniş ekran atmosferi: içerik okunaklı kalırken boş yan alanlara derinlik verir. */
@media (min-width: 1280px) {
    body {
        background-color: var(--night-blue);
        background-image:
            radial-gradient(ellipse 32vw 42vh at -7% 18%, rgba(34, 211, 238, 0.13), transparent 72%),
            radial-gradient(ellipse 30vw 46vh at 107% 25%, rgba(99, 102, 241, 0.14), transparent 72%),
            radial-gradient(ellipse 26vw 42vh at -5% 72%, rgba(168, 85, 247, 0.08), transparent 74%),
            radial-gradient(ellipse 28vw 44vh at 105% 84%, rgba(34, 211, 238, 0.09), transparent 72%),
            linear-gradient(rgba(34, 211, 238, 0.018) 1px, transparent 1px),
            linear-gradient(90deg, rgba(99, 102, 241, 0.018) 1px, transparent 1px);
        background-size:
            auto,
            auto,
            auto,
            auto,
            72px 72px,
            72px 72px;
        background-attachment: fixed;
    }
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 300;
    margin: 0 auto;
    max-width: 980px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 1.25rem;
    background: rgba(2, 6, 23, 0.97);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
}

.cookie-consent[hidden],
.cookie-settings-button[hidden],
.cookie-consent__details[hidden] {
    display: none;
}

.cookie-consent__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem;
}

.cookie-consent__copy strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 0.92rem;
}

.cookie-consent__copy p,
.cookie-consent__details {
    color: #cbd5e1;
    font-size: 0.76rem;
    line-height: 1.6;
}

.cookie-consent__copy a {
    color: var(--accent-turquoise);
    font-weight: 700;
    text-decoration: underline;
}

.cookie-consent__details {
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
}

.cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(94px, 1fr));
    gap: 0.55rem;
}

.cookie-consent__actions button {
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 0.75rem;
    background: rgba(34, 211, 238, 0.08);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus-visible {
    border-color: var(--accent-turquoise);
    background: rgba(34, 211, 238, 0.18);
    color: #fff;
    outline: none;
}

.cookie-settings-button {
    position: fixed;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 290;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.92);
    color: #cbd5e1;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
    .cookie-consent__content {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        grid-template-columns: 1fr;
    }
}


