/* İşeGeldim - Ana Site CSS (Qwery Inspired Revamp) */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Urbanist:wght@400;500;600;700;800&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Brand Colors - Vivid & Deep */
    --primary: #3b82f6;
    /* Vibrant Blue */
    --primary-dark: #1d4ed8;
    /* Deep Blue */
    --primary-light: #60a5fa;
    /* Light Blue */
    --accent: #f43f5e;
    /* Energetic Pink/Red */
    --accent-glow: #fb7185;
    /* Pink Glow */

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-darker: #020617;
    /* Slate 950 */

    /* Typography */
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --text-main: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(148, 163, 184, 0.1);
    --shadow-md: 0 8px 16px rgba(148, 163, 184, 0.1);
    --shadow-lg: 0 16px 32px rgba(148, 163, 184, 0.15);
    --shadow-xl: 0 24px 48px rgba(148, 163, 184, 0.2);
    --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.5);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 16px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -60px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-60px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(60px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary);
    }
}

/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    background: rgba(255, 255, 255, 0.01);
    /* Start transparent */
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

.site-header.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    /* Shrink on scroll */
    box-shadow: var(--shadow-sm);
}

.animate-down {
    animation: fadeInDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--bounce);
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    opacity: 0.8;
    transition: var(--transition);
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover {
    opacity: 1;
    color: var(--primary);
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a::after {
    display: none;
}

/* Modern Buttons (Magnetic Effect Base) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: var(--bounce);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Special "Call to Action" Pulse */
.site-header .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
    animation: pulse-glow 3s infinite;
}

/* Feature Tag / Hero Badge */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(26, 59, 109, 0.05);
    /* very light primary */
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 59, 109, 0.1);
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
    /* Reduced from 80px for PC density */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* ===== Feature Cards (Modern Grid) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::after {
    opacity: 0.3;
    transform: scale(1.5);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 32px;
    background: var(--bg-surface);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--bean);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== Pricing Cards (Glass & Gradient) ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f59e0b;
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-card.featured h3,
.pricing-card.featured p {
    color: white;
}

.pricing-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
    letter-spacing: -2px;
}

.pricing-card.featured .pricing-amount {
    color: white;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 8px;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    color: var(--text-body);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== Demo Form ===== */
.demo-section {
    background: var(--bg-light);
}

.demo-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ===== Footer (Clean Dark) ===== */
.site-footer {
    background: var(--bg-darker);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bounce);
    margin-bottom: 0;
    /* Reset */
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(10deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* ===== Utility Enhancements ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.shadow-premium {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid,
    .pricing-grid {
        gap: 24px;
    }

    .footer-content {
        gap: 40px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

/* Staggered Animation Utilities */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Interactivity */
.feature-card,
.pricing-card,
.example-card,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.feature-card:hover,
.pricing-card:hover,
.example-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: var(--primary-light) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* ===== Bootstrap Utils (Custom Subset) ===== */
.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
}