/* GNETOPS LLC - Main Stylesheet */

/* CSS Variables */
:root {
    --primary: #0A0E27;
    --accent: #FF6B35;
    --accent-light: #FFB088;
    --accent-on-light: #B84400; /* Darkened for WCAG AA on light backgrounds (5.43:1) */
    --surface: #F8F9FA;
    --text: #1A1A1A;
    --text-muted: #666666;
    --border: #E5E5E5;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 110px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border: 2px solid var(--accent);
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, .display {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(5deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

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

.btn-inline-offset {
    display: inline-block;
    margin-top: 2rem;
}

.btn-full-width {
    width: 100%;
}

/* Stats Section */
.stats {
    background: var(--primary);
    padding: 4rem 2rem;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    /* Animation handled by .scroll-reveal / IntersectionObserver in main.js */
}

.stat-number,
.stat-kicker {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-kicker {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 0;
    max-width: 28rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--surface);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    text-align: center;
}

.section-label {
    font-size: 0.85rem;
    color: var(--accent-on-light); /* Darker orange for WCAG AA contrast on light backgrounds */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-label--accent-light {
    color: var(--accent-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid var(--border);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-icon svg {
    display: block;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-details {
    list-style: none;
    margin-bottom: 2rem;
}

.service-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
}

.service-details li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.75rem;
}

.service-pricing {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-on-light); /* Darker orange for WCAG AA contrast on white cards */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.25rem;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.service-link::after {
    content: '→';
    display: inline-block;
    color: var(--accent);
    margin-left: 0.5rem;
    transition: transform 0.25s ease;
}

.service-link:hover {
    color: var(--accent-on-light);
    border-color: var(--primary);
}

.service-link:hover::after {
    transform: translateX(0.25rem);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.result-highlight {
    background: rgba(255, 107, 53, 0.2);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.result-highlight strong {
    color: var(--accent-light);
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: white;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary), #1a1f45);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 53, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 14, 39, 0.9));
    color: white;
}

.carousel-slide .slide-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.carousel-slide .slide-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.9);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(10, 14, 39, 0.7);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.credentials {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.credential-badge {
    background: var(--surface);
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.expertise-list {
    list-style: none;
    margin: 2rem 0;
}

.expertise-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
}

.expertise-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    padding: 8rem 2rem;
    background: var(--surface);
}

.faq-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border: 2px solid var(--border);
    padding: 2rem;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Service Landing Pages */
.service-hero {
    margin-top: 80px;
    padding: 7rem 2rem 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.service-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--accent-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.service-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.service-hero p {
    font-size: 1.2rem;
    line-height: 1.75;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
}

.service-section {
    padding: 6rem 2rem;
    background: white;
}

.service-section:nth-child(even) {
    background: var(--surface);
}

.service-section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.service-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-section-container > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 760px;
    margin-bottom: 2rem;
}

.feature-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card,
.process-card {
    border: 2px solid var(--border);
    padding: 2rem;
    background: white;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.feature-card h3,
.process-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p,
.process-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    list-style: none;
}

.service-list li {
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
}

.service-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.75rem;
}

.service-cta {
    background: var(--primary);
    color: white;
    text-align: center;
}

.service-cta h2,
.service-cta .service-section-container > p {
    color: white;
}

.service-cta .service-section-container > p {
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.78);
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
}

.cta-container p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    max-width: 600px;
    margin: 3rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group label {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--primary);
    color: white;
}

.form-status {
    margin-top: 1rem;
    min-height: 1.5rem;
    font-size: 0.9rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
}

.form-status.is-success {
    color: #b7f3ce;
}

.form-status.is-error {
    color: #ffc4a6;
}

/* Footer */
footer {
    background: var(--primary);
    padding: 3rem 2rem 2rem;
    border-top: 2px solid var(--accent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* App Privacy & Legal Pages */
.legal-page {
    background:
        linear-gradient(rgba(10, 14, 39, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 14, 39, 0.025) 1px, transparent 1px),
        var(--surface);
    background-size: 32px 32px;
}

.legal-page main {
    min-height: 70vh;
}

.legal-hero {
    margin-top: 80px;
    padding: 5.5rem 2rem 4.5rem;
    color: white;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 107, 53, 0.2), transparent 34%),
        linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
    border-bottom: 3px solid var(--accent);
}

.legal-hero-container,
.privacy-summary-container,
.privacy-directory-container {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.legal-hero .breadcrumb {
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.68);
}

.legal-hero .breadcrumb a {
    color: white;
}

.legal-hero .section-label {
    margin-bottom: 1rem;
}

.legal-hero h1 {
    max-width: 900px;
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 6vw, 4.75rem);
    letter-spacing: -0.04em;
}

.legal-hero > .legal-hero-container > p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.legal-meta > div {
    min-width: 170px;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.legal-meta dt {
    margin-bottom: 0.2rem;
    color: var(--accent-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-meta dd {
    color: white;
    font-size: 0.92rem;
}

.privacy-summary {
    padding: 3.5rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border);
}

.privacy-summary-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
}

.privacy-summary h2 {
    max-width: 540px;
    margin-top: 0.75rem;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.privacy-fact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    list-style: none;
}

.privacy-fact-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    min-height: 76px;
    padding: 1rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
}

.privacy-fact-list svg {
    flex: 0 0 auto;
    color: var(--accent-on-light);
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 760px);
    gap: 4rem;
    width: min(calc(100% - 4rem), 1120px);
    margin: 0 auto;
    padding: 4.5rem 0 6rem;
}

.legal-toc {
    position: sticky;
    top: 112px;
    align-self: start;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
}

.legal-toc h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.legal-toc ol {
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.legal-toc li + li {
    margin-top: 0.55rem;
}

.legal-toc a {
    color: var(--text-muted);
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-toc a:hover {
    color: var(--accent-on-light);
    text-decoration-color: currentColor;
}

.legal-article {
    min-width: 0;
}

.legal-article section {
    padding: 0 0 2.75rem;
    scroll-margin-top: 112px;
}

.legal-article section + section {
    padding-top: 2.75rem;
    border-top: 1px solid var(--border);
}

.legal-article h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}

.legal-article p,
.legal-article li,
.legal-article address {
    color: #383838;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-article p + p,
.legal-article p + ul,
.legal-article ul + p,
.legal-article .legal-table-wrap + p {
    margin-top: 1rem;
}

.legal-article ul {
    padding-left: 1.35rem;
}

.legal-article li + li {
    margin-top: 0.65rem;
}

.legal-article strong {
    color: var(--primary);
}

.legal-article a,
.privacy-directory a:not(.privacy-app-card) {
    color: #8b3500;
    text-underline-offset: 3px;
}

.legal-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 1.25rem;
    border: 1px solid var(--border);
    background: white;
}

.legal-table-wrap:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.legal-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
}

.legal-table th,
.legal-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-table th {
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    background: var(--primary);
}

.legal-table td {
    color: #383838;
    font-size: 0.92rem;
}

.legal-table tbody tr:last-child td {
    border-bottom: 0;
}

.legal-contact {
    padding: 2rem !important;
    background: white;
    border: 1px solid var(--border) !important;
    border-left: 4px solid var(--accent) !important;
}

.legal-contact address {
    margin-top: 1rem;
    font-style: normal;
}

.privacy-directory {
    padding: 5rem 2rem 6rem;
}

.privacy-directory-container {
    max-width: 960px;
}

.privacy-directory-intro {
    max-width: 740px;
    margin-bottom: 2.5rem;
}

.privacy-directory-intro h2 {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.privacy-directory-intro p,
.privacy-directory-note {
    color: var(--text-muted);
}

.privacy-app-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.75rem;
    color: var(--primary);
    text-decoration: none;
    background: white;
    border: 2px solid var(--primary);
    box-shadow: 8px 8px 0 rgba(255, 107, 53, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-app-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 rgba(255, 107, 53, 0.28);
}

.privacy-app-mark {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: white;
    background: var(--primary);
}

.privacy-app-card-copy {
    display: grid;
    gap: 0.25rem;
}

.privacy-app-card-copy strong {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
}

.privacy-app-card-copy > span:last-child {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.privacy-app-platform {
    color: var(--accent-on-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.privacy-card-arrow {
    color: var(--accent-on-light);
    font-size: 1.75rem;
    transition: transform 0.2s ease;
}

.privacy-app-card:hover .privacy-card-arrow {
    transform: translateX(4px);
}

.privacy-directory-note {
    margin-top: 2rem;
    font-size: 0.88rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .about-container,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns at tablet */
    }

    .faq-grid,
    .feature-grid,
    .process-grid,
    .service-list {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 2.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: 1rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        border: 2px solid var(--primary);
        padding: 1.25rem;
        transform: translateY(-1rem);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 1001;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open .nav-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services,
    .testimonials,
    .about,
    .faq,
    .service-section,
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .service-hero {
        padding: 5rem 1.5rem 4rem;
    }

    .legal-hero {
        padding: 4.5rem 1.5rem 3.75rem;
    }

    .privacy-summary {
        padding: 3rem 1.5rem;
    }

    .privacy-summary-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        width: min(calc(100% - 3rem), 760px);
        gap: 2rem;
        padding: 3.5rem 0 5rem;
    }

    .legal-toc {
        position: static;
    }

    .privacy-directory {
        padding: 4rem 1.5rem 5rem;
    }

    .carousel-toggle {
        font-size: 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.85rem 1rem;
    }

    .logo {
        max-width: 150px;
    }

    .logo img {
        width: 150px;
    }

    .nav-links {
        top: 66px;
        left: 0.75rem;
        right: 0.75rem;
        padding: 1rem;
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
    }

    .hero-container {
        padding: 2.5rem 1rem;
    }

    .hero-badge {
        margin-bottom: 1.2rem;
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .stats {
        padding: 2.5rem 1rem;
    }

    .stats-container {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title,
    .about-content h2,
    .cta-container h2 {
        font-size: 1.9rem;
    }

    .section-description,
    .about-content p,
    .cta-container p {
        font-size: 1rem;
    }

    .services,
    .about,
    .faq,
    .service-section,
    .cta-section {
        padding: 3rem 1rem;
    }

    .service-card {
        padding: 2rem 1.25rem;
    }

    .faq-item,
    .feature-card,
    .process-card {
        padding: 1.5rem;
    }

    .service-hero {
        margin-top: 70px;
        padding: 3.5rem 1rem 3rem;
    }

    .legal-hero {
        margin-top: 70px;
        padding: 3.5rem 1rem 3rem;
    }

    .legal-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .privacy-summary {
        padding: 2.5rem 1rem;
    }

    .privacy-fact-list {
        grid-template-columns: 1fr;
    }

    .privacy-fact-list li {
        min-height: 0;
    }

    .legal-layout {
        width: calc(100% - 2rem);
        padding: 2.5rem 0 4rem;
    }

    .legal-toc,
    .legal-contact {
        padding: 1.25rem !important;
    }

    .privacy-directory {
        padding: 3rem 1rem 4rem;
    }

    .privacy-app-card {
        grid-template-columns: auto 1fr;
        padding: 1.25rem;
        box-shadow: 5px 5px 0 rgba(255, 107, 53, 0.22);
    }

    .privacy-card-arrow {
        display: none;
    }

    .contact-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }

    .carousel-btn.next {
        right: 0.5rem;
    }

    .carousel-dots {
        bottom: 0.5rem;
        gap: 0.45rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-toggle {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.35rem 0.55rem;
        font-size: 0.7rem;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .carousel-track {
        transition: none;
    }
}
