@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-orange: #FF6B35;
    --primary-black: #1A1A1A;
    --text-dark: #222222;
    --text-grey: #666666;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --bg-sage: #E3E9E3;
    --bg-beige: #F5F1EB;
    --bg-dark-blue: #161C2D;
    --border-radius-lg: 30px;
    --border-radius-xl: 40px;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1140px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Typography */
h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-black);
    margin-bottom: 20px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-size: 1rem;
    color: var(--text-grey);
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-white {
    background: white;
    color: var(--primary-black);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

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

.btn-orange:hover {
    background: #e55a2b;
}

/* Navbar */
.navbar {
    padding: 25px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-black);
    white-space: nowrap; /* Prevent logo text wrap */
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-black);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-toggle {
    display: none; /* Hidden by default */
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-black);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-radius: 0 0 20px 20px;
        gap: 25px;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Hero Section - High End Redesign */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden; /* Prevent deco overflow */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    min-height: 600px;
}

/* Hero Content (Left) */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    align-self: flex-start;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 1.4rem;
    color: var(--primary-black);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-text span {
    font-size: 0.85rem;
    color: var(--text-grey);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}

/* Hero Visual (Right) - High End Composition */
.hero-visual-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Backgrounds */
.visual-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.visual-dots {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(0,0,0,0.1) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 0;
}

/* Main Image Box */
.main-visual-box {
    position: relative;
    width: 400px;
    height: 550px;
    border-radius: 200px 200px 40px 40px; /* Unique shape */
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    background: #f0f0f0;
}

.main-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.hero-visual-wrapper:hover .main-visual-box img {
    transform: scale(1.05);
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.float-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.95);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Profile Card Position */
.profile-card {
    top: 100px;
    left: 0;
    padding-right: 35px;
}

.profile-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-black);
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-grey);
}

/* Focus Card Position */
.focus-card {
    bottom: 80px;
    right: -20px;
    animation-delay: 2s; /* Offset animation */
}

.icon-box-small {
    width: 40px;
    height: 40px;
    background: var(--primary-black);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.light-beige {
    background-color: var(--bg-beige);
}

.dark-blue {
    background-color: var(--bg-dark-blue);
    color: white;
}

.dark-blue h3, .dark-blue p {
    color: white;
}

.sage-green {
    background-color: var(--bg-sage);
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Decorative lines */
.deco-lines {
    width: 100%;
    height: auto;
    opacity: 0.3;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.benefit-desc {
    margin-bottom: 40px;
    max-width: 300px;
}

.benefit-item {
    margin-bottom: 40px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-link-orange {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.arch-window {
    width: 100%;
    height: 450px;
    border-radius: 200px 200px 0 0; /* Arch shape */
    overflow: hidden;
    position: relative;
}

.arch-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 40px;
}

.experience-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.experience-card p {
    margin-bottom: 20px;
    color: var(--primary-black);
}

.experience-card strong {
    color: var(--primary-orange);
}

.small-cat-img img {
    border-radius: 20px;
    height: 160px;
    width: 100%;
    object-fit: cover;
}

/* Wellness Section */
.wellness {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
}

.wellness-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.key-features {
    margin-bottom: 40px;
}

.key-features h4 {
    margin-bottom: 25px;
    color: var(--primary-black);
    font-weight: 700;
}

.key-features ul li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.key-features strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-black);
}

.wellness-images {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-back {
    position: absolute;
    left: 0;
    top: 50px;
    width: 320px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    z-index: 1;
}

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

.img-front {
    position: absolute;
    right: 20px;
    top: -20px;
    width: 280px;
    height: 380px;
    border-radius: 30px;
    overflow: hidden;
    z-index: 2;
    border: 8px solid var(--bg-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.doodle-line {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 150px;
    height: 150px;
    z-index: 0;
    opacity: 0.5;
}

/* Projects Section - High End Interactive */
.projects-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.project-card-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    z-index: 1;
}

/* Spotlight Effect Layer */
.project-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 107, 53, 0.06),
            transparent 40%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-card-item:hover::before {
    opacity: 1;
}

.project-card-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(255, 107, 53, 0.2);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    color: var(--primary-orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.project-card-item:hover .project-icon {
    background: var(--primary-orange);
    color: white;
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.project-card-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-black);
    font-weight: 700;
    line-height: 1.4;
}

.project-card-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Arrow */
.project-arrow {
    margin-top: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.project-card-item:hover .project-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--primary-black);
    color: white;
}

/* Project QR Code Overlay */
.project-qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    padding: 20px;
    text-align: center;
}

.project-card-item:hover .project-qr-overlay {
    opacity: 1;
    visibility: visible;
}

.project-qr-overlay img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card-item:hover .project-qr-overlay img {
    transform: scale(1);
}

.project-qr-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-black);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.project-card-item:hover .project-qr-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* Clients Section - High End Interactive */
.clients-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fcfcfc, #f5f7fa);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.clients-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.client-logo {
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    cursor: pointer;
    --brand-color: 255, 107, 53; /* Default fallback color */
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.5s ease;
    transform: scale(0.9);
}

/* Hover Effects */
.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--brand-color), 0.15);
    border-color: rgba(var(--brand-color), 0.3);
    background: rgba(var(--brand-color), 0.06);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Shine Effect */
.client-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.8) 50%,
            rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.client-logo:hover::after {
    left: 200%;
    transition: all 0.8s ease;
}

/* Core Tech Stack - High End Style */
.tech-stack-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    border-radius: 30px;
    padding: 35px;
    height: 320px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.5);
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Card Variants */
.card-dark {
    background: var(--bg-dark-blue);
    color: white;
}

.card-gradient-1 {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    color: var(--primary-black);
}

.card-gradient-2 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
}

/* Background Icons */
.card-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.05;
    transform: rotate(15deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.tech-card:hover .card-bg-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.1;
}

/* Card Content */
.tech-icon-small {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card-gradient-1 .tech-icon-small {
    background: rgba(255,255,255,0.6);
    color: var(--primary-orange);
}

.tech-content h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.tech-subtitle {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 25px;
}

/* Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.card-gradient-1 .tech-tags span {
    background: rgba(255,255,255,0.4);
    color: var(--primary-black);
}

/* CTA Card - Bento Grid Span */
.tech-cta-card {
    grid-column: span 2;
    background: var(--primary-orange);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.tech-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-download {
    position: relative;
    z-index: 2;
    background: white;
    color: var(--primary-orange);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.btn-download .icon-circle {
    width: 30px;
    height: 30px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Training (FAQ) */
.training {
    padding: 100px 0;
    background-color: var(--bg-beige);
}

.training-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.training-images {
    position: relative;
    height: 500px;
}

.img-tall {
    position: absolute;
    left: 20px;
    top: 0;
    width: 350px;
    height: 480px;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
}

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

.img-circle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--bg-beige);
}

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

.faq-list {
    margin-top: 30px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-black);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-grey);
    line-height: 1.6;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-orange);
    color: white;
}

.faq-item.active .faq-answer {
    padding-bottom: 30px;
    max-height: 200px;
    color: #ccc;
}

/* Footer */
.footer {
    background-color: #0F1216;
    color: white;
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #888;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.logo.white {
    color: white;
    margin-bottom: 20px;
}

.logo.white i {
    color: var(--primary-orange);
}

/* QR Code Styles - High End */
.qr-code-box {
    width: 140px;
    padding: 12px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.qr-code-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 107, 53, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.qr-code-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.qr-code-box:hover::before {
    opacity: 1;
    left: 100%;
    top: 100%;
    transition: all 0.8s;
}

.qr-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    background: #1E2329;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: white;
}

.social-links a:hover {
    background: var(--primary-orange);
}

.subscribe-form {
    display: flex;
    background: #1E2329;
    border-radius: 50px;
    padding: 5px;
    margin-top: 10px;
}

.subscribe-form input {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    width: 100%;
    outline: none;
}

.subscribe-form button {
    background: var(--primary-orange);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-text {
    font-size: 0.8rem;
    color: #555;
    margin-top: 15px;
    font-style: italic;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1E2329;
    color: #444;
    font-size: 0.85rem;
}

/* Game Development Section */
.game-section {
    padding: 100px 0;
    background: #1a1a1a;
    color: white;
    position: relative;
    overflow: hidden;
}

.game-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-tag-badge {
    display: inline-block;
    background: linear-gradient(90deg, #FF6B35, #FF8C61);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.game-desc {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.game-showcase-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.game-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.game-logo-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #ff9f43);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.game-title-group h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.game-title-group span {
    color: #888;
    font-size: 0.9rem;
    display: block;
}

.game-details {
    color: #bbb;
    margin-bottom: 30px;
    line-height: 1.6;
}

.game-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.g-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-tag i {
    color: #FF6B35;
}

.game-metrics {
    display: flex;
    align-items: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.metric-item strong {
    display: block;
    font-size: 1.4rem;
    color: white;
}

.metric-item span {
    font-size: 0.85rem;
    color: #888;
}

.metric-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Visual Side */
.game-visual-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #333;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 2;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #333;
    border-radius: 0 0 15px 15px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #2b32b2, #1488cc);
    position: relative;
    overflow: hidden;
}

.game-scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.game-ui-top {
    position: absolute;
    top: 40px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    color: white;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.game-object {
    position: absolute;
    background: #FF6B35;
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.obj-1 {
    width: 40px;
    height: 40px;
    top: 100px;
    left: 50px;
    animation: drop1 3s infinite ease-in;
}

.obj-2 {
    width: 30px;
    height: 50px;
    background: #4ecdc4;
    top: 80px;
    right: 60px;
    animation: drop2 4s infinite ease-in;
}

.obj-3 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffe66d;
    top: 50px;
    left: 120px;
    animation: drop3 3.5s infinite ease-in;
}

.game-floor {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: #333;
    border-top: 4px solid #555;
}

@keyframes drop1 {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateY(400px) rotate(180deg); opacity: 1; }
    100% { transform: translateY(450px) rotate(200deg); opacity: 0; }
}

@keyframes drop2 {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateY(350px) rotate(-180deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(-200deg); opacity: 0; }
}

@keyframes drop3 {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateY(420px) scale(1.1); opacity: 1; }
    100% { transform: translateY(460px) scale(0.5); opacity: 0; }
}

.game-deco-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.game-float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 3;
    animation: float 5s infinite ease-in-out;
}

.icon-1 { top: 100px; left: 0; animation-delay: 0s; }
.icon-2 { bottom: 100px; right: 0; animation-delay: 2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual-wrapper {
        height: 500px;
    }

    .benefits-grid, .wellness-container, .training-container {
        grid-template-columns: 1fr;
    }

    .wellness-images, .training-images {
        margin-top: 40px;
    }

    .img-front {
        right: 50%;
        transform: translateX(50%);
    }

    .grid-3, .grooming-grid, .tech-grid, .game-container-grid {
        grid-template-columns: 1fr;
    }

    .game-visual-wrapper {
        height: 450px;
        margin-bottom: 40px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }


    .tech-cta-card {
        grid-column: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none; /* Hidden by default on mobile, toggled by JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-radius: 0 0 20px 20px;
        gap: 25px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    /* Hero Text Adjustment */
    h1 {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 90%;
        padding: 0 10px;
    }

    /* Smaller Hero Text for Mobile */
    h1 {
        font-size: 2.8rem;
    }

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

    /* Hero Visual Adjustments for Mobile */
    .hero-visual-wrapper {
        height: 350px;
        margin-top: 30px;
    }

    .main-visual-box {
        width: 280px;
        height: 320px;
        border-radius: 100px 100px 30px 30px;
    }

    .float-card {
        /* display: none; */ /* Hide floating cards on mobile */
    }

    .visual-circle-bg {
        width: 280px;
        height: 280px;
    }

    .projects-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 5% 40px 5%; /* 增加左右内边距，方便滑动 */
        margin: 0 -20px; /* 负边距抵消容器 padding，实现全宽滑动 */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; /* iOS 平滑滚动 */
        scrollbar-width: none; /* Firefox 隐藏滚动条 */
    }

    .projects-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari 隐藏滚动条 */
    }

    .project-card-item {
        min-width: 280px;
        flex: 0 0 85%; /* 卡片宽度占屏幕 85%，露出下一个卡片边缘 */
        scroll-snap-align: center;
        padding: 25px 20px;
        margin-bottom: 0; /* 移除 Flex 布局不需要的下边距 */
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-cta-card {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 20px;
    }

    .tech-content h4 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-container {
        gap: 40px;
        text-align: center; /* Center footer text on mobile */
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center flex items (like QR box) */
    }

    .qr-code-box {
        margin: 0 auto 20px auto; /* Explicitly center QR box */
    }

    /* Reduce Section Spacing on Mobile */
    .services-preview,
    .benefits,
    .wellness,
    .projects-section,
    .clients-section,
    .tech-stack-section,
    .game-section {
        padding: 50px 0;
    }
}
