/**
 * Bonder AI - Landing Page Design System
 * Professional Typography & Cohesive Design
 * Updated: 2026-01-10
 */

/* ============================================
   CSS PROMĚNNÉ (Design Tokens)
   ============================================ */
:root {
    /* Primární barvy */
    --midnight-navy: #1e3a5f;
    --midnight-navy-dark: #162c49;
    --midnight-navy-light: #2a4a7c;
    
    /* Akcent barvy */
    --sage-green: #9caf88;
    --sage-green-dark: #7a8f6f;
    --sage-green-light: #b4c9a0;
    
    /* Pozadí */
    --champagne: #fbf9f4;
    --champagne-dark: #f5f2eb;
    
    /* Důraz */
    --soft-gold: #d4af37;
    --soft-gold-dark: #b8941f;
    
    /* Texty */
    --text-primary: #2c3e50;
    --text-secondary: rgba(44, 62, 80, 0.75);
    --text-muted: rgba(44, 62, 80, 0.55);
    
    /* Stavy */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    /* Typografický systém - konzistentní škála */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Font weights */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    
    /* Letter spacing */
    --ls-tight: -0.025em;
    --ls-normal: 0;
    --ls-wide: 0.01em;
    
    /* Line heights */
    --lh-tight: 1.2;
    --lh-normal: 1.5;
    --lh-relaxed: 1.65;
}

/* ============================================
   ZÁKLADNÍ STYLY & TYPOGRAFIE
   ============================================ */
.landing-page {
    font-family: var(--font-sans);
    font-weight: var(--fw-normal);
    letter-spacing: var(--ls-wide);
    line-height: var(--lh-normal);
    background: var(--champagne);
    color: var(--text-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typografická hierarchie - POUZE H1 a H2 používají display font */
.landing-page h1 {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-tight);
    line-height: var(--lh-tight);
}

.landing-page h2 {
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-tight);
    line-height: var(--lh-tight);
}

/* H3-H6 používají sans-serif pro čistý vzhled */
.landing-page h3,
.landing-page h4,
.landing-page h5,
.landing-page h6 {
    font-family: var(--font-sans);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-normal);
    line-height: var(--lh-tight);
}

/* Display font třída - pro speciální použití */
.display-font {
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-tight);
}

/* Body text */
.landing-page p {
    line-height: var(--lh-relaxed);
}

/* Strong text */
.landing-page strong {
    font-weight: var(--fw-semibold);
}

/* ============================================
   GLASSMORPHISM EFEKTY
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(30, 58, 95, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 58, 95, 0.2);
}

.glass-white {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--sage-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ALPHA BADGE SE SVÍTÍCÍM EFEKTEM
   ============================================ */
.alpha-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(156, 175, 136, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.1);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.2); }
}

/* ============================================
   NAVIGACE
   ============================================ */
.nav-blur {
    background: rgba(251, 249, 244, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

/* ============================================
   PRIVACY BANNER
   ============================================ */
.privacy-banner {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.98), rgba(30, 58, 95, 1));
    border: 2px solid rgba(156, 175, 136, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-abstract {
    background: 
        radial-gradient(circle at 80% 20%, rgba(156, 175, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 58, 95, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.hero-with-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 249, 244, 0.92) 0%, rgba(251, 249, 244, 0.85) 50%, rgba(251, 249, 244, 0.92) 100%);
    z-index: 1;
}

/* Plovoucí tvary */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--sage-green), transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--midnight-navy), transparent);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--soft-gold), transparent);
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

/* ============================================
   FEATURE KARTY
   ============================================ */
.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

/* SVG ikony */
.svg-icon {
    stroke: var(--sage-green);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.feature-card:hover .svg-icon {
    stroke: var(--midnight-navy);
    transform: scale(1.1);
}

/* ============================================
   TLAČÍTKA
   ============================================ */
.btn-glow {
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 15px 60px rgba(30, 58, 95, 0.4), 0 0 30px rgba(156, 175, 136, 0.3);
    transform: translateY(-2px) scale(1.05);
}

.btn-primary {
    background-color: var(--midnight-navy);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--midnight-navy-light);
}

.btn-secondary {
    background-color: var(--sage-green);
    color: var(--midnight-navy);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--sage-green-light);
}

/* ============================================
   COMPARISON KARTY
   ============================================ */
.comparison-card {
    transition: all 0.3s ease;
}

.comparison-card-future {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.2), rgba(156, 175, 136, 0.1));
    border: 2px solid rgba(156, 175, 136, 0.5);
    box-shadow: 0 0 40px rgba(156, 175, 136, 0.3);
    transform: scale(1.05);
}

.comparison-card-traditional {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(239, 68, 68, 0.3);
    opacity: 0.8;
}

/* ============================================
   SCROLL REVEAL ANIMACE
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    background: #ffffff;
}

.faq-badge {
    color: var(--midnight-navy);
}

.faq-title {
    color: var(--midnight-navy);
}

.faq-subtitle {
    color: var(--text-muted);
}

.faq-item {
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    max-height: 2000px;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
    stroke: var(--sage-green);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-question {
    color: var(--midnight-navy);
    font-weight: var(--fw-semibold);
}

.faq-answer {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.05), transparent);
    border-left: 4px solid var(--sage-green);
}

.faq-answer-text {
    color: var(--text-primary);
    line-height: var(--lh-relaxed);
}

.faq-answer-highlight {
    color: var(--midnight-navy);
    font-weight: var(--fw-semibold);
}

.faq-step-number {
    background: rgba(30, 58, 95, 0.1);
    color: var(--midnight-navy);
    font-weight: var(--fw-semibold);
}

.faq-icon-button {
    background: rgba(156, 175, 136, 0.1);
}

.faq-icon-svg {
    stroke: var(--sage-green);
}

.faq-example-bad {
    border-left: 2px solid #f87171;
}

.faq-example-good {
    border-left: 2px solid var(--sage-green);
}

.faq-cta-box {
    border: 2px solid rgba(156, 175, 136, 0.2);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.mobile-menu-panel {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

/* ============================================
   MOBILE CTA BAR
   ============================================ */
.mobile-cta-bar {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--midnight-navy-light) 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: cookieSlideUp 0.5s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-banner.hiding {
    animation: cookieSlideDown 0.5s ease-in forwards;
}

@keyframes cookieSlideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}

/* ============================================
   RESPONZIVNÍ ÚPRAVY
   ============================================ */
@media (max-width: 768px) {
    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 150px; height: 150px; }
    .shape-3 { width: 100px; height: 100px; }
    
    .feature-card:hover {
        transform: translateY(-4px);
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--champagne) 100%);
}

.testimonial-card {
    position: relative;
    overflow: visible;
}

/* Uvozovky - konzistentně používáme display font */
.testimonial-quote {
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--sage-green);
    opacity: 0.4;
    font-family: var(--font-display);
    font-weight: var(--fw-medium);
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: var(--lh-relaxed);
}

.testimonial-name {
    font-weight: var(--fw-semibold);
    color: var(--midnight-navy);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Stats */
.stats-value {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    color: var(--midnight-navy);
}

.stats-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stats-divider {
    background: rgba(156, 175, 136, 0.3);
    width: 1px;
    height: 60px;
}

/* ============================================
   BREAKTHROUGH SECTION
   ============================================ */
.breakthrough-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    position: relative;
    overflow: hidden;
}

.breakthrough-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-green), var(--soft-gold), var(--sage-green));
}

.breakthrough-visual {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.15), rgba(212, 175, 55, 0.1));
    border: 2px solid rgba(156, 175, 136, 0.3);
    position: relative;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* ============================================
   WHY AI SECTION
   ============================================ */
.why-ai-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(156, 175, 136, 0.1));
    position: relative;
    overflow: hidden;
}

.why-ai-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--sage-green), var(--soft-gold));
    border-radius: 3px 0 0 3px;
}

.why-ai-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.why-ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.15);
}

.why-ai-card:hover::before {
    opacity: 1;
}

/* ============================================
   UTILITY TŘÍDY
   ============================================ */
.text-midnight { color: var(--midnight-navy) !important; }
.text-sage { color: var(--sage-green) !important; }
.text-gold { color: var(--soft-gold) !important; }
.text-champagne { color: var(--champagne) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-midnight { background-color: var(--midnight-navy) !important; }
.bg-sage { background-color: var(--sage-green) !important; }
.bg-gold { background-color: var(--soft-gold) !important; }
.bg-champagne { background-color: var(--champagne) !important; }

.border-midnight { border-color: var(--midnight-navy) !important; }
.border-sage { border-color: var(--sage-green) !important; }
.border-gold { border-color: var(--soft-gold) !important; }

/* Gradient backgrounds */
.bg-gradient-champagne {
    background: linear-gradient(180deg, #ffffff 0%, var(--champagne) 100%);
}

/* Touch-friendly */
.touch-target {
    min-width: 44px;
    min-height: 44px;
}

/* Italic text */
.italic {
    font-style: italic;
}
