/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; line-height: 1.6; color: #333; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER & NAVIGATION ===== */
.header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo img { width: 50px; height: 50px; object-fit: contain; }
.nav-menu { display: flex; gap: 2rem; }
.nav-menu a { font-weight: 500; transition: color 0.3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 25px; height: 3px; background: var(--dark); transition: 0.3s; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; box-shadow: var(--shadow-lg); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: 0.3s; }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
}

/* ===== HERO SECTION ===== */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 5rem 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; pointer-events: none; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>'); opacity: 0.3; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image img { border-radius: 12px; box-shadow: var(--shadow-lg); }

@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.25rem; }
    .hero-buttons { justify-content: center; }
}

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 0.875rem 2rem; border-radius: 8px; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--light); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--dark); }
.section-header p { font-size: 1.125rem; color: var(--gray); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 4rem 0; text-align: center; }
.page-hero h1 { font-size: 2.75rem; margin-bottom: 1rem; }
.page-hero p { font-size: 1.25rem; opacity: 0.95; }

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: var(--shadow); transition: all 0.3s; position: relative; }
.service-card::before { content: ''; position: absolute; pointer-events: none; top: 0; left: 0; width: 4px; height: 0; background: var(--primary); border-radius: 12px 0 0 12px; transition: height 0.3s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { height: 100%; }
.service-icon { color: var(--primary); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--dark); }
.service-card p { color: var(--gray); margin-bottom: 1.5rem; }
.service-link { color: var(--primary); font-weight: 600; transition: gap 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.service-link:hover { gap: 0.75rem; }

/* ===== SERVICE PAGE STYLES ===== */
.service-intro { background: var(--light); }
.service-intro p { font-size: 1.125rem; line-height: 1.8; color: var(--gray); max-width: 900px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-item { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); }
.feature-item h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--dark); }
.feature-item p { color: var(--gray); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.process-step { text-align: center; }
.step-number { width: 60px; height: 60px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; }
.process-step h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--dark); }
.process-step p { color: var(--gray); }
.service-technologies { background: var(--light); text-align: center; }
.service-technologies p { font-size: 1.125rem; color: var(--gray); max-width: 800px; margin: 1rem auto 0; }

/* ===== ABOUT PREVIEW ===== */
.about-preview { background: var(--white); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.25rem; margin-bottom: 1.5rem; color: var(--dark); }
.about-text p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.8; }
.check-list { margin: 1.5rem 0; }
.check-list li { padding: 0.75rem 0; padding-left: 2rem; position: relative; color: var(--dark); }
.check-list li::before { content: '✓'; position: absolute; pointer-events: none; left: 0; color: var(--secondary); font-weight: 700; font-size: 1.25rem; }
.about-image img { border-radius: 12px; box-shadow: var(--shadow-lg); }

@media (max-width: 968px) {
    .about-content { grid-template-columns: 1fr; }
}

/* ===== STATS ===== */
.stats { background: var(--primary); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; }
.stat-label { font-size: 1.125rem; opacity: 0.95; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); }
.testimonial-content { margin-bottom: 1.5rem; }
.testimonial-content p { font-style: italic; color: var(--gray); line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--dark); }
.author-position { font-size: 0.875rem; color: var(--gray); }

/* ===== CTA SECTION ===== */
.cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; }

/* ===== ABOUT STORY ===== */
.about-story { padding: 5rem 0; }
.story-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.story-text h2 { font-size: 2.25rem; margin-bottom: 1.5rem; color: var(--dark); }
.story-text p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.8; }
.story-image img { border-radius: 12px; box-shadow: var(--shadow-lg); }

@media (max-width: 968px) {
    .story-content { grid-template-columns: 1fr; }
}

/* ===== MISSION & VISION ===== */
.mission-vision { background: var(--light); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: var(--shadow); }
.mv-card h3 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--primary); }
.mv-card p { color: var(--gray); line-height: 1.8; }

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

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.value-card { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); text-align: center; }
.value-icon { color: var(--primary); margin-bottom: 1rem; display: flex; justify-content: center; }
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--dark); }
.value-card p { color: var(--gray); line-height: 1.7; }

/* ===== TEAM ===== */
.team { background: var(--light); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-member { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: all 0.3s; }
.team-member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member-image img { width: 100%; height: 300px; object-fit: cover; }
.team-member h3 { font-size: 1.25rem; margin: 1.5rem 1rem 0.5rem; color: var(--dark); }
.member-role { color: var(--primary); font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.member-bio { color: var(--gray); padding: 0 1.5rem 1.5rem; line-height: 1.6; }

/* ===== TECHNOLOGIES ===== */
.technologies { padding: 4rem 0; }
.tech-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.tech-category { background: var(--light); padding: 2rem; border-radius: 12px; }
.tech-category h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary); }
.tech-category p { color: var(--gray); line-height: 1.7; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; }
.contact-form-wrapper h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--dark); }
.contact-form-wrapper > p { color: var(--gray); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { padding: 0.875rem; border: 2px solid var(--light); border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--gray); cursor: pointer; }
.checkbox-label input[type="checkbox"] { margin-top: 0.25rem; }
.form-message { padding: 1rem; border-radius: 8px; display: none; }
.form-message.success { background: #d1fae5; color: #065f46; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; display: block; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--light); padding: 2rem; border-radius: 12px; }
.info-icon { color: var(--primary); margin-bottom: 1rem; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--dark); }
.info-card p { color: var(--gray); line-height: 1.7; }
.info-card a { color: var(--primary); font-weight: 600; }

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== MAP SECTION ===== */
.map-section { padding: 4rem 0; background: var(--light); text-align: center; }
.map-section h2 { font-size: 2rem; margin-bottom: 0.5rem; color: var(--dark); }
.map-section > .container > p { color: var(--gray); margin-bottom: 2rem; }
.map-wrapper { margin-top: 2rem; }
.map-placeholder { background: var(--white); padding: 4rem 2rem; border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--primary); }
.map-placeholder svg { opacity: 0.7; }
.map-placeholder p { color: var(--gray); font-size: 1.125rem; text-align: center; }

/* ===== FAQ SECTION ===== */
.faq-section { background: var(--light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 1rem; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.faq-question { width: 100%; padding: 1.5rem; background: var(--white); border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.125rem; font-weight: 600; color: var(--dark); text-align: left; transition: background 0.3s; }
.faq-question:hover { background: var(--light); }
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 1.5rem 1.5rem; color: var(--gray); line-height: 1.8; }

/* ===== BLOG SECTION ===== */
.blog-section { padding: 5rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.blog-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-image { display: block; overflow: hidden; }
.blog-image img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-content { padding: 2rem; }
.blog-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.875rem; }
.blog-category { background: var(--primary); color: var(--white); padding: 0.25rem 0.75rem; border-radius: 4px; font-weight: 600; }
.blog-date { color: var(--gray); }
.blog-content h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.blog-content h2 a { color: var(--dark); transition: color 0.3s; }
.blog-content h2 a:hover { color: var(--primary); }
.blog-content > p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.7; }
.blog-link { color: var(--primary); font-weight: 600; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--primary); color: var(--white); padding: 4rem 0; text-align: center; }
.newsletter-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.newsletter-content p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.95; }
.newsletter-form { max-width: 500px; margin: 0 auto; display: flex; gap: 1rem; }
.newsletter-form input { flex: 1; padding: 0.875rem; border: none; border-radius: 8px; font-size: 1rem; }
.newsletter-form button { padding: 0.875rem 2rem; }

@media (max-width: 640px) {
    .newsletter-form { flex-direction: column; }
}

/* ===== ARTICLE PAGE ===== */
.article-page { background: var(--white); }
.article-header { background: var(--light); padding: 3rem 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 0.875rem; }
.article-category { background: var(--primary); color: var(--white); padding: 0.25rem 0.75rem; border-radius: 4px; font-weight: 600; }
.article-date, .article-read-time { color: var(--gray); }
.article-header h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dark); }
.article-intro { font-size: 1.25rem; color: var(--gray); margin-bottom: 2rem; line-height: 1.7; }
.article-author { display: flex; align-items: center; gap: 1rem; }
.article-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; color: var(--dark); }
.author-role { font-size: 0.875rem; color: var(--gray); }
.article-image { margin: 2rem 0; }
.article-image img { width: 100%; max-height: 600px; object-fit: cover; }
.article-content { padding: 3rem 0; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2 { font-size: 2rem; margin: 2.5rem 0 1.5rem; color: var(--dark); }
.article-body p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.8; font-size: 1.0625rem; }
.article-body strong { color: var(--dark); font-weight: 600; }
.article-body ul { margin: 1.5rem 0; padding-left: 2rem; }
.article-body ul li { color: var(--gray); margin-bottom: 0.75rem; line-height: 1.7; list-style: disc; }
.article-footer { max-width: 800px; margin: 3rem auto 0; padding-top: 3rem; border-top: 2px solid var(--light); }
.article-tags { margin-bottom: 2rem; }
.tag { display: inline-block; background: var(--light); color: var(--gray); padding: 0.5rem 1rem; border-radius: 20px; margin-right: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; }
.article-share h4 { font-size: 1.125rem; margin-bottom: 1rem; color: var(--dark); }
.share-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.share-btn { background: var(--primary); color: var(--white); padding: 0.5rem 1.5rem; border-radius: 8px; font-weight: 600; transition: all 0.3s; }
.share-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.related-articles { max-width: 800px; margin: 4rem auto 0; }
.related-articles h3 { font-size: 1.75rem; margin-bottom: 2rem; color: var(--dark); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.related-card { background: var(--light); padding: 2rem; border-radius: 12px; transition: all 0.3s; }
.related-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-4px); }
.related-card h4 { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--dark); }
.related-card p { color: var(--gray); line-height: 1.6; }
.article-cta { max-width: 800px; margin: 4rem auto 0; background: var(--primary); color: var(--white); padding: 3rem; border-radius: 12px; text-align: center; }
.article-cta h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.article-cta p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.95; }

/* ===== LEGAL CONTENT ===== */
.legal-content { padding: 3rem 0; }
.legal-text { max-width: 900px; margin: 0 auto; }
.legal-text h2 { font-size: 1.75rem; margin: 2rem 0 1rem; color: var(--dark); }
.legal-text p { color: var(--gray); margin-bottom: 1.5rem; line-height: 1.8; }
.legal-text ul { margin: 1.5rem 0; padding-left: 2rem; }
.legal-text ul li { color: var(--gray); margin-bottom: 0.75rem; line-height: 1.7; list-style: disc; }
.legal-text a { color: var(--primary); font-weight: 600; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-col p { opacity: 0.85; line-height: 1.7; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { opacity: 0.85; transition: opacity 0.3s; }
.footer-col ul li a:hover { opacity: 1; color: var(--primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { opacity: 0.85; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--primary); }

/* ===== COOKIE BANNER ===== */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--white); box-shadow: var(--shadow-lg); border-radius: 12px; padding: 1.5rem; display: none; z-index: 1000; max-width: 500px; }
.cookie-banner.show { display: block; }
.cookie-content { display: flex; flex-direction: column; gap: 1rem; }
.cookie-content p { color: var(--gray); font-size: 0.875rem; line-height: 1.6; }

@media (max-width: 640px) {
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .page-hero h1 { font-size: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
