/* ====== BROTHERLY TECHNOLOGY — SHARED STYLESHEET ====== */

/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* ====== COLOR SYSTEM ====== */
:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --secondary: #F97316;
    --secondary-dark: #EA580C;
    --gradient: linear-gradient(135deg, #F97316 0%, #7C3AED 100%);
    --gradient-reverse: linear-gradient(135deg, #7C3AED 0%, #F97316 100%);
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --max-width: 1200px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ====== UTILITY BAR ====== */
.utility-bar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.utility-bar a { color: var(--gray-400); font-weight: 500; transition: color 0.2s; }
.utility-bar a:hover { color: var(--white); }
.utility-links { display: flex; gap: 20px; align-items: center; }
.utility-phone { display: flex; gap: 24px; align-items: center; }
.utility-phone a { display: flex; align-items: center; gap: 6px; }
.utility-phone .label { color: var(--gray-400); }
.utility-phone .number { color: var(--white); font-weight: 600; }

/* ====== NAVBAR ====== */
.navbar {
    background: var(--dark);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--white); }
.logo-icon {
    width: 44px; height: 44px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.1rem; color: white;
    flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { color: var(--gray-400); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    cursor: pointer; border: none; transition: all 0.3s ease; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: 0 4px 15px rgba(124,58,237,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-dark { background: var(--dark); color: var(--white); border: 2px solid rgba(255,255,255,0.15); }
.btn-dark:hover { border-color: var(--secondary); }

/* ====== SECTION STYLES ====== */
section { padding: 80px 0; }
.section-label {
    display: inline-block; color: var(--primary); font-weight: 700;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--dark);
}
.section-sub { font-size: 1.1rem; color: var(--gray-600); max-width: 650px; line-height: 1.7; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ====== INNER PAGE HERO ====== */
.page-hero {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%); pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; max-width: 800px; }
.page-hero .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(124,58,237,0.15); color: var(--secondary); padding: 8px 16px;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    border: 1px solid rgba(249,115,22,0.2);
}
.page-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.page-hero h1 .highlight {
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { font-size: 1.15rem; color: var(--gray-400); margin-bottom: 36px; line-height: 1.7; }
.page-hero .hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====== BREADCRUMB ====== */
.breadcrumb {
    background: var(--gray-50); padding: 12px 0;
    border-bottom: 1px solid var(--gray-200); font-size: 0.85rem;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray-400); margin: 0 8px; }
.breadcrumb strong { color: var(--dark); }

/* ====== FEATURE GRID ====== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px;
}
.feature-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 36px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient); opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(249,115,22,0.1));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--primary);
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

/* ====== DARK SECTION ====== */
.dark-section { background: var(--dark); color: var(--white); }
.dark-section .section-label { color: var(--secondary); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-sub { color: var(--gray-400); }

/* ====== CHECKLIST ====== */
.checklist { list-style: none; }
.checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: none; }
.check-icon { color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ====== TWO-COL SPLIT ====== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

/* ====== CTA BAND ====== */
.cta-band {
    background: var(--gradient); padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; top: -50%; right: -25%; width: 500px; height: 500px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-band .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====== TESTIMONIAL CARDS ====== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.testimonial-card {
    background: var(--dark-surface); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); padding: 32px;
}
.testimonial-stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-card p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { color: var(--gray-400); font-size: 0.8rem; }

/* ====== PROCESS STEPS ====== */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; position: relative; }
.process-steps::before {
    content: ''; position: absolute; top: 40px; left: 15%; right: 15%;
    height: 2px; background: linear-gradient(90deg, var(--secondary), var(--primary)); opacity: 0.3;
}
.step { text-align: center; position: relative; z-index: 2; }
.step-number {
    width: 80px; height: 80px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white);
    margin: 0 auto 24px; box-shadow: 0 8px 30px rgba(124,58,237,0.3);
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.6; }

/* ====== STAT BAR ====== */
.stats-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.stat-inline-item { text-align: center; }
.stat-inline-number {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 800;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 8px;
}
.stat-inline-label { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }

/* ====== FAQ ====== */
.faq-list { margin-top: 48px; max-width: 780px; margin-left: auto; margin-right: auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    padding: 20px 24px; font-weight: 700; font-size: 1rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; background: var(--white);
    transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-answer { padding: 0 24px 20px; color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: var(--gray-50); color: var(--primary); }
.faq-toggle { font-size: 1.4rem; color: var(--gray-400); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--primary); }

/* ====== CONTACT FORM ====== */
.contact-form-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 48px; box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 16px;
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius);
    color: var(--dark); font-size: 0.95rem; transition: border-color 0.3s; font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
    background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
    width: 100%; padding: 16px; background: var(--gradient); color: var(--white);
    border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.3); }

/* ====== BLOG CARDS ====== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.blog-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-image {
    height: 200px; background: var(--gradient); display: flex; align-items: center;
    justify-content: center; font-size: 3rem;
}
.blog-card-body { padding: 28px; }
.blog-tag {
    display: inline-block; background: rgba(124,58,237,0.08); color: var(--primary);
    padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.blog-meta { font-size: 0.8rem; color: var(--gray-400); display: flex; gap: 16px; }

/* ====== FOOTER ====== */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 60px 0 30px; color: var(--gray-400); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-400); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.85rem;
}

/* ====== ANIMATIONS ====== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-grid.reverse { direction: ltr; }
    .process-steps { grid-template-columns: 1fr; gap: 32px; }
    .process-steps::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-inline { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .utility-bar { display: none; }
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    section { padding: 60px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .blog-grid { grid-template-columns: 1fr; }
    .stats-inline { grid-template-columns: 1fr 1fr; }
    .page-hero { padding: 60px 0; }
    .page-hero h1 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
    .stats-inline { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
