:root {
    /* BRAND COLORS FOR ANALITYKA (Purple) */
    --brand-color: #7A3F9C;
    --brand-color-hover: #5b2d7a;
    
    --dark-bg: #121212;
    --medium-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #222222;
    --text-muted: #a0a0a0;
    --success-green: #2ecc71;
    --warning-yellow: #f59e0b;
    --border-color: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; font-size: 16px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.section-title { font-size: 42px; font-weight: 800; text-align: center; margin-bottom: 24px; line-height: 1.2; }
.section-subtitle { font-size: 18px; text-align: center; max-width: 700px; margin: 0 auto 60px auto; color: var(--text-muted); }

.cta-button { display: inline-block; background-color: var(--brand-color); color: var(--text-light); font-size: 18px; font-weight: 700; padding: 16px 40px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(122, 63, 156, 0.4); background-color: var(--brand-color-hover); }

.alert-bar { background-color: #000; color: var(--text-muted); font-size: 14px; text-align: center; padding: 12px; border-bottom: 1px solid var(--border-color); }

/* HEADER WITH LOGOS - DESKTOP STYLES */
.partner-header {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(18,18,18,0.9), transparent);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.header-logo {
    height: 45px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-logo:hover { opacity: 1; }

.header-divider {
    color: rgba(255,255,255,0.3);
    font-size: 24px;
    font-weight: 300;
}

/* HERO SECTION */
.hero { background-image: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.8)), url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&q=80'); background-size: cover; background-position: center; padding: 160px 0 100px; text-align: center; }
.hero h1 { font-size: 64px; font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--text-light); }
.hero p { font-size: 20px; max-width: 750px; margin: 0 auto 40px auto; color: var(--text-muted); }

.cta-phone-link { margin-top: 24px; font-size: 16px; color: var(--text-muted); }
.cta-phone-link a { color: var(--text-light); text-decoration: none; font-weight: 600; }
.cta-phone-link a:hover { text-decoration: underline; }

.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 800px; margin: 0 auto 40px; }
.data-card { background-color: var(--medium-bg); padding: 32px; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; }
.data-card h3 { font-size: 20px; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.data-card .metric { font-size: 48px; font-weight: 800; margin-bottom: 8px; }
.data-card .metric-label { font-size: 16px; color: var(--text-muted); }
.data-card.client .metric { color: var(--brand-color); }
.data-card.market .metric { color: var(--success-green); }
.impact-statement { text-align: center; font-size: 18px; max-width: 800px; margin: 60px auto 0; padding: 24px; background-color: rgba(122, 63, 156, 0.1); border: 1px solid var(--brand-color); border-radius: 8px; }

/* FEATURE CARDS GRID */
.pilot-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.feature-card {
    background-color: var(--medium-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(122, 63, 156, 0.4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--brand-color);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: rgba(122, 63, 156, 0.2);
    border: 1px solid var(--brand-color);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
}

.feature-highlight-box {
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--brand-color);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.feature-highlight-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-highlight-box p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

.feature-card > p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
    margin-top: auto;
}

/* NEW STYLES FOR OFFLINE SECTION & VIDEO */
.physical-terminal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.terminal-text-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.terminal-text-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Video Styles - PURPLE FRAME */
.terminal-media-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 20px;
    border: 4px solid var(--brand-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    background-color: #000;
}

.terminal-media-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.volume-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.volume-toggle-btn:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
    transform: translateY(-2px);
}

.feature-list { list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.feature-list li svg { color: var(--success-green); margin-top: 4px; flex-shrink: 0; }
.feature-list li strong { font-size: 16px; font-weight: 600; color: var(--text-light); display: block; }

.outcomes { margin-top: 60px; padding: 32px; background-color: var(--medium-bg); border-radius: 12px; }
.outcomes h3 { text-align: center; margin-bottom: 24px; font-size: 24px; }
.outcomes ul { list-style: none; display: flex; justify-content: space-around; }
.outcomes li { display: flex; align-items: center; font-size: 16px; font-weight: 500; }
.outcomes li svg { color: var(--success-green); margin-right: 12px; }

.case-studies { background-color: var(--medium-bg); }
.bridge-text { font-size: 16px; background: var(--dark-bg); padding: 24px; border-radius: 8px; border-left: 4px solid var(--brand-color); max-width: 800px; margin: 30px auto 60px; }
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.case-study-card { background-color: var(--dark-bg); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--border-color); }
.case-study-card h3 { font-size: 24px; margin-bottom: 8px; }
.case-study-card .problem { color: var(--text-muted); margin-bottom: 24px; min-height: 48px; }
.case-study-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.metric-item .value { font-size: 28px; font-weight: 700; }
.metric-item .value .change { font-size: 20px; color: var(--success-green); }
.metric-item .label { color: var(--text-muted); }
.testimonial { border-left: 3px solid var(--brand-color); padding-left: 20px; font-style: italic; color: #dcdcdc; margin-top: auto; }
.testimonial .author { font-style: normal; font-weight: 600; margin-top: 12px; display: block; color: #fff; }

/* PRICING SECTION STYLES */
.pricing-container { display: flex; align-items: stretch; justify-content: center; gap: 24px; flex-wrap: wrap; }
.pricing-card { 
    background-color: var(--medium-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    padding: 32px 24px; 
    flex: 1; 
    min-width: 280px; 
    max-width: 350px; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease-in-out; 
    margin: 0; 
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(122, 63, 156, 0.2); border-color: rgba(255, 255, 255, 0.2); }
.pricing-card h2 { font-size: 24px; color: var(--text-light); margin: 0 0 10px 0; font-weight: 700; }
.pricing-card .description { font-size: 15px; color: var(--text-muted); line-height: 1.5; min-height: 45px; margin-bottom: 20px;}

.price-info { margin: 15px 0; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.price-info > div { display: flex; align-items: center; justify-content: center; }
.price-info .price-symbol { font-size: 36px; color: var(--text-light); }
.price-value { font-size: 36px; font-weight: 700; color: var(--text-light); }
.currency { font-size: 20px; font-weight: 500; color: var(--text-muted); margin-left: 5px; }
.price-info .period { font-size: 13px; margin-top: 4px; color: var(--text-muted); }

.trial-text { font-size: 12px; color: var(--success-green); text-align: center; margin-top: 5px; margin-bottom: 20px; font-weight: 500; }

.features-list-pricing { list-style: none; padding: 0; margin: 15px 0 0 0; border-top: 1px solid var(--border-color); padding-top: 25px; }

/* Features Animation */
.feature-item { 
    display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 14px; line-height: 1.3; overflow: hidden;
    /* Initial State: Grey Bar (Dark Theme) */
    background-color: #2c2c2c; 
    height: 14px; 
    border-radius: 4px; 
    padding: 0 10px;
    transition: background-color 0.4s ease, height 0.4s ease, padding 0.4s ease;
}
/* Content hidden initially */
.feature-item i, .feature-item span { 
    opacity: 0; 
    transform: translateY(10px); 
    transition: opacity 0.4s ease, transform 0.4s ease; 
    color: var(--text-muted); 
}
.feature-item i { color: var(--brand-color); width: 20px; text-align: center; }

/* Final Animated State */
.feature-item.animated { 
    background-color: transparent; 
    height: auto; 
    padding: 0; 
}
.feature-item.animated i, .feature-item.animated span { 
    opacity: 1; 
    transform: translateY(0); 
}

.verified-badge { text-align: center; margin: 0 auto; font-size: 14px; color: var(--text-muted); position: relative; display: inline-block; padding: 8px 16px; background: var(--dark-bg); border-radius: 20px; border: 1px solid var(--border-color); }
.info-tooltip { cursor: pointer; font-weight: bold; margin-left: 8px; position: relative; }
.info-tooltip .tooltip-content { display: none; position: absolute; bottom: 140%; left: 50%; transform: translateX(-50%); background: #000; color: #fff; padding: 15px; border-radius: 8px; width: 340px; text-align: left; font-size: 12px; z-index: 10; border: 1px solid var(--border-color); }
.info-tooltip:hover .tooltip-content { display: block; }

.final-cta { background-color: var(--brand-color); text-align: center; }
.final-cta .section-title, .final-cta .section-subtitle { color: var(--text-light); }
.final-cta .section-subtitle { color: rgba(255,255,255,0.8); }
.contact-person { margin-top: 40px; }
.contact-person .name { font-size: 22px; font-weight: 700; }
.contact-person .title { color: rgba(255,255,255,0.8); }
.final-cta .cta-button { background-color: #fff; color: var(--brand-color); margin-top: 24px; }
.final-cta .cta-button:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.final-cta .cta-phone-link { color: rgba(255,255,255,0.8); }
.final-cta .cta-phone-link a { color: #fff; }

footer { padding: 40px 0; text-align: center; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border-color); }

/* MOBILE OPTIMIZATIONS */
@media (max-width: 992px) {
    .hero h1 { font-size: 52px; }
    .pilot-grid, .case-study-grid { grid-template-columns: 1fr; }
    .physical-terminal-grid { grid-template-columns: 1fr; }
    .terminal-media-container { order: -1; margin-bottom: 20px; width: 100%; max-width: 320px; } 
    .outcomes ul { flex-direction: column; align-items: center; }
    .outcomes li { margin-bottom: 16px; }
    .pricing-container { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 500px; }
}
@media (max-width: 768px) {
    .partner-header { top: auto; position: relative; padding: 15px 0; }
    .header-logo { height: 28px; max-width: 140px; }
    .header-flex { gap: 15px; }
    .section-title { font-size: 36px; }
    .hero { padding-top: 60px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 18px; }
    .data-grid { grid-template-columns: 1fr; }

}
/* QUOTE SECTION STYLES */
.case-quote {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.quote-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-color);
    flex-shrink: 0;
}

.quote-content blockquote {
    font-size: 14px;
    font-style: italic;
    color: #e0e0e0;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.quote-name a {
    color: var(--text-light);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.quote-name a:hover {
    color: var(--brand-color);
    text-decoration: underline;
}

.quote-position {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}
