/* 
   Premium Design System for Hugin & Inpos Ankara 
   Modern, Sleek, and High-Performance
*/

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

:root {
    /* Core Palette - HSL for flexible manipulation */
    --h-primary: 222;
    --s-primary: 47%;
    --l-primary: 11%;
    --primary: hsl(var(--h-primary), var(--s-primary), var(--l-primary)); /* #0f172a */
    
    --h-accent: 221;
    --s-accent: 83%;
    --l-accent: 53%;
    --accent: hsl(var(--h-accent), var(--s-accent), var(--l-accent)); /* #2563eb */
    --accent-dark: hsl(var(--h-accent), var(--s-accent), 40%);
    --accent-glow: hsla(var(--h-accent), var(--s-accent), var(--l-accent), 0.4);

    --h-hugin: 0;
    --s-hugin: 75%;
    --l-hugin: 49%;
    --hugin-red: hsl(var(--h-hugin), var(--s-hugin), var(--l-hugin)); /* #ef4444 */

    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Semantic Colors */
    --text-main: var(--slate-800);
    --text-muted: var(--slate-500);
    --bg-main: var(--white);
    --bg-alt: var(--slate-50);

    /* Gradients */
    --grad-premium: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 100%);
    --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);

    /* Shadows - Premium Soft Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-accent: 0 10px 15px -3px var(--accent-glow);

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.5s var(--ease-out);
}

/* ── Global Styles ────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

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

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

/* ── Layout ────────────────────────────────────────── */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ── Typography Utilities ──────────────────────────── */

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    background: var(--grad-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 4rem;
}

/* ── Buttons ───────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--slate-200);
    color: var(--slate-700);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: hsla(var(--h-accent), var(--s-accent), var(--l-accent), 0.05);
}

/* ── Header ───────────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.75rem 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.logo-separator {
    color: var(--slate-300);
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--slate-600);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--slate-900);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--slate-900);
}

/* ── Hero Banner ───────────────────────────────────── */

.hero-banner {
    height: 100vh;
    min-height: 700px;
    margin-top: 0;
    background: var(--slate-50);
    overflow: hidden;
}

.hero-banner-slides {
    height: 100%;
    position: relative;
}

.hero-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s var(--ease-out), visibility 1s;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
}

.hero-banner-text {
    z-index: 10;
}

.hero-banner-sub {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-banner-text h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero-banner-text p {
    font-size: 1.25rem;
    color: var(--slate-500);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-banner-product {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-product img {
    max-height: 75vh;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.12));
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}

.hero-banner-slide.active .hero-banner-product img {
    transform: translateY(0);
    opacity: 1;
}

.hero-decor-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

/* ── Product Cards ─────────────────────────────────── */

.products {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent);
}

.product-image {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
}

.product-image img {
    max-height: 100%;
    transition: transform 0.8s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(-2deg);
}

.product-info {
    padding: 0 0.5rem;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ── Feature Cards ─────────────────────────────────── */

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--slate-100);
}

.feature-card:hover {
    background: var(--slate-900);
    color: var(--white);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: block;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--white);
    transform: scale(1.1);
}

.feature-card:hover h3 {
    color: var(--white);
}

.feature-card:hover p {
    color: var(--slate-300);
}

/* ── FAQ ──────────────────────────────────────────── */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--slate-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* ── Testimonials ─────────────────────────────────── */

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--slate-700);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ── Footer ────────────────────────────────────────── */

footer {
    background: var(--slate-900);
    color: var(--white);
    padding: 8rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--slate-400);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    color: var(--slate-500);
    font-size: 0.875rem;
}

/* ── WhatsApp Floating ────────────────────────────── */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ── Mobile Responsive ────────────────────────────── */

@media (max-width: 1024px) {
    .hero-slide-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-banner-text {
        order: 2;
        padding-bottom: 4rem;
    }
    
    .hero-banner-product {
        order: 1;
        padding-top: 6rem;
    }

    .hero-banner-product img {
        max-height: 40vh;
    }

    .hero-banner-text h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2.25rem;
    }

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