/* ===================================================
   Webyn — custom.css
   Accent: #0891b2 (cyan-600)
   Template: 2089_meteor (Bootstrap 3 / FA4)
   =================================================== */

:root {
    --accent: #0891b2;
    --accent-dark: #0e7490;
    --accent-light: #cffafe;
    --bg: #0b1120;
    --surface: #111827;
    --surface2: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(255,255,255,0.08);
    --radius: 10px;
    --nav-height: 70px;
}

/* ---- Reset & Base ---- */
body {
    font-family: 'Open Sans', system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.85;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5 {
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text);
}

h1 { font-size: 59px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
h4 { font-size: 18px; font-weight: 600; }

p { font-size: 18px; color: var(--text-muted); line-height: 1.85; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); text-decoration: none; }

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* ---- Header / Navbar ---- */
.header {
    background: rgba(11, 17, 32, 0.97) !important;
    border-bottom: 1px solid var(--border);
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 0;
}

.navbar {
    margin-bottom: 0;
    border: none;
    background: transparent;
    min-height: var(--nav-height);
}

.navbar-inverse {
    background: transparent !important;
    border: none !important;
}

.navbar-brand {
    padding: 16px 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 36px;
}

.nav.navbar-nav > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 26px 14px;
    line-height: 1;
    transition: color 0.2s;
}

.nav.navbar-nav > li > a:hover,
.nav.navbar-nav > li.active > a {
    color: var(--accent) !important;
    background: transparent !important;
}

.navbar-toggle {
    border-color: var(--border) !important;
    margin-top: 18px;
}

.navbar-toggle .icon-bar {
    background: var(--text) !important;
}

/* ---- Hero ---- */
.hero-section {
    background: var(--bg);
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8,145,178,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    background: rgba(8,145,178,0.12);
    padding: 4px 12px;
    border-radius: 20px;
}

.hero-section h1 {
    font-size: 59px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-section p.lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 36px;
}

/* ---- Buttons ---- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff !important;
}

.btn-secondary {
    background: transparent;
    color: var(--text) !important;
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

.btn-gap {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ---- Page Sections ---- */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--surface);
    padding: 90px 0;
}

.page-hero {
    background: var(--surface);
    padding: 140px 0 70px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 580px;
}

/* Section headings */
.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

.section-heading h2 { color: var(--text); margin-bottom: 14px; }
.section-heading p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---- Cards (Features / Steps) ---- */
.feature-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.feature-card,
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--text);
    transition: border-color 0.2s;
}

.feature-card:hover,
.step-card:hover {
    border-color: var(--accent);
}

.feature-card .icon-wrap {
    width: 52px; height: 52px;
    border-radius: 10px;
    background: rgba(8,145,178,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 22px;
}

.feature-card h3,
.step-card h3 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p,
.step-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.step-num {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 12px;
}

/* ---- Stats ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
    margin-top: 40px;
}

.stat-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    color: var(--text);
}

.stat-value {
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ---- Pricing ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    color: var(--text);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    background: var(--surface2);
    transform: translateY(-8px);
}

.pricing-card .badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 10px;
}

.price {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 16px 0 8px;
}

.price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.features li {
    font-size: 15px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features li::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

/* ---- FAQ / Accordion ---- */
.faq-section {
    padding: 90px 0;
    background: var(--surface);
}

.faq-section h2 {
    text-align: center;
    color: var(--text);
    margin-bottom: 48px;
}

.panel-group .panel {
    background: var(--surface2);
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
}

.panel-heading {
    background: transparent !important;
    padding: 0;
}

.panel-title a {
    display: block;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none;
}

.panel-title a:hover { color: var(--accent) !important; }

.panel-body {
    font-size: 16px;
    color: var(--text-muted);
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
}

/* ---- Blog / Cards ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.blog-card:hover { border-color: var(--accent); }

.blog-card a { text-decoration: none; color: inherit; display: block; }

.blog-card-img {
    background: var(--surface2);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.blog-card-body {
    padding: 24px;
}

.blog-card time {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* ---- Team ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    color: var(--text);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    margin-bottom: 20px;
    border: 3px solid var(--border);
}

.team-avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    border: 3px solid var(--border);
}

.team-card h3 { font-size: 20px; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.team-bio { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.team-email { font-size: 14px; color: var(--accent); }

/* ---- Contact ---- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.contact-list li {
    font-size: 16px;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-list li i {
    color: var(--accent);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-list li a { color: var(--accent); }

.contact-form .form-control {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 16px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
    background: var(--surface);
    color: var(--text);
}

.contact-form .form-control::placeholder { color: var(--text-muted); }

textarea.form-control { resize: vertical; min-height: 140px; }

/* ---- About values ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text);
}

.value-card .icon-wrap {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: rgba(8,145,178,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 20px;
}

.value-card h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, rgba(8,145,178,0.15) 0%, rgba(14,116,144,0.08) 100%);
    border: 1px solid rgba(8,145,178,0.25);
    border-radius: 16px;
    padding: 64px 40px;
    text-align: center;
    margin: 80px auto;
    max-width: 800px;
    color: var(--text);
}

.cta-section h2 { color: var(--text); margin-bottom: 14px; }
.cta-section p { color: var(--text-muted); margin-bottom: 28px; }

/* ---- Footer ---- */
footer {
    background: var(--surface) !important;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

footer h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p { font-size: 15px; color: var(--text-muted); }

footer ul {
    list-style: none;
    padding: 0; margin: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

footer ul li a:hover { color: var(--accent); }

.footer-address { font-size: 14px; color: var(--text-muted); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---- Cookie Banner ---- */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface2);
    border-top: 1px solid var(--border);
    z-index: 99999;
    padding: 18px 24px;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cookie-text strong {
    font-size: 15px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-text p a { color: var(--accent); }

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-decline {
    padding: 9px 20px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

#cookie-accept {
    padding: 9px 20px;
    background: var(--accent);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#cookie-accept:hover { background: var(--accent-dark); }

/* ---- Utilities ---- */
.text-accent { color: var(--accent); }
.mt-60 { margin-top: 60px; }
.mb-60 { margin-bottom: 60px; }

@media (max-width: 991px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    .hero-section { padding: 120px 0 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 767px) {
    h1 { font-size: 34px; }
    .hero-section { padding: 110px 0 50px; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn-gap { flex-direction: column; align-items: flex-start; }
    .cta-section { padding: 40px 24px; }
}

/* Fix template overrides */
.page-section {
    background: var(--bg) !important;
}

.header {
    background: rgba(11, 17, 32, 0.98) !important;
}
