/* ========================================================
   HERO
======================================================== */
.hero-section {
    height: 100vh;
    min-height: 680px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Video/poster yüklenene kadar (veya prefers-reduced-motion'da) düşen taban katman */
    background:
        radial-gradient(circle at 20% 30%, rgba(175, 120, 244, 0.25), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(46, 199, 230, 0.2), transparent 55%),
        #000;
}

.hero-bg-video,
.hero-bg-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(163, 138, 235, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 55%, #000 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 84px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.hero-subtitle {
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 300;
    line-height: normal;
    margin: 0 0 40px;
    white-space: nowrap;
}

.hero-subtitle::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--color-accent);
    margin-left: 2px;
}

.hero-cta-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll-cue .scroll-dot {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll-cue .scroll-dot::before {
    content: '';
    width: 4px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    animation: float 1.6s ease-in-out infinite;
}

/* ========================================================
   SHARED DECORATIVE ORBS / PARTICLES
======================================================== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: moveOrb 30s infinite ease-in-out;
}

.orb-1 { width: 300px; height: 300px; background: #2a2a2a; top: 10%; left: 10%; animation-duration: 25s; }
.orb-2 { width: 200px; height: 200px; background: #1a1a1a; bottom: 20%; right: 15%; animation-duration: 20s; animation-delay: -5s; }
.orb-3 { width: 150px; height: 150px; background: #333; top: 40%; right: 30%; opacity: 0.2; animation-duration: 18s; }

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: floatParticle 10s infinite linear;
}

.p-1 { top: 20%; left: 20%; animation-duration: 15s; }
.p-2 { top: 70%; left: 80%; animation-duration: 20s; }
.p-3 { top: 50%; left: 50%; animation-duration: 25s; }
.p-4 { top: 80%; left: 10%; animation-duration: 18s; }
.p-5 { top: 10%; right: 20%; animation-duration: 22s; }

/* ========================================================
   ABOUT ("Biz Kimiz ?")
======================================================== */
.about-section {
    min-height: 100vh;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg);
}

.about-section h1 {
    text-align: center;
    font-size: 72px;
    font-weight: 600;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.about-body {
    color: var(--color-text-secondary);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

/* ========================================================
   PROBLEM SECTION (new)
======================================================== */
.problem-section {
    background: var(--color-bg);
}

/* ========================================================
   SERVICES (marquee)
======================================================== */
.services-section {
    min-height: 100vh;
    background-color: var(--color-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider {
    height: 400px;
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 5;
}

.slider::before { left: 0; top: 0; }
.slider::after { right: 0; top: 0; transform: rotateZ(180deg); }

.slide-track {
    display: flex;
    width: 3520px;
    animation: marquee-scroll 40s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
}

.service-card {
    background-color: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    width: 400px;
    height: 300px;
    margin: 0 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    background: rgba(163, 138, 235, 0.05);
}

.service-card h3 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

/* ========================================================
   HOW IT WORKS (new)
======================================================== */
.how-section {
    background: var(--color-bg);
}

.how-step {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.how-step-index {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: var(--color-accent-soft);
}

/* ========================================================
   PROJECTS
======================================================== */
.projects-section {
    min-height: 100vh;
    background-color: var(--color-bg);
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.ap-title-area {
    text-align: center;
    padding: 60px 0;
}

.ap-main-title {
    font-size: 60px;
    margin: 0;
}

.ap-subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
    font-weight: 300;
}

.ap-card {
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 30px;
    background: transparent;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ap-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.ap-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ap-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

.ap-project-card {
    align-items: center;
    text-align: center;
    padding: 56px 48px;
    gap: 22px;
    text-decoration: none;
    cursor: pointer;
}

.ap-project-card .manegiq-brand {
    transform: scale(1.4);
    margin-bottom: 10px;
}

.ap-project-card p {
    max-width: 560px;
    font-size: 16px;
}

.ap-project-card .ap-project-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--color-accent);
    font-size: 14.5px;
    font-weight: 600;
}

.ap-project-card .ap-project-cta i {
    transition: transform var(--transition-fast);
}

.ap-project-card:hover .ap-project-cta i {
    transform: translateX(4px);
}

/* ========================================================
   WHY US (new)
======================================================== */
.why-section {
    background: var(--color-bg);
}

/* ========================================================
   MANEGIQ DETAIL PAGE
======================================================== */
.manegiq-hero {
    padding: 190px 0 60px;
    text-align: center;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.manegiq-hero .orb-1 { top: -5%; left: 5%; }
.manegiq-hero .orb-2 { top: 10%; right: 10%; }

.manegiq-hero .manegiq-brand {
    justify-content: center;
    width: 100%;
    margin-bottom: 26px;
}

.manegiq-summary-section,
.manegiq-pricing-section {
    background: var(--color-bg);
}

.manegiq-pricing-section {
    border-top: 1px solid var(--color-border-soft);
}

.manegiq-more-cta {
    text-align: center;
    margin-top: 40px;
}

.pmatrix {
    margin-top: 80px;
}

.pmatrix h3.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.pmatrix-scroll {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.pmatrix table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.pmatrix th, .pmatrix td {
    padding: 18px 24px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}

.pmatrix .pm-label {
    text-align: left;
    color: var(--color-text-primary);
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
}

.pmatrix thead tr:first-child th {
    padding-top: 28px;
    padding-bottom: 18px;
    background: var(--color-surface-alt);
}

.pmatrix thead tr:first-child th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.pmatrix thead tr:first-child th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.pm-tier {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.pm-tier-blue {
    background: linear-gradient(135deg, rgba(163, 138, 235, 0.15), rgba(46, 199, 230, 0.1));
    color: var(--color-accent);
    border-color: var(--color-accent-soft);
    box-shadow: 0 0 20px rgba(163, 138, 235, 0.2);
}

.pm-metric-row td {
    font-size: 13px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-soft);
    padding: 16px 24px;
    background: var(--color-surface-alt);
}

.pm-metric-row .pm-label {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 13.5px;
}

.pmatrix tbody tr {
    border-top: 1px solid var(--color-border-soft);
    transition: background var(--transition-fast);
}

.pmatrix tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pmatrix tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-lg);
}

.pmatrix tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-lg);
}

.pm-yes {
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(163, 138, 235, 0.3);
}

.pmatrix tbody td:not(.pm-label):not(.pm-yes) {
    color: var(--color-text-faint);
    font-size: 16px;
}

/* ----------- Sıkça Sorulan Sorular ------------ */

.faq {
    background: var(--color-bg);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq .eyebrow {
    display:block;
    text-align: center;
    margin-bottom: 26px;
}

.faq h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 auto 60px;
    max-width: 700px;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: all var(--transition-base);
    height: fit-content;
}

.faq-item:hover {
    border-color: var(--color-accent-soft);
    box-shadow: 0 4px 20px rgba(163, 138, 235, 0.15);
}

.faq-item[open] {
    border-color: var(--color-accent);
    background: var(--color-surface-alt);
}

.faq-item summary {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 32px;
    line-height: 1.5;
    transition: color var(--transition-fast);
}

.faq-item:hover summary {
    color: var(--color-accent);
}

.faq-n {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-right: 12px;
    opacity: 0.8;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-accent);
    font-weight: 300;
    line-height: 1;
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.7;
    padding-top: 16px;
    margin: 16px 0 0 0;
    border-top: 1px solid var(--color-border-soft);
    animation: fadeInDown 0.3s ease-out;
}

.faq-item p a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.faq-item p a:hover {
    border-bottom-color: var(--color-accent);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
    
    .faq {
        padding: var(--section-padding-sm) 0;
    }
}

/* ========================================================
   FOOTER
======================================================== */
#contact-footer {
    background: var(--color-bg);
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--color-border-soft);
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 300px;
    background: radial-gradient(ellipse, rgba(163, 138, 235, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 220px;
}

.footer-brand {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 320px;
}

.footer-heading {
    color: var(--color-text-faint);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: var(--color-text-secondary);
    font-size: 14.5px;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: #fff;
}

.link-dot {
    display: none;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--color-border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--color-accent);
    color: #fff;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-soft);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--color-text-faint);
    font-size: 13px;
    margin: 0;
    font-weight: 300;
}

/* ========================================================
   RESPONSIVE
======================================================== */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 40px; }
    .hero-subtitle { font-size: 16px; white-space: normal; }
    .footer-row { flex-direction: column; align-items: center; text-align: center; gap: 36px; }
    .footer-description { max-width: 100%; }
    .social-links { justify-content: center; }
    .contact-links { align-items: center; }
    .location-info { justify-content: center; }
    .ap-title-area { padding: 40px 0; }
    .ap-project-card { padding: 40px 24px; }
    .about-section h1, .ap-main-title { font-size: 40px; }
}

@media (max-width: 768px) {
    .service-card { width: 300px; height: 350px; }

    .slide-track {
        width: 2720px;
        animation: marquee-scroll-sm 30s linear infinite;
    }
}
