:root {
 --primary-color: #2563eb;
 --primary-dark: #1d4ed8;
 --secondary-color: #f3f4f6;
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-light: #f9fafb;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --accent-color: #3b82f6;

 --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
 scroll-behavior: smooth;
 -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
 margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
 margin-bottom: 1rem;
 color: var(--text-light);
}

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

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

ul {
 list-style-position: inside;
}

/* --- Components --- */

.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 12px 24px;
 font-size: 1rem;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-decoration: none !important;
}

.btn-primary {
 background-color: var(--primary-color);
 color: white;
}

.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
 color: white;
}

.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: white;
}

.badge {
 display: inline-block;
 background-color: var(--primary-color);
 color: white;
 padding: 6px 16px;
 border-radius: 999px;
 font-size: 0.875rem;
 font-weight: 600;
 margin-bottom: 1rem;
}

/* --- Layout --- */

.section {
 padding: 80px 0;
}

.section-inner {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.section-inner.centered {
 display: flex;
 flex-direction: column;
 align-items: center;
}

.section-header {
 margin-bottom: 48px;
}

.section-header.centered {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 48px;
}

.section-label {
 display: inline-block;
 background-color: var(--secondary-color);
 color: var(--primary-color);
 padding: 6px 16px;
 border-radius: 999px;
 font-size: 0.875rem;
 font-weight: 600;
 margin-bottom: 1rem;
}

.section-title {
 color: var(--text-dark);
}

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

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

/* --- Header & Navigation --- */

.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}

.header.scrolled {
 box-shadow: var(--shadow-md);
}

.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
 height: 70px;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
 text-decoration: none;
}
.nav-logo:hover {
 text-decoration: none;
 color: var(--primary-color);
}

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

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 8px;
}
.nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

/* --- Hero Section --- */
.page-hero {
 padding-top: 150px;
 padding-bottom: 80px;
 background-color: var(--bg-white);
}

.hero-inner {
 display: grid;
 grid-template-columns: 1fr;
 align-items: center;
 gap: 48px;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.hero-copy h1 {
 margin-bottom: 1.5rem;
}
.hero-copy p {
 font-size: 1.125rem;
 line-height: 1.7;
 color: var(--text-light);
 margin-bottom: 2rem;
 max-width: 550px;
}
.hero-actions {
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
}
.hero-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
 .hero-inner {
 grid-template-columns: 1fr 1fr;
 }
}

/* --- Stats Section --- */
.stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 30px;
 text-align: center;
 margin-top: 48px;
}
.stat-item {
 background-color: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 border: 1px solid #e5e7eb;
}
.stat-number {
 font-size: 2.5rem;
 font-weight: 700;
 color: var(--primary-color);
}
.stat-caption {
 font-size: 1rem;
 color: var(--text-muted);
}

/* --- Cards Grid --- */

.cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 24px;
 width: 100%;
}

.card {
 background: var(--bg-white);
 border: 1px solid var(--border-color);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-body {
 padding: 24px;
 display: flex;
 flex-direction: column;
 flex-grow: 1;
}
.card-title {
 font-size: 1.25rem;
 margin-bottom: 0.75rem;
}
.card-text {
 color: var(--text-muted);
 flex-grow: 1;
 margin-bottom: 1.5rem;
}
.card-button {
 align-self: flex-start;
 display: inline-block;
 padding: 10px 20px;
 border: 2px solid var(--primary-color);
 border-radius: var(--radius-md);
 color: var(--primary-color);
 font-weight: 600;
 text-decoration: none;
 text-align: center;
 transition: all 0.3s ease;
}
.card-button:hover {
 background: var(--primary-color);
 color: white;
}

/* --- Media Object --- */
.media-object {
 display: grid;
 grid-template-columns: 1fr;
 gap: 48px;
 align-items: center;
}
@media (min-width: 768px) {
 .media-object {
 grid-template-columns: 1fr 1fr;
 }
 .media-object.reverse {
 grid-template-columns: 1fr 1fr;
 }
 .media-object.reverse .media-copy {
 order: -1;
 }
}
.media-visual img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.feature-list {
 list-style: none;
 padding: 0;
 margin-top: 1.5rem;
}
.feature-list li {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 0.75rem;
 font-weight: 500;
}
.feature-list svg {
 width: 20px;
 height: 20px;
 color: var(--primary-color);
 flex-shrink: 0;
}

/* --- Timeline Section --- */
.timeline {
 display: flex;
 flex-direction: column;
 gap: 20px;
 margin: 0 auto;
 position: relative;
 max-width: 800px;
}

.timeline-step {
 background: var(--bg-white);
 padding: 24px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
 position: relative;
 border-left: 4px solid var(--primary-color);
}
.timeline-number {
 position: absolute;
 top: -20px;
 left: 50%;
 transform: translateX(-50%);
 width: 40px;
 height: 40px;
 background: var(--primary-color);
 color: white;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.25rem;
 font-weight: 700;
 border: 3px solid white;
}
.timeline-title {
 margin-top: 20px;
 color: var(--text-dark);
}
.timeline-text {
 color: var(--text-muted);
}
.timeline-connector {
 display: none;
}

@media (min-width: 768px) {
 .timeline {
 flex-direction: row;
 justify-content: space-between;
 gap: 0;
 }
 .timeline-step {
 width: 23%;
 }
 .timeline-connector {
 display: block;
 flex-grow: 1;
 height: 2px;
 background-color: var(--border-color);
 align-self: center;
 margin: 0 10px;
 }
}
/* --- Form --- */
.form-card {
 max-width: 800px;
 margin: 0 auto;
 background-color: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.form-grid {
 display: flex;
 flex-direction: column;
}
.form-group {
 margin-bottom: 20px;
}
.form-group.two-columns {
 display: grid;
 grid-template-columns: 1fr;
 gap: 20px;
}
@media (min-width: 768px) {
 .form-group.two-columns {
 grid-template-columns: 1fr 1fr;
 }
}
.form-label {
 display: block;
 font-weight: 600;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-control {
 width: 100%;
 padding: 14px;
 font-size: 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 transition: var(--transition);
 background-color: var(--bg-light);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
 background-color: var(--bg-white);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.form-checkbox-label {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 0.9rem;
 color: var(--text-muted);
}
.submit-btn {
 width: 100%;
}
@media (min-width: 768px) {
 .submit-btn {
 width: auto;
 align-self: flex-start;
 }
}

/* --- Page Specific Styles --- */
/* About Page */
.page-header-section {
 padding-top: 120px;
 padding-bottom: 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 24px;
 margin-top: 32px;
}
.value-item {
 padding: 24px;
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 text-align: center;
}
.value-item h3 {
 color: var(--primary-color);
}
.team-section {
 background-color: var(--bg-white);
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 30px;
}
.team-member {
 text-align: center;
}
.team-photo {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 box-shadow: var(--shadow-md);
 border: 4px solid var(--bg-white);
}
.team-name {
 font-size: 1.2rem;
 margin-bottom: 4px;
}
.team-role {
 color: var(--text-muted);
 font-weight: 500;
}

/* Domains Page */
.domains-grid {
 display: flex;
 flex-direction: column;
 gap: 80px;
}
.domain-category-title {
 border-bottom: 2px solid var(--primary-color);
 padding-bottom: 10px;
 margin-bottom: 32px;
 display: inline-block;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 60px;
}
@media (min-width: 992px) {
 .contact-layout {
 grid-template-columns: 2fr 1fr;
 }
}
.contact-heading {
 margin-bottom: 24px;
}
.contact-details {
 display: flex;
 flex-direction: column;
 gap: 24px;
}
.map-container {
 width: 100%;
 height: 450px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 margin: 80px 0 0;
}
.map-container iframe { width: 100%; height: 100%; border:0; }

/* Thank You Page */
.thank-you-section {
 min-height: calc(100vh - 150px);
 display: flex;
 align-items: center;
 justify-content: center;
}
.thank-you-content {
 text-align: center;
 max-width: 600px;
}
.thank-you-icon {
 width: 80px;
 height: 80px;
 color: var(--primary-color);
 margin-bottom: 24px;
}

/* Legal Pages */
.legal-page { background: var(--bg-light); }
.legal-container {
 max-width: 800px;
 margin: 120px auto 80px;
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.legal-container h1, .legal-container h2 { border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 20px;}
.legal-container ul { margin-left: 20px; margin-bottom: 1rem; }
.cookie-table {
 width: 100%;
 margin-top: 20px;
 border-collapse: collapse;
}
.cookie-table th, .cookie-table td {
 padding: 12px;
 border: 1px solid var(--border-color);
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); }

/* --- Footer --- */
.footer {
 background: var(--text-dark);
 color: #e5e7eb;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: white;
 margin-bottom: 16px;
 display: block;
}
.footer-logo:hover { 
 color: white;
 text-decoration: none;
}
.footer-description {
 font-size: 0.9rem;
 line-height: 1.6;
 color: #9ca3af;
 margin-bottom: 20px;
}
.footer-social {
 display: flex;
 gap: 12px;
}
.footer-social a {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255,255,255,0.1);
 display: flex;
 align-items: center;
 justify-content: center;
 color: white;
 transition: all 0.3s ease;
}
.footer-social a:hover {
 background: var(--primary-color);
 transform: translateY(-3px);
 color: white;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-links {
 list-style: none;
 padding: 0;
 margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
 color: #9ca3af;
 text-decoration: none;
 font-size: 0.9rem;
}
.footer-links a:hover {
 color: white;
 text-decoration: underline;
}
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
 font-size: 0.9rem;
 color: #9ca3af;
}
.footer-contact-item a {
 color: #9ca3af;
}
.footer-contact-item a:hover {
 color: white;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 4px;
 color: var(--accent-color);
}
.footer-divider {
 height: 1px;
 background: rgba(255,255,255,0.1);
 margin: 30px 0;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 16px;
}
.footer-copyright {
 font-size: 0.85rem;
 color: #6b7280;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a {
 font-size: 0.85rem;
 color: #9ca3af;
}
.footer-legal-links a:hover { color: white; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-light);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.cookie-banner p {
 margin: 0;
}
.cookie-banner a {
 color: var(--accent-color);
 text-decoration: underline;
}
.cookie-banner div {
 display: flex;
 gap: 10px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px 40px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active {
 right: 0;
 }
}
@media (max-width: 576px) {
 .footer-grid {
 text-align: center;
 }
 .footer-brand {
 max-width: 100%;
 }
 .footer-social {
 justify-content: center;
 }
 .footer-contact-item {
 justify-content: center;
 }
 .footer-bottom {
 flex-direction: column;
 }
 .cookie-banner {
 flex-direction: column;
 }
}