/* ============================================================
   webhome.css — ix_webhome ortak tasarım sistemi
   Aydınlık / ferah / Notion-Figma tarzı
   ============================================================ */

/* ---------- reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #fdfdfc;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }

/* ---------- brand variables (overridden by brand-*.css) ---------- */
:root {
    --brand: #2563eb;
    --brand-dark: #1e40af;
    --brand-soft: rgba(37,99,235,.06);
    --brand-medium: rgba(37,99,235,.12);
    --brand-text: #2563eb;
    --surface: #fff;
    --surface-alt: #f8fafc;
    --surface-raised: #fff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,.1);
    --nav-height: 72px;
}

/* ---------- typography scale ---------- */
.display-hero {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.display-section {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.display-sub {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-lg { font-size: 1.25rem; line-height: 1.8; color: var(--text-secondary); }
.text-base { font-size: 1rem; line-height: 1.7; }
.text-sm { font-size: .875rem; line-height: 1.6; }
.text-xs { font-size: .75rem; line-height: 1.5; }
.text-brand { color: var(--brand-text) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    padding: .375rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.underline-accent {
    position: relative;
    display: inline;
}
.underline-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: .04em;
    height: .18em;
    background: var(--brand);
    opacity: .25;
    border-radius: 4px;
}

/* ---------- navbar ---------- */
.wh-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}

.wh-navbar.scrolled {
    background: rgba(255,255,255,.96);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
}

.wh-navbar .nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wh-navbar .nav-brand img { height: 38px; transition: height .2s; }

.wh-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0; padding: 0;
}

.wh-navbar .nav-links a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}

.wh-navbar .nav-links a:hover,
.wh-navbar .nav-links a.active {
    color: var(--text-primary);
    background: var(--brand-soft);
}

.wh-navbar .nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-login {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .5rem .5rem;
    white-space: nowrap;
    transition: color .2s;
}

.nav-login:hover { color: var(--brand); }

@media (min-width: 992px) {
    .wh-navbar .nav-center {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1.5rem;
        min-width: 0;
    }
    .wh-navbar .nav-links { margin: 0 auto; }
}

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .wh-navbar .nav-center {
        position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        transform: translateY(-110%);
        transition: transform .3s ease;
        z-index: 999;
    }
    .wh-navbar .nav-center.open { transform: translateY(0); }
    .wh-navbar .nav-links { flex-direction: column; align-items: stretch; gap: .125rem; }
    .wh-navbar .nav-links a { padding: .75rem 1rem; font-size: 1rem; }
    .wh-navbar .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }
    .wh-navbar .nav-actions .btn { width: 100%; justify-content: center; }
    .wh-navbar .nav-actions .nav-login { justify-content: center; padding: .625rem; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    font-size: .9375rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
}
.btn-brand:hover {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1.5px var(--border);
}
.btn-outline:hover {
    box-shadow: inset 0 0 0 1.5px var(--text-primary);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--brand);
    padding: .5rem 1rem;
}
.btn-ghost:hover { background: var(--brand-soft); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }

/* ---------- sections ---------- */
.wh-section {
    padding: 6rem 0;
    position: relative;
}

.wh-section-alt {
    background: var(--surface-alt);
    background: color-mix(in srgb, var(--brand) 4%, #fafaf9);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.wh-section-brand {
    background: var(--brand-soft);
    border-radius: 0;
}

.wh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wh-container-narrow { max-width: 800px; }

.section-header {
    max-width: 640px;
    margin-bottom: 3.5rem;
}

.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.wh-hero {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-soft) 0%, rgba(255,255,255,0) 100%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, #fff) 0%, #fdfdfc 100%);
}

.wh-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 55%; height: 110%;
    background: radial-gradient(circle, var(--brand-medium) 0%, transparent 65%);
    opacity: .6;
    pointer-events: none;
}

.wh-hero .wh-container { position: relative; z-index: 1; }

.wh-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.wh-hero .hero-visual { position: relative; z-index: 1; }

.hero-dot-pattern {
    position: absolute;
    top: -40px; right: -60px;
    width: 240px; height: 240px;
    background-image: radial-gradient(circle, var(--brand-medium) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 991px) {
    .wh-hero { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem; }
    .wh-hero .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .wh-hero .hero-visual { order: -1; }
}

@media (max-width: 575px) {
    .wh-hero { padding-top: calc(var(--nav-height) + 2rem); padding-bottom: 2rem; }
}

/* ---------- feature cards ---------- */
.wh-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s, transform .3s, border-color .3s;
    height: 100%;
}

.wh-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-medium);
    transform: translateY(-4px);
}

.wh-card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--brand);
}

.wh-card h3, .wh-card h4, .wh-card h5 {
    margin-bottom: .75rem;
}

.wh-card p { color: var(--text-secondary); margin-bottom: 0; }

/* ---------- bento grid ---------- */
.bento-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
}

.bento-grid .bento-wide { grid-column: span 2; }
.bento-grid .bento-tall { grid-row: span 2; }

@media (max-width: 991px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-grid .bento-wide { grid-column: span 2; }
}

@media (max-width: 575px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-grid .bento-wide,
    .bento-grid .bento-tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- colored panel ---------- */
.color-panel {
    background: var(--brand-soft);
    background: color-mix(in srgb, var(--brand) 7%, #fff);
    border: 1px solid var(--brand-medium);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

@media (max-width: 575px) { .color-panel { padding: 2rem 1.5rem; } }

/* ---------- stat strip ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-strip .stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}

.stat-strip .stat-label {
    font-size: .9375rem;
    color: var(--text-secondary);
    margin-top: .5rem;
}

/* ---------- process steps ---------- */
.process-steps { counter-reset: step; }

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    counter-increment: step;
}

.process-step + .process-step { border-top: 1px solid var(--border-light); }

.step-number {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number::before { content: counter(step); }

/* ---------- accordion / FAQ ---------- */
.wh-accordion { border-top: 1px solid var(--border); }

.wh-accordion details {
    border-bottom: 1px solid var(--border);
}

.wh-accordion summary {
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-primary);
    transition: color .2s;
}

.wh-accordion summary:hover { color: var(--brand); }

.wh-accordion summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    transition: transform .2s;
    color: var(--text-muted);
}

.wh-accordion details[open] summary::after {
    content: '\2212';
}

.wh-accordion summary::-webkit-details-marker { display: none; }

.wh-accordion .faq-body {
    padding: 0 0 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- badge / trust strip ---------- */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #fff;
    border: 1px solid var(--border);
    padding: .375rem .875rem;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.trust-badge i { color: var(--brand); }

/* ---------- screenshot browser frame ---------- */
.browser-frame {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.browser-topbar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.browser-dots {
    display: flex; gap: 6px;
}
.browser-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-url {
    flex: 1;
    background: var(--surface-alt);
    border-radius: 6px;
    padding: .25rem .75rem;
    font-size: .75rem;
    color: var(--text-muted);
    text-align: center;
}

.browser-body {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: var(--brand-soft);
}

.browser-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.browser-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--brand);
    opacity: .5;
    padding: 2rem;
    text-align: center;
}

.browser-placeholder i { font-size: 2.5rem; }
.browser-placeholder span { font-size: .875rem; font-weight: 500; }

/* phone frame */
.phone-frame {
    background: #1e293b;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    width: 120px; height: 28px;
    background: #1e293b;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    top: 0; z-index: 2;
}

/* ---------- two-col feature row ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--border-light); }

.feature-row.reversed .feature-text { order: 2; }
.feature-row.reversed .feature-visual { order: 1; }

@media (max-width: 991px) {
    .feature-row { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0; }
    .feature-row.reversed .feature-text,
    .feature-row.reversed .feature-visual { order: unset; }
}

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .5rem 0;
    color: var(--text-primary);
}
.check-list li i {
    color: var(--brand);
    font-size: 1.125rem;
    margin-top: .125rem;
    flex-shrink: 0;
}

/* ---------- CTA band ---------- */
.wh-cta {
    text-align: center;
    padding: 5rem 0;
}

.wh-cta-dark {
    background: var(--text-primary);
    color: #fff;
}

.wh-cta-dark h2,
.wh-cta-dark p { color: #fff; }
.wh-cta-dark p { opacity: .7; }

.wh-cta-brand {
    background: var(--brand-soft);
    background:
        radial-gradient(ellipse at 50% -20%, var(--brand-medium) 0%, transparent 60%),
        color-mix(in srgb, var(--brand) 9%, #fff);
    border-top: 1px solid var(--brand-medium);
}

/* ---------- product family strip ---------- */
.product-strip {
    background: var(--surface-alt);
    background: color-mix(in srgb, var(--brand) 3%, #f8fafc);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
}

.product-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.product-strip-label {
    font-size: .875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-strip-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9375rem;
    color: var(--text-primary);
    padding: .5rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    transition: box-shadow .2s, border-color .2s;
}

.product-strip-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
    color: var(--brand);
}

.product-strip-item img { height: 24px; }

/* ---------- footer ---------- */
.wh-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.wh-footer a { color: #94a3b8; transition: color .2s; }
.wh-footer a:hover { color: #fff; }

.wh-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1.25rem; font-size: .9375rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
}

.footer-brand-img { height: 34px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1.25rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .8125rem;
}

.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    transition: background .2s;
    font-size: 1rem;
}
.footer-socials a:hover { background: rgba(255,255,255,.12); }

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- contact layout ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 0;
}

.contact-card + .contact-card { border-top: 1px solid var(--border-light); }

.contact-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--brand);
    font-size: 1.25rem;
}

.contact-info-panel {
    background: var(--brand-soft);
    background: color-mix(in srgb, var(--brand) 7%, #fff);
    border: 1px solid var(--brand-medium);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

/* ---------- privacy / legal ---------- */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.legal-content h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-secondary); }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-secondary); }

/* ---------- scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- utility ---------- */
.gap-xs { gap: .5rem; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }
.gap-xl { gap: 3rem; }
.mt-section { margin-top: 4rem; }
.mb-section { margin-bottom: 4rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 991px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .wh-section { padding: 4rem 0; }
}
@media (max-width: 575px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .wh-section { padding: 3rem 0; }
}
