/* ============================================
   5. SECTIONS - About, Services, Stats, Cases, Contact
   ============================================ */

/* Section Decorative Elements (Global) */
.section-decoration {
    position: absolute;
    top: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.section-line {
    width: 1px;
    height: 150px;
    background: #000;
    margin-bottom: 20px;
}

body.dark-mode .section-line {
    background: #d4ff00;
}

.section-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.1em;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    margin-top: 30px;
}

body.dark-mode .section-label {
    color: #d4ff00;
}

/* ============================================
   WHO ARE WE / ABOUT SECTION
   ============================================ */

.who-are-we {
    padding: 6rem 0;
    width: 100%;
    position: relative;
}

.who-are-we > h2,
.who-are-we > .description,
.who-are-we > .ar-features {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .who-are-we {
    background: #0a0a0a;
}

.who-are-we h2 {
    font-size: 5rem;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 2rem;
    color: #000;
    position: relative;
    letter-spacing: 0.02em;
}

.who-are-we h2::before {
    content: '01';
    position: absolute;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    top: -4rem;
    left: -1rem;
    z-index: 0;
    line-height: 1;
}

body.dark-mode .who-are-we h2 {
    color: #fff;
}

body.dark-mode .who-are-we h2::before {
    color: rgba(255, 255, 255, 0.03);
}

.description {
    margin-bottom: 3rem;
}

.description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #000;
    font-size: 1.26rem;
    font-weight: 400;
}

body.dark-mode .description p {
    color: #ccc;
}

/* AR Features Grid */
.ar-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.feature-column h3 {
    font-size: 1.56rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

body.dark-mode .feature-column h3 {
    color: #fff;
}

.feature-column ul {
    list-style: none;
}

.feature-column li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1rem;
    font-size: 1.14rem;
}

body.dark-mode .feature-column li {
    color: #aaa;
}

.feature-column li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4ff00;
    font-weight: bold;
}

/* ============================================
   WHAT WE DO / SERVICES SECTION
   ============================================ */

.what-we-do {
    padding: 6rem 0;
    background: #f5f5f5;
    position: relative;
    overflow: visible;
}

body.dark-mode .what-we-do {
    background: #111;
}

.what-we-do-container {
    width: 70%;
    margin: 0 auto;
}

.what-we-do h2 {
    font-size: 5rem;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 1rem;
    color: #000;
    text-align: left;
    letter-spacing: 0.02em;
    line-height: 1.2;
    position: relative;
}

.what-we-do h2::before {
    content: '02';
    position: absolute;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    top: -4rem;
    left: 0;
    z-index: 0;
    line-height: 1;
}

body.dark-mode .what-we-do h2 {
    color: #fff;
}

body.dark-mode .what-we-do h2::before {
    color: rgba(255, 255, 255, 0.03);
}

.what-we-do-subtitle {
    text-align: left;
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 500;
    line-height: 1.6;
}

body.dark-mode .what-we-do-subtitle {
    color: #aaa;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-wrapper {
    width: 100%;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* AR Case Card */
.ar-case-card {
    width: 100%;
    background: transparent;
    border-radius: 25px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ar-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 255, 0, 0.3);
}

/* Video Container - 9:16 aspect ratio */
.ar-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%;
    background: transparent;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 25px 25px 0 0;
}

.ar-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Content Footer */
.ar-case-content {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    border-radius: 0 0 25px 25px;
    min-height: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ar-case-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(212, 255, 0, 0.9);
    color: #000;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.ar-case-content h3 {
    font-size: 1.32rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    flex-shrink: 0;
}

.ar-case-content p {
    font-size: 1.02rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    flex-shrink: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    background: #d4ff00;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.stats::after {
    content: '03';
    position: absolute;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    top: 2rem;
    left: 15%;
    z-index: 0;
    line-height: 1;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: none;
    display: none;
}

body.dark-mode .stats {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

body.dark-mode .stats::after {
    color: rgba(212, 255, 0, 0.05);
}

.stats-container {
    width: 70%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.stats h2 {
    font-size: 5rem;
    font-weight: 400;
    font-family: 'Bebas Neue', sans-serif;
    margin-bottom: 1rem;
    color: #000;
    position: relative;
    letter-spacing: 0.02em;
}

body.dark-mode .stats h2 {
    color: #fff;
}

.stats-subtitle {
    font-size: 1.26rem;
    color: #000;
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.7;
}

body.dark-mode .stats-subtitle {
    color: #ccc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
    letter-spacing: -0.02em;
}

body.dark-mode .stat-number {
    color: #d4ff00;
}

.stat-label {
    font-size: 1.44rem;
    color: #000;
    margin-top: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.dark-mode .stat-label {
    color: #fff;
}

.stat-description {
    color: #000;
    margin-top: 1rem;
    line-height: 1.7;
    font-size: 1.2rem;
    font-weight: 400;
}

body.dark-mode .stat-description {
    color: #aaa;
}

.stat-source {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 300;
}

body.dark-mode .stat-source {
    color: #888;
}

/* ============================================
   CASE OVERLAY MODAL
   ============================================ */

.case-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-overlay.active {
    display: flex;
    opacity: 1;
}

.case-overlay-content {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: #fff;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr 450px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.dark-mode .case-overlay-content {
    background: #1a1a1a;
}

.case-overlay-info {
    padding: 4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-overlay-info h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
    letter-spacing: -0.02em;
}

body.dark-mode .case-overlay-info h2 {
    color: #fff;
}

.case-overlay-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.case-overlay-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(212, 255, 0, 0.9);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

body.dark-mode .case-overlay-tag {
    background: rgba(212, 255, 0, 0.9);
    color: #000;
}

.case-overlay-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 400;
}

body.dark-mode .case-overlay-description {
    color: #ccc;
}

.case-overlay-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .case-overlay-stats {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.case-overlay-stat {
    text-align: left;
}

.case-overlay-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4ff00;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.case-overlay-stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

body.dark-mode .case-overlay-stat-label {
    color: #999;
}

.case-overlay-video {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-overlay-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.case-overlay-close:hover {
    background: #d4ff00;
    color: #000;
    transform: rotate(90deg);
}

/* Hide old unused service card elements */
.ar-case-stats,
.carousel-nav,
.carousel-btn,
.carousel-dots,
.carousel-dot,
.service-card,
.service-card-image,
.service-card-overlay,
.learn-more-btn,
.service-card-content {
    display: none !important;
}
