/* Fonts loaded in header.php for better performance */

:root {
    --bg-color: #0284c7;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --primary: #00f2fe;
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
    --secondary: #075985;
    --text-main: #ffffff;
    --text-muted: #f1f5f9;
    /* Daha parlak beyaz/gri */
    --gold: #fbbf24;
}

html {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

/* Background Glowing Spheres */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 60%, #044e7a 100%);
}

.sphere-1,
.sphere-2,
.sphere-3 {
    display: none !important;
}

.bg-wave {
    display: none !important;
}

/* Multi-layered Rolling Waves (Parallax Waves) */
.bg-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60vh;
    background-repeat: repeat-x;
    background-size: 50% 100%;
    /* Her 1440px'de bir tekrar */
    pointer-events: none;
    z-index: -1;
    /* Sıvı camların altında, meshin üstünde */
}

/* Back Wave (Slow) */
.bg-wave-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='white' d='M0,160 Q360,60 720,160 T1440,160 L1440,500 L0,500 Z'/%3E%3C/svg%3E");
    animation: waveRoll 45s linear infinite;
    opacity: 0.12;
    height: 80vh;
}

/* Middle Wave (Reverse) */
.bg-wave-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='white' d='M0,120 Q360,220 720,120 T1440,120 L1440,500 L0,500 Z'/%3E%3C/svg%3E");
    animation: waveRollReverse 30s linear infinite;
    opacity: 0.2;
    height: 65vh;
}

/* Front Wave (Fast) */
.bg-wave-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='white' d='M0,180 Q360,110 720,180 T1440,180 L1440,500 L0,500 Z'/%3E%3C/svg%3E");
    animation: waveRoll 20s linear infinite;
    opacity: 0.3;
    height: 50vh;
}

@keyframes waveRoll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes waveRollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Water Bubble Style Setup */
.water-bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

@keyframes floating-ambient {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

/* Scroll Indicators / Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0284c7;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fluid-loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(5px);
    animation: drip 1.4s infinite ease-in-out;
}

@keyframes drip {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(2, 84, 137, 0.1);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(2, 84, 137, 0.08);
    transition: padding 0.4s ease, top 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
}

@media (min-width: 769px) {
    nav.scrolled {
        padding: 8px 30px;
        top: 8px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 32px rgba(2, 84, 137, 0.12);
    }

    nav.scrolled .logo-img {
        height: 55px;
    }
}

.hamburger {
    display: none;
}

.mobile-cta {
    display: none;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s, height 0.4s ease;
}

/* Logo Shadow Effects Removed */

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #0c4a6e;
}

.cta-btn {
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px;
    position: relative;
}

.hero-badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #ffffff;
    /* Tam beyaz */
    max-width: 600px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-radius: 24px;
    background: rgba(3, 40, 70, 0.4);
    /* Koyu deniz camı */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pipeline / Tech Section */
.pipeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.pipe-line {
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 1;
}

.tech-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    flex-shrink: 0;
}

.step-content {
    background: rgba(3, 40, 70, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 16px;
    flex: 1;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tech-step:hover .step-content {
    background: rgba(255, 255, 255, 0.05);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Badge and Readmore */
.product-card {
    position: relative;
}

.badge-card {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
}

.readmore-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: padding-left 0.3s;
}

.readmore-btn::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.readmore-btn:hover {
    padding-left: 5px;
}

.readmore-btn:hover::after {
    opacity: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.review-card {
    background: rgba(3, 40, 70, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-header .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.review-header .stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 3px;
    display: flex;
    gap: 2px;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Section sizing responsiveness */
/* Premium Footer */
.main-footer {
    background: #ffffff;
    position: relative;
    padding: 100px 40px 30px;
    margin-top: 120px;
    border-top: 1px solid rgba(2, 84, 137, 0.08);
}

.footer-wave {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0284c7;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li {
    font-size: 0.92rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    background: rgba(2, 84, 137, 0.04);
    border: 1px solid rgba(2, 84, 137, 0.1);
    color: #0284c7;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-gradient);
    color: #030a14;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(2, 84, 137, 0.08);
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Formatted footer spacing */

@media (max-width: 1024px) {

    /* Navbar Responsive - Floating Capsule with Hamburger */
    nav {
        padding: 6px 15px !important;
        top: 15px !important;
        width: 92% !important;
        border-radius: 25px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    nav.scrolled {
        padding: 3px 12px !important;
        top: 6px !important;
        border-radius: 20px !important;
    }

    .logo-img {
        height: 55px !important;

    }

    nav.scrolled .logo-img {
        height: 42px !important;
    }

    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        transform: translateX(100%) !important;
        visibility: hidden !important;
        width: 45% !important;
        height: 100vh !important;
        background: #02598a !important;
        backdrop-filter: none !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 998 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    }

    .nav-links.active {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .nav-links a {
        font-size: 1.25rem !important;
        color: #ffffff !important;
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .nav-links.active a {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .nav-links.active a:nth-child(1) {
        transition-delay: 0.15s !important;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.22s !important;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.29s !important;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.36s !important;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.43s !important;
    }

    .nav-links.active a:nth-child(6) {
        transition-delay: 0.50s !important;
    }

    .hamburger {
        display: block !important;
        font-size: 1.6rem !important;
        color: #0284c7 !important;
        cursor: pointer !important;
        z-index: 999 !important;
    }

    nav .cta-btn {
        display: none !important;
    }

    .mobile-cta {
        display: block !important;
        margin-top: 15px !important;
        padding: 10px 20px !important;
        border-radius: 15px !important;
        background: var(--primary-gradient) !important;
        color: #030a14 !important;
        font-weight: 600 !important;
        text-align: center !important;
        width: 85% !important;
        text-decoration: none !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Responsive */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .contact-container {
        padding: 30px !important;
    }

    /* General Typography Scaling */
    .hero h1 {
        font-size: 2.4rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }
}

/* Products Section */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #ffffff;
}

/* --- FAQ Accordion CSS --- */
.faq-content {
    max-height: 0 !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.02);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.faq-item.active .faq-content {
    max-height: 500px !important; /* Her ekranda pürüzsüz açılması için yüksek limit */
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg) !important;
}

.faq-item.active {
    border-color: rgba(0, 242, 254, 0.3) !important;
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(3, 40, 70, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.4);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    padding-top: 0;
}

.contact-container {
    background: rgba(3, 40, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
    margin: 50px auto 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contact-container h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-gradient);
    color: #030a14;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
}

/* Success Message Float */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Lenis Requirements */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}