/* ========================================
   AGD JV LLC - Modern Dark Theme Website
   ======================================== */

/* CSS Variables */
:root {
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #0d1117;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0b0;
    --color-text-muted: #6b7280;
    --color-accent-primary: #8b5cf6;
    --color-accent-secondary: #06b6d4;
    --color-accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-glow: rgba(139, 92, 246, 0.3);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-text {
    color: var(--color-text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: var(--transition-smooth);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* Gradient Text */
.gradient-text {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-bg-card);
    border-color: var(--color-accent-primary);
}

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

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

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-primary);
    top: -10%;
    right: -10%;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-secondary);
    bottom: -10%;
    left: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    top: 40%;
    left: 30%;
    opacity: 0.3;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

.section-header.centered p {
    margin: 0 auto;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-accent-primary);
    transform: translateY(-5px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--color-accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-link:hover {
    color: var(--color-accent-secondary);
    gap: 0.5rem;
}

/* Features Section */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-check svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.feature-text h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Visual Card */
.visual-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.visual-header {
    background: var(--color-bg-secondary);
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.visual-dots {
    display: flex;
    gap: 0.5rem;
}

.visual-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.visual-dots span:nth-child(1) { background: #ef4444; }
.visual-dots span:nth-child(2) { background: #f59e0b; }
.visual-dots span:nth-child(3) { background: #10b981; }

.visual-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

.code-line {
    line-height: 1.8;
}

.code-line.indent {
    padding-left: 1.5rem;
}

.code-keyword { color: #c678dd; }
.code-function { color: #61afef; }
.code-paren { color: #abb2bf; }
.code-brace { color: #e06c75; }
.code-variable { color: #e5c07b; }
.code-operator { color: #56b6c2; }
.code-string { color: #98c379; }
.code-semi { color: #abb2bf; }

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: var(--color-accent-gradient);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.deco-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.deco-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--color-text-secondary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--color-text-secondary);
    font-size: 1.25rem;
}

.legal-header {
    padding: 160px 0 60px;
}

/* Services Detail Page */
.services-detail {
    padding: 60px 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail-item:last-child {
    border-bottom: none;
}

.service-detail-item.reversed {
    grid-template-columns: 2fr 1fr;
}

.service-detail-item.reversed .service-detail-icon {
    order: 2;
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: var(--color-accent-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.service-detail-icon svg {
    width: 60px;
    height: 60px;
    color: white;
}

.service-detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-feature h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-accent-primary);
}

.service-feature p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    background: var(--color-bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* About Page */
.about-intro {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    border-color: var(--color-accent-primary);
    transform: translateY(-5px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Industries */
.industries {
    background: var(--color-bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.industry-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    border-color: var(--color-accent-primary);
    background: var(--color-bg-card-hover);
}

.industry-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.industry-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Team Section */
.team-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.team-description p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

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

.team-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Location Section */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.location-content > p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.location-address {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.location-address p {
    margin-bottom: 0.25rem;
}

.location-contact p {
    margin-bottom: 0.5rem;
}

.location-visual {
    display: flex;
    justify-content: center;
}

.location-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.location-map svg {
    width: 80px;
    height: 80px;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.location-label {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.method-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-content a {
    color: var(--color-accent-primary);
    font-weight: 500;
    display: block;
}

.method-content span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.method-content address {
    color: var(--color-text-secondary);
    font-style: normal;
}

.contact-availability h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.availability-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.availability-item .day {
    color: var(--color-text-secondary);
}

.availability-item .time {
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.checkbox-group a {
    color: var(--color-accent-primary);
    text-decoration: underline;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-secondary);
}

/* FAQ Section */
.faq {
    background: var(--color-bg-secondary);
}

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

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.faq-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Legal Pages */
.legal-content {
    padding: 40px 0 80px;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.legal-toc {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.legal-toc h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-toc a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem 0;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
}

.legal-toc a:hover,
.legal-toc a.active {
    color: var(--color-accent-primary);
    border-left-color: var(--color-accent-primary);
}

.legal-text {
    scroll-behavior: smooth;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--color-accent-primary);
}

.legal-section p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--color-accent-primary);
    text-decoration: underline;
}

.contact-block {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-block p {
    margin-bottom: 0.25rem;
}

.contact-block a {
    color: var(--color-accent-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-wrapper,
    .contact-wrapper,
    .location-wrapper,
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .process-steps,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-toc {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .services-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        order: -1;
    }
    
    .service-detail-item,
    .service-detail-item.reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-item.reversed .service-detail-icon {
        order: -1;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .process-steps,
    .values-grid,
    .industries-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
