/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0f172a;   /* Deep Navy */
    --secondary-color: #1e293b; /* Dark Slate */
    --accent-color: #10b981;    /* Tech Emerald */
    --accent-hover: #059669;
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Roboto', sans-serif; color: var(--text-dark); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4, h5 { color: var(--primary-color); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 500; cursor: pointer; border: none; transition: all 0.3s ease; text-align: center;}
.btn-primary { background-color: var(--accent-color); color: var(--white); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); }
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: var(--white); padding: 8px 20px; font-size: 0.9rem; }
.btn-outline:hover { background-color: var(--white); color: var(--primary-color); }
.full-width { width: 100%; }

/* HEADER */
.site-header { background-color: var(--primary-color); height: var(--header-height); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.5rem; }
.logo-icon { height: 40px; width: 40px; }
.nav-list { display: flex; gap: 30px; }
.nav-link { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.nav-link:hover { color: var(--accent-color); }
.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; }

/* HERO */
.hero-section { position: relative; padding: 100px 0; min-height: 100vh; display: flex; align-items: center; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.3); }
.hero-content { display: grid; grid-template-columns: 1fr; gap: 40px; z-index: 2; }
.hero-text { color: var(--white); text-align: center; }
.hero-title { font-size: 2.8rem; margin-bottom: 20px; }
.hero-title span { color: var(--accent-color); }
.hero-form-wrapper { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 480px; margin: 0 auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 5px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; }
.checkbox-group { display: flex; gap: 10px; font-size: 0.75rem; color: var(--text-light); align-items: flex-start; }

/* SECTIONS COMMON */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-title { font-size: 2.2rem; margin-bottom: 15px; }

/* TRUST LOGOS */
.trust-logos-section { padding: 40px 0; background-color: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.logos-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; font-weight: 700; color: var(--secondary-color); font-size: 1.2rem; }
.partner-logo { display: flex; align-items: center; gap: 10px; }

/* FEATURES */
.features-section { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.feature-card { padding: 30px; border-radius: 12px; background: var(--white); border: 1px solid #e2e8f0; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.icon-box { width: 60px; height: 60px; background: rgba(16, 185, 129, 0.1); color: var(--accent-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }

/* FAQ SECTION */
.faq-section { padding: 80px 0; background-color: var(--bg-light); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 8px; margin-bottom: 15px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--primary-color); }
.faq-question:hover { background-color: #f8fafc; }
.faq-icon { transition: transform 0.3s; color: var(--accent-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; color: var(--text-light); }
.faq-item.active .faq-answer { padding-bottom: 20px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* TEAM SECTION */
.team-section { padding: 80px 0; background-color: var(--white); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
.team-card { text-align: center; padding: 30px; border-radius: 12px; background: var(--white); border: 1px solid #e2e8f0; transition: all 0.3s; }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 3px solid var(--accent-color); padding: 3px; }
.team-role { color: var(--accent-color); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; display: block; }
.team-social { margin-top: 15px; display: flex; justify-content: center; gap: 15px; }
.team-social a { color: var(--text-light); font-size: 1.1rem; }
.team-social a:hover { color: var(--primary-color); }

/* ABOUT & BLOG */
.about-section { padding: 80px 0; background-color: var(--bg-light); }
.split-layout { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.about-img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); aspect-ratio: 16/9; object-fit: cover; }
.blog-section { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.blog-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-content { padding: 20px; }

/* FOOTER */
.site-footer { background-color: var(--primary-color); color: var(--white); padding: 60px 0 20px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-links h5 { color: var(--white); margin-bottom: 20px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--accent-color); }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s; }
.social-links a:hover { background: var(--accent-color); color: white; }
.footer-bottom { padding-top: 20px; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* CAREERS PAGE */
.careers-header { background-color: var(--secondary-color); padding: 80px 0; text-align: center; color: white; }
.job-list { max-width: 800px; margin: -40px auto 60px; position: relative; z-index: 2; }
.job-card { background: white; padding: 30px; border-radius: 8px; box-shadow: var(--shadow-md); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.job-info h4 { margin-bottom: 5px; }
.job-meta { font-size: 0.85rem; color: var(--text-light); }

/* COOKIE & UTILS */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1000px; background: white; padding: 20px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 9999; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept { background: var(--primary-color); color: white; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; }
.btn-cookie-deny { background: transparent; border: 1px solid #cbd5e1; padding: 8px 20px; border-radius: 6px; cursor: pointer; }
.btn-loading { position: relative; pointer-events: none; opacity: 0.8; }
.btn-loading span { visibility: hidden; }
.btn-loading::after { content: ""; position: absolute; width: 20px; height: 20px; top: 50%; left: 50%; margin-top: -10px; margin-left: -10px; border: 3px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* MEDIA QUERIES */
@media (min-width: 768px) {
    .hero-content { grid-template-columns: 1.2fr 0.8fr; text-align: left; }
    .features-grid, .team-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .split-layout { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .mobile-menu-toggle { display: none; }
    .nav-list, .header-cta { display: flex; }
}
@media (max-width: 767px) {
    .nav-list, .header-cta { display: none; } 
    .mobile-menu-toggle { display: block; }
    .job-card { flex-direction: column; align-items: flex-start; gap: 15px; }
}