:root {
 --primary-color: #3b82f6;
 --primary-dark: #2563eb;
 --secondary-color: #6b7280;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #e5e7eb;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
 --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-light);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 20px;
 padding-right: 20px;
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--primary-dark);
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.section {
 padding: 80px 0;
}

.bg-light {
 background-color: var(--bg-light);
}

.text-center { text-align: center; }

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 50px;
}

.section-label {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 4px 12px;
 border-radius: 9999px;
 font-size: 0.8rem;
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
}

.section-title {
 font-size: clamp(2rem, 5vw, 2.5rem);
 margin-bottom: 1rem;
}

.section-subtitle {
 font-size: 1.125rem;
 color: var(--text-muted);
 max-width: 600px;
 margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}

.header.scrolled {
 box-shadow: var(--shadow-md);
 background-color: rgba(255, 255, 255, 0.95);
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
 display: flex;
 align-items: center;
}

.nav-links {
 display: flex;
 align-items: center;
 list-style: none;
 gap: 32px;
}

.nav-links a {
 color: var(--text-light);
 font-weight: 500;
 padding: 5px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}
.nav-links a:hover, .nav-links a.active {
 color: var(--text-dark);
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
}
.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 24px;
 border-radius: var(--radius-md);
 font-weight: 600;
 text-align: center;
 cursor: pointer;
 transition: var(--transition);
 border: 1px solid transparent;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
 border-color: var(--primary-color);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 border-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
 transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
 padding: 140px 0 80px;
 background: var(--bg-light);
 overflow: hidden;
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 50px;
}
.hero-title {
 font-size: clamp(2.5rem, 5vw, 3.5rem);
 margin-bottom: 1.5rem;
}
.hero-subtitle {
 font-size: 1.125rem;
 color: var(--text-muted);
 max-width: 500px;
 margin-bottom: 2rem;
}
.hero-badge {
 display: inline-block;
 padding: 6px 16px;
 background: #dbeafe;
 color: var(--primary-dark);
 font-weight: 600;
 border-radius: 9999px;
 margin-bottom: 1rem;
}
.hero-buttons {
 display: flex;
 gap: 16px;
 margin-top: 2rem;
}
.hero-visual {
 position: relative;
}
.hero-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.hero-ui-element {
 position: absolute;
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 padding: 10px 16px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-md);
 font-weight: 500;
 color: var(--text-dark);
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 0.9rem;
}
.ui-1 {
 top: 20px;
 left: -40px;
}
.ui-2 {
 bottom: 20px;
 right: -50px;
}

/* Trusted By Section */
.trusted-by-section {
 padding: 40px 0;
 background: var(--bg-white);
}
.trusted-by-title {
 text-align: center;
 color: var(--text-muted);
 font-size: 1rem;
 font-weight: 500;
 margin-bottom: 24px;
 text-transform: uppercase;
 letter-spacing: 0.05em;
}
.logo-carousel {
 display: flex;
 justify-content: space-around;
 align-items: center;
 gap: 40px;
 flex-wrap: wrap;
}
.logo-carousel img {
 max-height: 35px;
 width: auto;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.logo-carousel img:hover {
 filter: grayscale(0%);
 opacity: 1;
}

/* Feature Cards */
.feature-card {
 background-color: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.feature-icon {
 display: inline-flex;
 justify-content: center;
 align-items: center;
 width: 60px;
 height: 60px;
 background-color: #dbeafe;
 color: var(--primary-color);
 border-radius: 50%;
 margin-bottom: 1.5rem;
}
.feature-icon svg {
 width: 32px;
 height: 32px;
}
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem;}
.card-text { font-size: 1rem; color: var(--text-muted); }

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: center;
}
.media-object.reverse {
 grid-template-columns: 1fr 1fr;
}
.media-object.reverse .media-visual {
 order: 2;
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.media-copy .section-title { font-size: 2rem; }
.media-copy .section-subtitle { margin: 0 0 1.5rem 0;}

.process-steps {
 list-style: none;
 padding-left: 0;
 margin-top: 1.5rem;
 margin-bottom: 2rem;
}
.process-steps li {
 display: flex;
 align-items: flex-start;
 gap: 16px;
 margin-bottom: 1rem;
}
.process-steps span {
 flex-shrink: 0;
 width: 32px;
 height: 32px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 font-weight: 600;
 display: flex;
 justify-content: center;
 align-items: center;
}

/* Pricing Section */
.pricing-card {
 background-color: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 padding: 32px;
 text-align: center;
 display: flex;
 flex-direction: column;
 position: relative;
 overflow: hidden;
}
.pricing-card.popular {
 border-color: var(--primary-color);
 border-width: 2px;
 transform: scale(1.05);
}
.popular-badge {
 position: absolute;
 top: 16px;
 right: -40px;
 background-color: var(--primary-color);
 color: white;
 padding: 4px 40px;
 font-weight: 600;
 font-size: 0.9rem;
 transform: rotate(45deg);
}
.pricing-card h3 { font-size: 1.5rem; }
.pricing-description { color: var(--text-muted); margin: 8px 0 24px; }
.price { font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; color: var(--text-dark);}
.pricing-card ul { list-style: none; margin-bottom: 32px; text-align: left; flex-grow: 1;}
.pricing-card ul li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.pricing-card ul li::before {
 content: '';
 color: var(--primary-color);
 font-weight: bold;
 position: absolute;
 left: 0;
}
.pricing-card .btn {
 width: 100%;
}

/* Testimonial Section */
.testimonial-card {
 max-width: 800px;
 margin: 0 auto;
 text-align: center;
 background-color: var(--bg-light);
 padding: 40px;
 border-radius: var(--radius-lg);
}
.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 margin: 0 auto 1.5rem;
 box-shadow: var(--shadow-md);
}
.testimonial-card blockquote {
 font-size: 1.25rem;
 font-style: italic;
 color: var(--text-dark);
 margin-bottom: 1.5rem;
 border: none;
 padding: 0;
}
.testimonial-card cite {
 font-style: normal;
}
.testimonial-card cite strong {
 display: block;
 font-size: 1rem;
 color: var(--text-dark);
}
.testimonial-card cite span {
 color: var(--text-muted);
}

/* Final CTA */
.final-cta-section .section-title { font-size: 2rem; }
.final-cta-section .btn { margin-top: 1.5rem; }

/* Page Header */
.page-header-section {
 padding: 120px 0 60px;
 background: var(--bg-light);
}
.page-title { font-size: 3rem; }
.page-subtitle { font-size: 1.25rem; }

/* Services Page */
.services-grid .service-card {
 display: flex;
 flex-direction: column;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.services-grid .service-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.services-grid .service-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.services-grid .service-card .card-body {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.services-grid .service-card .card-text {
 flex-grow: 1;
}

/* About Page */
.team-section .team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 box-shadow: var(--shadow-md);
 border: 3px solid var(--bg-white);
}
.team-member h3 { font-size: 1.25rem; }
.team-role { color: var(--primary-color); font-weight: 500; }
.values-grid .value-card {
 background-color: var(--bg-light);
 padding: 24px;
 border-radius: var(--radius-lg);
}

/* Resources Page */
.blog-card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card img { height: 200px; object-fit: cover; }
.blog-card .card-body { padding: 24px; flex-grow: 1; }
.blog-category {
 color: var(--primary-color);
 font-weight: 600;
 font-size: 0.8rem;
 text-transform: uppercase;
 margin-bottom: 0.5rem;
 display: block;
}
.read-more-link { font-weight: 600; }
.newsletter-section .section-title { font-size: 2rem; }
.newsletter-form {
 display: flex;
 gap: 10px;
 max-width: 500px;
 margin: 30px auto 0;
}
.newsletter-form input {
 flex-grow: 1;
 padding: 12px 16px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
}
.newsletter-form button { flex-shrink: 0; }

/* Contact Page */
.contact-container {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 50px;
}
.contact-heading {
 font-size: 1.75rem;
 margin-bottom: 2rem;
}
.contact-info-item { margin-bottom: 1.5rem; }
.contact-info-item h3 {
 font-size: 1.1rem;
 color: var(--text-dark);
 margin-bottom: 0.5rem;
}
.contact-info-item p, .contact-info-item a { color: var(--text-muted); line-height: 1.5;}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px 16px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 font-family: var(--font-main);
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem;}

.map-container {
 height: 450px;
 width: 100%;
 border-radius: var(--radius-lg);
 overflow: hidden;
 margin: 80px 0 0;
 box-shadow: var(--shadow-md);
}

/* Legal Pages */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem;}
.legal-page p, .legal-page ul { margin-bottom: 1rem; }
.legal-page ul { padding-left: 20px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); }

/* Footer */
.footer {
 background: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--bg-white);
 display: block;
 margin-bottom: 1rem;
}
.footer-description {
 font-size: 0.9rem;
 max-width: 250px;
}
.footer-heading {
 color: var(--bg-white);
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 1.5rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #a0aec0; }
.footer-links a:hover { color: var(--bg-white); }
.footer-contact-item {
 display: flex;
 gap: 10px;
 margin-bottom: 1rem;
 font-size: 0.9rem;
 align-items: flex-start;
}
.footer-contact-item span { color: var(--primary-color); }
.footer-contact-item p { margin: 0; }
.footer-contact-item a { color: #a0aec0; }
.footer-contact-item a:hover { color: var(--bg-white); }
.footer-bottom {
 border-top: 1px solid #4a5568;
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.copyright { font-size: 0.9rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #a0aec0; }
.footer-social a:hover { color: var(--bg-white); transform: translateY(-2px); }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 20px;
 left: 20px;
 right: 20px;
 max-width: 600px;
 background: var(--text-dark);
 color: var(--bg-white);
 padding: 20px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-lg);
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--primary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-buttons .btn-secondary { color: white; border-color: white;}
.cookie-buttons .btn-secondary:hover { background: white; color: var(--text-dark);}

/* Form Validation Styles */
.input-error {
 border-color: #ef4444 !important;
 box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
}
.spinner {
 display: inline-block;
 width: 16px; height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.7; cursor: not-allowed; }

/* Responsive */
@media (max-width: 992px) {
 .grid-3 { grid-template-columns: repeat(2, 1fr); }
 .hero-container { grid-template-columns: 1fr; text-align: center; }
 .hero-subtitle { margin: 0 auto 2rem; }
 .hero-buttons { justify-content: center; }
 .hero-visual { display: none; }
 .media-object, .media-object.reverse { grid-template-columns: 1fr; }
 .media-object.reverse .media-visual { order: 1; }
 .media-copy { text-align: center; margin-top: 30px;}
 .process-steps { text-align: left; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-links {
 position: fixed;
 top: 70px; right: 0; bottom: 0;
 width: 80%;
 max-width: 300px;
 background: var(--bg-white);
 flex-direction: column;
 align-items: flex-start;
 padding: 40px;
 gap: 20px;
 transform: translateX(100%);
 transition: var(--transition);
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links.active {
 transform: translateX(0);
 }
 .nav-toggle { display: block; }
 .nav-cta { display: none; }
 .grid-2, .grid-3 { grid-template-columns: 1fr; }
 .pricing-card.popular { transform: scale(1); }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 20px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}