:root {
 --primary-color: #00f5c3;
 --primary-dark: #00d1a7;
 --bg-dark: #0a0f1c;
 --bg-dark-secondary: #12192a;
 --bg-light: #f1f5f9;
 --text-light: #e2e8f0;
 --text-dark: #1e293b;
 --text-muted: #94a3b8;
 --border-color: #334155;
 --radius: 8px;
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
 --font-main: 'Inter', sans-serif;
 --font-mono: 'Fira Code', monospace;
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
 font-size: 100%;
}

body {
 font-family: var(--font-main);
 background-color: var(--bg-light);
 color: var(--text-dark);
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

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

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: 6rem 0;
}
.section.bg-dark {
 background-color: var(--bg-dark);
 color: var(--text-light);
}
.section.bg-dark .section-title, .section.bg-dark .section-subtitle {
 color: var(--text-light);
}
.section.bg-dark .section-subtitle {
 color: var(--text-muted);
}
.section.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 margin-bottom: 4rem;
}
.section-header.centered {
 text-align: center;
 max-width: 750px;
 margin-left: auto;
 margin-right: auto;
}
.section-label {
 font-family: var(--font-mono);
 font-size: 0.8rem;
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
 display: inline-block;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.section-title {
 font-size: clamp(2rem, 5vw, 2.75rem);
 font-weight: 700;
 line-height: 1.2;
 margin-bottom: 1rem;
}

/* Header */
.header {
 background-color: rgba(10, 15, 28, 0.85);
 backdrop-filter: blur(10px);
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 border-bottom: 1px solid var(--border-color);
 transition: background-color 0.3s ease;
}
.header.scrolled {
 background-color: rgba(10, 15, 28, 0.98);
}
.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-family: var(--font-mono);
 font-size: 1.25rem;
 font-weight: 600;
 color: var(--text-light);
}
.nav-logo span {
 color: var(--primary-color);
 margin-right: 4px;
}
.nav-links ul {
 display: flex;
 list-style: none;
 gap: 2.5rem;
}
.nav-links a {
 color: var(--text-light);
 font-weight: 500;
 position: relative;
 padding: 4px 0;
}
.nav-links a::after {
 content: '_';
 font-weight: 600;
 color: var(--primary-color);
 position: absolute;
 bottom: -8px;
 left: 0;
 width: 100%;
 opacity: 0;
 transform: scaleX(0);
 transition: opacity 0.3s, transform 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after {
 opacity: 1;
 transform: scaleX(1);
}

.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-light);
 margin: 5px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 background-color: var(--bg-dark);
 color: var(--text-light);
 min-height: 80vh;
 display: flex;
 align-items: center;
 text-align: center;
 padding: 8rem 0 4rem;
 position: relative;
 overflow: hidden;
}
.hero-bg-pattern {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
 background-size: 20px 20px;
 opacity: 0.1;
 z-index: 0;
}
.hero-content {
 position: relative;
 z-index: 1;
}
.hero-title {
 font-size: clamp(2.5rem, 6vw, 4rem);
 margin-bottom: 1.5rem;
 color: #fff;
}
.hero-subtitle {
 font-size: 1.15rem;
 color: var(--text-muted);
 max-width: 700px;
 margin: 0 auto 2.5rem;
}
.hero-actions {
 display: flex;
 justify-content: center;
 gap: 1rem;
}
.badge {
 display: inline-block;
 padding: 0.5rem 1rem;
 border-radius: var(--radius);
 font-weight: 600;
 font-size: 0.8rem;
 margin-bottom: 1.5rem;
}
.badge-accent {
 background-color: rgba(0, 245, 195, 0.1);
 color: var(--primary-color);
 font-family: var(--font-mono);
 border: 1px solid rgba(0, 245, 195, 0.2);
}

/* Page Header */
.page-header-section {
 background-color: var(--bg-dark);
 color: var(--text-light);
 padding: 8rem 0 4rem;
 text-align: center;
}
.page-title {
 font-size: clamp(2.5rem, 5vw, 3.5rem);
 margin-bottom: 1rem;
}
.page-subtitle {
 font-size: 1.15rem;
 color: var(--text-muted);
 max-width: 700px;
 margin: 0 auto;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 border-radius: var(--radius);
 font-weight: 600;
 transition: var(--transition);
 border: 2px solid transparent;
 cursor: pointer;
 font-size: 0.95rem;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-dark);
 border-color: var(--primary-color);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 border-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: 0 4px 20px rgba(0, 245, 195, 0.2);
}
.btn-secondary {
 background-color: transparent;
 color: var(--text-light);
 border-color: var(--border-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 border-color: var(--primary-color);
 color: var(--bg-dark);
 transform: translateY(-2px);
}
.btn.btn-sm {
 padding: 0.5rem 1rem;
 font-size: 0.85rem;
}

/* Architecture Section */
.architecture-diagram {
 display: flex;
 justify-content: space-around;
 align-items: flex-start;
 gap: 2rem;
}
.arch-node {
 text-align: center;
 flex: 1;
 max-width: 250px;
}
.arch-icon {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: var(--bg-dark-secondary);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 1.5rem;
 color: var(--primary-color);
 border: 1px solid var(--border-color);
}
.arch-icon svg {
 width: 28px;
 height: 28px;
}
.arch-node h3 {
 margin-bottom: 0.5rem;
}
.arch-connector {
 flex-grow: 1;
 height: 1px;
 background-color: var(--border-color);
 margin-top: 30px;
}

/* Terminal style cards */
.terminal-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 1.5rem;
}
.terminal-card {
 background-color: var(--bg-dark-secondary);
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 overflow: hidden;
}
.terminal-header {
 background-color: #1c253c;
 padding: 0.75rem 1rem;
 display: flex;
 align-items: center;
 gap: 0.5rem;
 border-bottom: 1px solid var(--border-color);
}
.terminal-dots {
 display: flex;
 gap: 0.5rem;
}
.terminal-dots::before, .terminal-dots::after {
 content: '';
 display: block;
 width: 12px;
 height: 12px;
 border-radius: 50%;
}
.terminal-dots::before { background-color: #ff5f56; }
.terminal-dots::after { background-color: #27c93f; }
.terminal-title {
 font-family: var(--font-mono);
 color: var(--text-muted);
}
.terminal-body {
 padding: 1.5rem;
 font-family: var(--font-mono);
}
.terminal-body .prompt {
 color: var(--primary-color);
 margin-right: 0.5rem;
}
.terminal-body p {
 font-size: 1rem;
 color: var(--text-light);
}
.terminal-body .desc {
 color: var(--text-muted);
 font-family: var(--font-main);
 font-size: 0.9rem;
 margin-top: 0.5rem;
 padding-left: 1.5rem;
}

/* Code block */
.code-block {
 background-color: var(--bg-dark);
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 max-width: 500px;
}
.code-header {
 padding: 0.75rem 1.5rem;
 font-family: var(--font-mono);
 color: var(--text-muted);
 border-bottom: 1px solid var(--border-color);
}
.code-block pre {
 padding: 1.5rem;
 overflow-x: auto;
}
.code-block code {
 font-family: var(--font-mono);
 font-size: 0.9rem;
 line-height: 1.7;
}
.code-block .keyword { color: #c792ea; }
.code-block .string { color: #c3e88d; }

/* Media Object */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}
.media-copy ul {
 list-style: none;
 margin-top: 1.5rem;
}
.media-copy li {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 margin-bottom: 1rem;
}
.media-copy li svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 2px;
 color: var(--primary-color);
}
.media-copy .media-actions {
 margin-top: 2rem;
}
.img-rounded {
 border-radius: var(--radius);
}

/* Cards Grid */
.cards-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
}
.card {
 background-color: #fff;
 border-radius: var(--radius);
 padding: 2rem;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-icon {
 width: 50px;
 height: 50px;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: rgba(0, 245, 195, 0.1);
 color: var(--primary-color);
 border-radius: 50%;
 margin-bottom: 1.5rem;
}
.card-icon svg {
 width: 24px;
 height: 24px;
}
.card-title {
 font-size: 1.25rem;
 margin-bottom: 0.75rem;
}
.card-text {
 color: #475569;
}

/* Testimonials */
.testimonials-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 2rem;
}
.testimonial-card {
 background-color: #fff;
 padding: 2rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
}
.testimonial-text {
 font-style: italic;
 color: #334155;
 margin-bottom: 1.5rem;
 position: relative;
 padding-left: 2rem;
}
.testimonial-text::before {
 content: '“';
 font-family: Georgia, serif;
 font-size: 3rem;
 color: var(--primary-color);
 position: absolute;
 left: -0.5rem;
 top: -1rem;
}
.testimonial-author {
 display: flex;
 align-items: center;
 gap: 1rem;
}
.testimonial-avatar {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 object-fit: cover;
}
.author-info .author-name {
 font-weight: 700;
 display: block;
}
.author-info .author-role {
 font-size: 0.9rem;
 color: #64748b;
}

/* Call to Action Section */
.cta-section .container.centered {
 text-align: center;
 max-width: 600px;
 margin: 0 auto;
}
.cta-section .btn {
 margin-top: 2rem;
}

/* Footer */
.footer {
 background-color: var(--bg-dark);
 color: var(--text-muted);
 padding: 5rem 0 2rem;
 margin-top: 5rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr repeat(3, 1fr);
 gap: 3rem;
 margin-bottom: 4rem;
}
.footer-logo {
 font-family: var(--font-mono);
 font-size: 1.5rem;
 font-weight: 600;
 color: var(--text-light);
 margin-bottom: 1rem;
 display: block;
}
.footer-logo span { color: var(--primary-color); }
.footer-description {
 font-size: 0.9rem;
 margin-bottom: 1.5rem;
 max-width: 300px;
}
.footer-social {
 display: flex;
 gap: 1rem;
}
.footer-social a {
 color: var(--text-muted);
}
.footer-social a:hover {
 color: var(--primary-color);
}
.footer-social svg {
 width: 24px;
 height: 24px;
}
.footer-heading {
 font-family: var(--font-mono);
 text-transform: uppercase;
 font-size: 0.9rem;
 font-weight: 600;
 color: var(--text-light);
 margin-bottom: 1.5rem;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 0.75rem;
}
.footer-links a, .footer-contact-item a {
 color: var(--text-muted);
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact-item a:hover {
 color: var(--text-light);
}
.footer-contact-item {
 display: flex;
 gap: 0.75rem;
 align-items: flex-start;
 margin-bottom: 1rem;
 font-size: 0.9rem;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 3px;
 color: var(--primary-color);
}
.footer-hours {
 border-top: 1px solid var(--border-color);
 padding-top: 2rem;
 margin-top: 2rem;
}
.footer-hours p { font-size: 0.9rem; }

.footer-bottom {
 border-top: 1px solid var(--border-color);
 padding-top: 2rem;
 margin-top: 4rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-bottom-links a {
 color: var(--text-muted);
 margin-left: 1.5rem;
}
.footer-bottom-links a:hover {
 color: var(--text-light);
}

/* Services Page - Features Grid */
.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
 gap: 2rem;
}
.feature-card {
 background-color: #fff;
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.feature-card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.feature-card-content {
 padding: 1.5rem 2rem 2rem;
}
.feature-card-content h3 {
 margin-bottom: 0.75rem;
}
.feature-card-content p {
 color: #475569;
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 3px;
 background-color: var(--primary-color);
 opacity: 0.2;
 top: 0;
 bottom: 0;
 left: 40px;
}
.timeline-step {
 padding: 10px 40px 30px 100px;
 position: relative;
}
.timeline-number {
 position: absolute;
 left: 17px;
 top: 5px;
 width: 46px;
 height: 46px;
 border-radius: 50%;
 background-color: var(--bg-dark);
 color: var(--primary-color);
 font-family: var(--font-mono);
 font-size: 1.2rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 3px solid var(--primary-color);
 z-index: 1;
}
.timeline-content h3 {
 margin-bottom: 0.5rem;
}

/* About Page - Team Grid */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}
.team-card {
 text-align: center;
 background-color: #fff;
 padding: 2rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 border: 4px solid #fff;
 box-shadow: var(--shadow-md);
}
.team-name {
 font-size: 1.2rem;
}
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
}
.team-bio {
 font-size: 0.9rem;
 color: #475569;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 3rem;
 align-items: flex-start;
}
.contact-form-container {
 background-color: #fff;
 padding: 2.5rem;
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
}
.form-group {
 margin-bottom: 1.5rem;
}
.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 600;
}
.form-control {
 width: 100%;
 padding: 0.8rem 1rem;
 border: 1px solid #cbd5e1;
 border-radius: var(--radius);
 font-family: var(--font-main);
 font-size: 1rem;
 transition: var(--transition);
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(0, 245, 195, 0.3);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.contact-info-card {
 background-color: var(--bg-dark);
 color: var(--text-light);
 padding: 2rem;
 border-radius: var(--radius);
 margin-bottom: 2rem;
}
.contact-info-card h3 {
 margin-bottom: 1.5rem;
 color: #fff;
}
.contact-info-item {
 display: flex;
 gap: 1rem;
 align-items: flex-start;
 color: var(--text-muted);
}
.contact-info-item a { color: var(--text-muted); }
.contact-info-item a:hover { color: var(--text-light); }
.contact-info-card:last-child {
 margin-bottom: 0;
}
.contact-map-section {
 padding-top: 0;
}
.contact-map-section iframe {
 border-radius: var(--radius);
}

/* Legal Pages */
.legal-page {
 background-color: #fff;
 padding: 8rem 0;
}
.legal-page .container {
 max-width: 800px;
}
.legal-page h1 {
 margin-bottom: 1rem;
}
.legal-page p {
 margin-bottom: 1.5rem;
 color: #334155;
}
.legal-page section {
 margin-bottom: 2.5rem;
}
.legal-page h2 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
 padding-bottom: 0.5rem;
 border-bottom: 2px solid var(--bg-light);
}
.legal-page ul {
 margin-bottom: 1.5rem;
 padding-left: 20px;
}
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid #e2e8f0;
 padding: 0.75rem;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
 font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--bg-dark-secondary);
 color: var(--text-muted);
 padding: 1.5rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1.5rem;
 z-index: 2000;
 border-top: 1px solid var(--border-color);
}
.cookie-banner p {
 margin: 0;
 font-size: 0.9rem;
}
.cookie-banner a {
 color: var(--primary-color);
 text-decoration: underline;
}
.cookie-actions {
 display: flex;
 gap: 1rem;
 flex-shrink: 0;
}

/* Animations */
.fade-in {
 opacity: 0;
 transform: translateY(20px);
 animation: fadeInAnimation 0.6s ease-out forwards;
}
.fade-in[data-delay] {
 animation-delay: calc(var(--delay) * 1ms);
}
@keyframes fadeInAnimation {
 from {
 opacity: 0;
 transform: translateY(20px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

/* Responsive */
@media (max-width: 992px) {
 .architecture-diagram, .testimonials-grid {
 flex-direction: column;
 align-items: center;
 gap: 3rem;
 }
 .arch-connector { display: none; }
 .media-object {
 grid-template-columns: 1fr;
 }
 .media-visual {
 order: -1;
 margin-bottom: 2rem;
 }
 .code-block { margin: 0 auto; }
 .cards-grid {
 grid-template-columns: 1fr 1fr;
 }
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
 .contact-layout {
 grid-template-columns: 1fr;
 }
 .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-links {
 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 width: 300px;
 background-color: var(--bg-dark);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 padding-top: 70px;
 border-left: 1px solid var(--border-color);
 }
 .nav-links.active {
 transform: translateX(0);
 }
 .nav-links ul {
 flex-direction: column;
 text-align: center;
 gap: 2rem;
 }
 .nav-toggle {
 display: block;
 }
 .nav-toggle.active span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
 }
 .nav-toggle.active span:nth-child(2) {
 opacity: 0;
 }
 .nav-toggle.active span:nth-child(3) {
 transform: rotate(-45deg) translate(7px, -6px);
 }
 
 .cards-grid {
 grid-template-columns: 1fr;
 }
 .cookie-banner {
 flex-direction: column;
 text-align: center;
 }
}

@media (max-width: 576px) {
 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-description {
 margin: 0 auto 1.5rem;
 }
 .footer-social {
 justify-content: center;
 }
 .footer-bottom {
 flex-direction: column;
 gap: 1rem;
 }
 .footer-bottom-links {
 display: flex;
 flex-direction: column;
 gap: 1rem;
 }
 .footer-bottom-links a { margin-left: 0; }
}