/* RESET & VARIABLES */
:root {
    --primary: #2563EB; /* Trust Blue */
    --hover: #1D4ED8;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-body: #475569;
    --border: #E2E8F0;
    --green: #10B981;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, #1A1A2E, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.section-header p, .hero p { color: var(--text-body); font-size: 1.15rem; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 8px; font-weight: 600;
    text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none; font-size: 1rem;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2); }
.btn-primary:hover { background: var(--hover); transform: translateY(-1px); box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; border-radius: 10px; }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 74px; }
.logo { display:flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; color: var(--text-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-body); font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }

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

/* HERO SECTION */
.hero { padding: 160px 0 100px; background: linear-gradient(180deg, var(--bg-light) 0%, white 100%); }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; padding: 6px 14px; background: #e0e7ff; color: #4338ca; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; border: 1px solid #c7d2fe; }
.hero h1 { font-size: 3.5rem; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero p { margin-bottom: 40px; }
.hero-cta .subtext { font-size: 0.85rem; color: #94a3b8; margin-top: 12px; margin-bottom:0; }

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
}

/* MOCKUP VISUAL */
.browser-mockup {
    background: white; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); overflow: hidden;
}
.browser-header { background: #f1f5f9; padding: 12px 16px; display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-body { padding: 30px; background: #fafafa; font-size: 0.9rem; }
.ai-message { position: relative; }
.code-block { background: #1e1e1e; color: #d4d4d4; border-radius: 8px; margin-top: 20px; font-family: monospace; overflow: hidden; }
.code-head { background: #2d2d2d; padding: 8px 16px; display:flex; justify-content:space-between; align-items:center; color: #9cdcfe; font-size: 0.8rem; }
.code-block code { display: block; padding: 16px; }
.copy-btn { background: transparent; color: #aaa; border: none; cursor:pointer;}

.plugin-injection { margin-top: 15px; position:relative; }
.btn-extension { background: white; border: 1px solid var(--border); padding: 8px 16px; border-radius: 20px; font-weight: 600; display:flex; align-items:center; gap: 6px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); cursor: pointer; color: #000; }
.dropdown-mockup { position: absolute; top: calc(100% + 5px); left: 0; background: white; border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 220px;}
.dropdown-mockup div { padding: 10px 12px; font-size: 0.85rem; display:flex; align-items:center; border-radius: 6px; color: #111;}
.dropdown-mockup div:last-child { opacity: 0.6; } /* Simulated disabled Excel */

/* SECTIONS */
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto;}
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: -1px; }

/* BENTO GRID (Features) */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 40px; transition: all 0.2s;}
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.04); border-color: #cbd5e1; }
.col-span-2 { grid-column: span 2; }
.bento-icon { font-size: 2.2rem; margin-bottom: 20px; }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.bento-card p { color: var(--text-body); font-size: 0.95rem; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: span 1; }
}

/* SECURITY BANNER */
.banner-blue { background: var(--primary); color: white; padding: 80px 0;}
.banner-container { display:flex; align-items:center; gap: 40px; }
.banner-icon { font-size: 5rem; }
.banner-text h2 { margin-bottom: 12px; color:white; }
.banner-text p { font-size: 1.1rem; color: #bfdbfe; max-width: 700px; }

@media (max-width: 768px) {
    .banner-container { flex-direction:column; text-align:center; }
}

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 40px; }
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: 0 20px 40px -10px rgba(37,99,235,0.15); position:relative; transform: scale(1.05); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight:700;}
.card-head { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 24px;}
.card-head h3 { font-size: 1.4rem; color: var(--text-body); font-weight: 600;}
.price { font-size: 3rem; font-weight: 800; color: var(--text-dark); margin: 8px 0; letter-spacing: -2px;}
.plan-desc { font-size: 0.95rem; color: #94a3b8; }
.features { list-style: none; margin-bottom: 32px; }
.features li { margin-bottom: 14px; display:flex; gap: 10px; color: var(--text-main); font-size: 0.95rem; }

@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; max-width: 450px; margin: 0 auto; }
    .pricing-card.popular { transform: scale(1); }
}

/* FAQ */
.faq-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.faq-item h4 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item p { color: var(--text-body); font-size: 0.95rem; }

@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }

/* FOOTER */
footer { padding: 40px 0; border-top: 1px solid var(--border); display: flex; color: var(--text-body); font-size: 0.9rem;}
.footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--text-body); transition: color 0.2s;}
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 600px) {
    .footer-container { flex-direction:column; gap: 20px; text-align:center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ANIMATION SLIDER */
.animation-wrapper {
    padding: 0; 
    display: block; 
    overflow: hidden; 
    border-bottom-left-radius: 16px; 
    border-bottom-right-radius: 16px; 
    background: #fafafa; 
    position: relative; 
    width: 100%;
}

.animation-slider {
    position: relative;
    width: 100%;
    /* Default fallback height, aspect ratio takes over in modern browsers */
    min-height: 400px; 
    aspect-ratio: 16 / 10;
}

.animation-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.animation-slider .slide.active {
    opacity: 1;
    z-index: 10;
}

.animation-slider .slide.full-doc {
    object-fit: contain;
    padding: 10px; /* jemne odsadene o okrajov, aby to vyzeralo ako na ploche */
    box-shadow: 0 0 20px rgba(0,0,0,0.05); /* pre pekne oddelenie od pozadia */
}

/* CAROUSEL CAPTION PILL */
.caption-pill {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 10px);
    background: rgba(15, 23, 42, 0.85); /* Dark background with subtle transparency */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    pointer-events: none;
    letter-spacing: -0.2px;
}
