@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Inspired by provided images */
    --primary-dark: #0f172a;
    --primary-blue: #2563eb;
    --primary-light: #3b82f6;
    --accent-orange: #fbbf24; /* Lighter, softer orange */
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600; /* Reduced from 800 */
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7); /* Faded white for dark background */
}

.logo .highlight {
    color: #d97706 !important; /* Dark, saturated orange for navbar logo */
}

nav.scrolled .logo {
    color: rgba(15, 23, 42, 0.6) !important; /* Faded black for light background */
}

/* Dashboard Visual */
.visual-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-frame {
    position: relative;
    perspective: 1500px;
    z-index: 5;
    width: 105%; /* Increased from 90% */
    margin-right: -5%; /* Pull towards right edge */
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5);
    transform: rotateX(5deg) rotateY(-10deg);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-frame {
    position: absolute;
    bottom: -5%;
    right: 0%;
    width: 32%; /* Slightly larger mobile */
    z-index: 10;
    perspective: 1000px;
}

.mobile-img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 8px solid #1e293b;
    transform: rotateY(15deg);
    transition: var(--transition);
}

.visual-container:hover .dashboard-img {
    transform: rotateX(0deg) rotateY(-5deg) scale(1.02);
}

.visual-container:hover .mobile-img {
    transform: rotateY(0deg) scale(1.1) translateY(-10px);
}

/* Watermark */
.watermark-target {
    position: relative;
    user-select: none;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 1.1rem; /* Slightly larger */
    font-weight: 600;
    color: rgba(15, 23, 42, 0.08);
    text-transform: none; /* Lowercase */
    letter-spacing: 2px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 20;
    font-family: 'Outfit', sans-serif;
}

.watermark .highlight {
    color: rgba(245, 158, 11, 0.25) !important; /* Faint, light orange for watermark only */
}

/* Scrolled state watermarks */
.scrolled .watermark {
    color: rgba(15, 23, 42, 0.02);
}



/* Expertise Cards */
#why-us .glass {
    transition: var(--transition);
    height: 100%;
    background: white;
}

#why-us .glass:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

#why-us svg {
    transition: var(--transition);
}

#why-us .glass:hover svg {
    transform: scale(1.1);
}

.footer-logo-wrapper .logo-text {
    fill: white !important;
}


.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Solution Cards Hover */
.solution-card {
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.solution-card h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

html {
    scroll-behavior: smooth;
}

.mobile-br {
    display: none;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.analytics-grid, .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.trust-features-grid {
    display: grid;
    gap: 20px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid, .trust-grid, .expertise-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

/* --- Responsive Design --- */

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

nav.scrolled .menu-toggle span {
    background: var(--primary-dark);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-text h1 { font-size: 3rem; }
    
    #solutions > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--primary-dark) !important;
    }

    .lang-switch { margin-top: 20px; }

    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { margin: 0 auto 40px; }

    h2 { font-size: 1.6rem !important; }

    .mobile-br {
        display: block;
    }

    .solutions-grid, .expertise-grid, .analytics-grid, .trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .solution-card {
        padding: 15px !important;
    }

    .solution-card div[style*="padding: 30px"] {
        padding: 15px !important;
    }

    .expertise-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .section-padding { padding: 40px 0; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    
    /* En dar ekranlarda 2'li yapı sığmazsa 1'e düşer */
    .solutions-grid {
        grid-template-columns: 1fr !important;
    }
}

.lang-switch {
    display: flex;
    gap: 5px;
    background: var(--bg-main);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-orange);
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
