/* Shared styles for IanOS solution detail pages */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --surface: #ffffff;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-tech: linear-gradient(135deg, #667eea 0%, #06b6d4 50%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}
  
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000; transition: all 0.3s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}
.header.scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); }
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo { text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; }
.logo:hover { transform: scale(1.05); }
.logo-img { height: 40px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.nav-link {
    text-decoration: none; color: var(--text-primary); font-weight: 500;
    transition: all 0.3s ease; position: relative; padding: 0.5rem 0;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background: var(--gradient-tech); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

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

/* Page hero */
.page-hero {
    min-height: 70vh; background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding-top: 80px;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-tech); opacity: 0.9; z-index: 1;
}
.page-hero-content { text-align: center; color: white; max-width: 900px; padding: 4rem 2rem; position: relative; z-index: 3; }
.page-hero-icon {
    width: 90px; height: 90px; border-radius: 22px; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px); color: white; font-size: 2.5rem;
}
.page-hero-badge {
    display: inline-block; padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; margin-bottom: 1.25rem; line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #06b6d4 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { font-size: clamp(1.1rem, 2.5vw, 1.5rem); opacity: 0.9; line-height: 1.5; }

.breadcrumb { position: relative; z-index: 3; margin-bottom: 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.page-hero-slider {
    position: relative;
    min-height: 88px;
    max-width: 760px;
    margin: 2rem auto 0;
} 
.page-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-hero-slide.active {
    opacity: 1;
    transform: translateY(0);
}
.page-hero-slide i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.page-hero-slide strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: white;
}
.page-hero-slide span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.25rem;
    background: var(--gradient-tech); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.2rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

.lead { max-width: 820px; margin: 0 auto; text-align: center; font-size: 1.2rem; color: var(--text-secondary); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-card {
    background: var(--surface); border-radius: 20px; padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft); border: 1px solid var(--border); transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-tech); color: white; font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); }

/* Checklist */
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem 2.5rem; max-width: 900px; margin: 3rem auto 0; }
.checklist li { list-style: none; display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.6rem 0; color: var(--text-primary); }
.checklist i { color: var(--success); margin-top: 0.25rem; }

/* CTA */
.cta { padding: 6rem 0; background: var(--bg-dark); color: white; position: relative; overflow: hidden; text-align: center; }
.cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; }
.cta p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2.5rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1.1rem 2.4rem; background: rgba(255, 255, 255, 0.15);
    color: white; text-decoration: none; border-radius: 50px; font-weight: 600;
    transition: all 0.3s ease; border: 2px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px);
}
.btn-primary:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-3px); box-shadow: var(--shadow-glow); color: white; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1.1rem 2.4rem; background: transparent; color: white;
    text-decoration: none; border-radius: 50px; font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); transform: translateY(-3px); color: white; }
.cta-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--bg-dark); color: white; padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h4 { margin-bottom: 1.5rem; font-weight: 700; font-size: 1.2rem; }
.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8); text-decoration: none;
    margin-bottom: 0.75rem; display: block; transition: color 0.3s ease;
}
.footer-section a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: white; flex-direction: column; justify-content: flex-start;
        padding: 2rem; gap: 2rem; transition: left 0.3s ease; box-shadow: var(--shadow-lg);
    }
    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: block; }
    .cta-actions { flex-direction: column; align-items: center; }
    .page-hero-content { padding-left: 1.25rem; padding-right: 1.25rem; }
    .page-hero-slider { min-height: 150px; }
    .page-hero-slide { flex-direction: column; text-align: center; }
} 

.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .page-hero-slide {
        animation: none !important; transition: none !important;
    }
}
