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

:root {
    --accent-color: oklch(0.7759 0.0532 147.01);
    --accent-light:  #D5DFD3;
    --accent-dark: oklch(0.2508 0.0131 285.41);
    --accent-plum: #4c494c;
}

body {
    font-family: 'Bodoni Moda', serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

/* Hero Section with Animated Grid */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.grid-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 1px;
    opacity: 0.1;
}

.grid-cell {
    background: #1a4d2e;
    opacity: 0;
    transform: scale(0);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(40px);
}

.hero-text .lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(40px);
}

.hero-text p {
    opacity: 0;
    transform: translateY(40px);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateX(40px);
}

.stat-card {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 2px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1a4d2e;
    transform: scaleX(0);
    transform-origin: left;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a4d2e;
    margin-bottom: 0.5rem;
}

/* Analysis Framework Section */
.analysis {
    background: var(--accent-dark);
    color: #ffffff;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.analysis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 1500px 1000px at 20% 50%, var(--accent-plum) 0%, transparent 40%),
        radial-gradient(ellipse 1200px 800px at 80% 50%, var(--accent-color) 0%, transparent 30%),
        conic-gradient(from 0deg at 30% 70%, transparent 0deg, rgba(213, 223, 211, 0.1) 60deg, transparent 120deg);
    mix-blend-mode: screen;
    opacity: 0.4;
    animation: analysis-bg-rotate 30s linear infinite;
}

@keyframes analysis-bg-rotate {
    to { transform: rotate(360deg) scale(1.1); }
}

.analysis::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: repeating-radial-gradient(circle at center, transparent 0px, transparent 100px, rgba(213, 223, 211, 0.02) 100px, rgba(213, 223, 211, 0.02) 200px);
    animation: pulse-slow 10s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.analysis-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5vw;
}

.analysis-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(40px);
}

.analysis-header h2 {
    color: var(--accent-light);
}

.analysis-header p {
    color: rgba(213, 223, 211, 0.9);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.framework-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg) translateZ(-50px);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    overflow: hidden;
}

.framework-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top left, var(--accent-light) 0%, transparent 50%),
        radial-gradient(circle at bottom right, var(--accent-color) 0%, transparent 50%);
    opacity: 0;
    mix-blend-mode: overlay;
    transition: opacity 0.4s ease;
}

.framework-item:hover {
    transform: translateY(0) rotateX(0) translateZ(20px);
    background: rgba(255, 255, 255, 0.08);
}

.framework-item:hover::before {
    opacity: 0.3;
}

.framework-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: conic-gradient(from 45deg, var(--accent-color) 0deg, var(--accent-plum) 90deg, var(--accent-light) 180deg, var(--accent-plum) 270deg, var(--accent-color) 360deg);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: icon-rotate 20s linear infinite;
}

@keyframes icon-rotate {
    to { transform: rotate(360deg); }
}

.framework-item h3 {
    color: var(--accent-light);
}

.framework-item p {
    color: rgba(213, 223, 211, 0.8);
}

/* Optimization Process - Horizontal Scroll */
.process {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 5vw;
    opacity: 0;
    transform: translateY(40px);
}

.process-timeline {
    display: flex;
    gap: 0;
    padding: 0 5vw;
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5vw;
    right: 5vw;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #1a4d2e;
    width: 0%;
    transition: width 0.3s ease;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
}

.step-circle {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.step-circle.active {
    background:oklch(94% .08 128);
    color: oklch(34% 0 0);
    border-color: oklch(84% 0.035 130 /.3);
    transform: scale(1.1);
}

/* Results Section with Data Visualization */
.results {
    background: #0a0a0a;
    color: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.results-content {
    width: 100%;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text {
    opacity: 0;
    transform: translateX(-40px);
}

.results-visual {
    position: relative;
    height: 500px;
    opacity: 0;
    transform: translateX(40px);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 25px 0 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar {
    width: 60px;
    background: linear-gradient(to top, oklch(90% 0.055 122) 0%, oklch(94% .08 130) 50%, oklch(95% .18 130) 100%);
    transform-origin: bottom;
    transform: scaleY(0);
    position: relative;
}

.chart-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: #b0b0b0;
    white-space: nowrap;
}

/* Case Studies Section */
.cases {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.cases-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 5vw;
    opacity: 0;
    transform: translateY(40px);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 0 5vw;
}

.case-card {
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(60px);
    position: relative;
}

.case-image {
    height: 250px;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4e 100%);
    position: relative;
    overflow: hidden;
}

.case-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-image::after {
    opacity: 1;
}

.case-content {
    padding: 2.5rem;
}

.case-metric {
    font-size: 2rem;
    font-weight: 300;
    color: #1a4d2e;
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4e 100%);
    color: #ffffff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 0 5vw;
    opacity: 0;
    transform: translateY(40px);
}

.cta-shapes {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.shape {
    position: absolute;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: #ffffff;
    color: #1a4d2e;
    text-decoration: none;
    font-weight: 500;
    border-radius: 2px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(26, 77, 46, 0.1);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content,
    .results-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }
    
    .timeline-line {
        display: none;
    }
    
    .framework-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}
/* Footer */
.ttc-footer {
  padding: 6rem 5% 3rem;
  background: var(--accent-dark);
  color: var(--primary-bg);
}

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

.ttc-footer-brand h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ttc-footer-brand p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.ttc-footer-column h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

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

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

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

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

.ttc-footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.ttc-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Magnetic button effect */
.ttc-magnetic {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive */
@media (max-width: 1024px) {
  .ttc-service-detail {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ttc-service-detail:nth-child(even) {
    direction: ltr;
  }

  .ttc-service-detail.tech-section {
    grid-template-columns: 1fr;
  }

  .ttc-testimonial-cta-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .ttc-testimonial-content,
  .ttc-cta-content {
    text-align: center;
  }

  .ttc-cta-buttons {
    justify-content: center;
  }

  .ttc-footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .ttc-services-hero {
    height: 60vh;
  }

  .ttc-nav-links {
    display: none;
  }

  .ttc-services-grid {
    grid-template-columns: 1fr;
  }

  .ttc-stats-grid {
    grid-template-columns: 1fr;
  }

  .ttc-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ttc-cursor,
  .ttc-cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* Mobile Navigation Styles */
:root {
  --primary-bg: #FFFFFF;
  --secondary-bg: #F8F7F4;
  --accent-gold: #D4AF37;
  --accent-dark: #1A1A2E;
  --accent-purple: #16213E;
  --text-dark: #0F0F0F;
  --text-medium: #4A4A4A;
  --text-light: #7A7A7A;
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Animations */
@keyframes slideInRight {
  0% {
    transform: translate3d(100px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(350px, 0, 0);
    visibility: hidden;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}