/* ═══════════════════════════════════════════
   HERO SECTION (tasarim/index.html)
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    height: 70dvh;
    min-height: 640px;
    max-height: 1100px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a1a0d;
    contain: layout style;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-video-wrap video.loaded {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay--gradient {
    background:
        linear-gradient(90deg,
            rgba(6, 20, 10, 0.92) 0%,
            rgba(6, 20, 10, 0.78) 25%,
            rgba(6, 20, 10, 0.45) 55%,
            rgba(6, 20, 10, 0.15) 80%,
            rgba(6, 20, 10, 0.05) 100%
        );
}

.hero-overlay--vignette {
    background:
        linear-gradient(0deg, rgba(6, 20, 10, 0.7) 0%, transparent 35%),
        linear-gradient(180deg, rgba(6, 20, 10, 0.4) 0%, transparent 20%);
}

.hero-overlay--tint {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(44, 148, 64, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(130, 203, 48, 0.04) 0%, transparent 50%);
}

.hero-overlay--grain {
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

.hero-diagonal {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 122px;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
}

.hero-diagonal svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 0;
}

.hero-text { max-width: 660px; flex-shrink: 0; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 10px;
    background: rgba(130, 203, 48, 0.12);
    border: 1px solid rgba(130, 203, 48, 0.25);
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
}

.hero-badge-dot::after {
    content: '';
    position: absolute;
    top: -3px; left: -3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    animation: badgePulse 2s ease infinite;
}

.hero-badge-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(32px);
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-title span.highlight {
    position: relative;
    display: inline-block;
    color: var(--accent);
}

.hero-title span.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0;
    width: 100%; height: 6px;
    background: rgba(130, 203, 48, 0.25);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 0.7s ease 1.5s forwards;
}

.hero-title .line { display: block; }

.hero-desc {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.hero-btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }

.hero-btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 24px rgba(130, 203, 48, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-btn--primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(130, 203, 48, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn--primary:hover::before { left: 100%; }
.hero-btn--primary:hover svg { transform: translateX(3px); }

.hero-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.hero-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-btn--ghost .play-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-btn--ghost:hover .play-icon { background: var(--accent); }
.hero-btn--ghost .play-icon svg { width: 14px; height: 14px; margin-left: 2px; }

.hero-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateX(24px);
    animation: heroSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px;
    min-width: 240px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(130, 203, 48, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(130, 203, 48, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-stat-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.hero-stat-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 148, 64, 0.3);
}

.hero-stat-icon svg { width: 20px; height: 20px; color: var(--white); }

.hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 2px;
}

.hero-stat-value .accent { color: var(--accent); }

.hero-stat-sub { font-size: 13px; color: rgba(255, 255, 255, 0.45); font-weight: 500; }

.counter-num { display: inline-block; min-width: 0.6em; }

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 1.5s forwards;
}

.hero-scroll-text {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent, var(--accent));
    animation: scrollLine 2s ease infinite;
}

.hero-trust {
    position: absolute;
    bottom: 36px;
    left: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 1.6s forwards;
}

.hero-trust-item { display: flex; align-items: center; gap: 8px; }

.hero-trust-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(130, 203, 48, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trust-icon svg { width: 13px; height: 13px; color: var(--accent); }

.hero-trust-text { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.3px; }

.hero-trust-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.1); }

.hero-video-control {
    position: absolute;
    bottom: 36px;
    right: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 1.7s forwards;
}

.hero-mute-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.hero-mute-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.hero-mute-btn svg { width: 18px; height: 18px; }

.hero-video-label { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.35); text-transform: uppercase; letter-spacing: 1px; }

.hero-float {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-float--1 {
    width: 400px; height: 400px;
    top: -100px; right: 10%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation: floatOrb 8s ease-in-out infinite;
}

.hero-float--2 {
    width: 250px; height: 250px;
    bottom: 15%; left: 40%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: floatOrb 10s ease-in-out infinite reverse;
}

.hero-float--3 {
    width: 180px; height: 180px;
    top: 30%; right: 30%;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    animation: floatOrb 12s ease-in-out infinite 2s;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes lineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.6); opacity: 0; }
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 120%; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

@media (max-width: 1024px) {
    .hero { min-height: 100vh; max-height: none; }
    .hero-content { flex-direction: column; justify-content: center; align-items: flex-start; padding: 120px 32px 160px; gap: 40px; }
    .hero-text { max-width: 100%; }
    .hero-side { flex-direction: row; flex-wrap: wrap; gap: 12px; animation-name: heroFadeUp; transform: translateY(24px) translateX(0); }
    .hero-stat-card { min-width: 180px; flex: 1; padding: 20px 22px; }
    .hero-stat-value { font-size: 26px; }
    .hero-overlay--gradient { background: linear-gradient(180deg, rgba(6, 20, 10, 0.75) 0%, rgba(6, 20, 10, 0.55) 40%, rgba(6, 20, 10, 0.65) 70%, rgba(6, 20, 10, 0.85) 100%); }
    .hero-trust { left: 32px; bottom: 28px; }
    .hero-video-control { right: 32px; bottom: 28px; }
    .hero-scroll { display: none; }
}

@media (max-width: 640px) {
    .hero { min-height: 100vh; min-height: 100dvh; }
    .hero-content { padding: 100px 20px 120px; gap: 28px; }
    .hero-badge { padding: 6px 14px 6px 8px; margin-bottom: 20px; }
    .hero-badge-text { font-size: 11px; letter-spacing: 0.8px; }
    .hero-title { font-size: clamp(30px, 8vw, 42px); margin-bottom: 18px; }
    .hero-desc { font-size: 14.5px; line-height: 1.7; margin-bottom: 28px; }
    .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
    .hero-btn { width: 100%; justify-content: center; padding: 15px 28px; font-size: 14.5px; }
    .hero-side { flex-direction: column; width: 100%; }
    .hero-stat-card { min-width: 100%; flex-direction: row; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; }
    .hero-stat-top { margin-bottom: 0; flex-shrink: 0; }
    .hero-stat-icon { width: 38px; height: 38px; border-radius: 10px; }
    .hero-stat-label { display: none; }
    .hero-stat-value { font-size: 22px; }
    .hero-stat-sub { font-size: 12px; }
    .hero-trust { left: 20px; bottom: 20px; gap: 12px; }
    .hero-trust-item:nth-child(n+4) { display: none; }
    .hero-trust-divider:nth-child(n+5) { display: none; }
    .hero-video-control { right: 20px; bottom: 20px; }
    .hero-video-label { display: none; }
    .hero-float--1 { width: 250px; height: 250px; }
    .hero-float--2 { width: 150px; height: 150px; }
    .hero-float--3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero .hero-badge, .hero .hero-title, .hero .hero-desc,
    .hero .hero-actions, .hero .hero-side, .hero .hero-scroll,
    .hero .hero-trust, .hero .hero-video-control {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .hero-video-wrap video { opacity: 1; }
}
