/* ====================================
   FUN4YEAH Brand Website Styles
   Black & Green Theme
   ==================================== */

/* CSS Variables - Logo Green Theme */
:root {
    --brand-green: #5FC66B;
    --brand-dark: #0A0A0A;
    --brand-gray: #1A1A1A;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --text-light-gray: #808080;
    --bg-dark: #000000;
    --bg-card: #1A1A1A;
    --bg-hover: #252525;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-green: 0 0 20px rgba(95, 198, 107, 0.3);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(95, 198, 107, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better touch targets for mobile */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(95, 198, 107, 0.2);
}

/* Prevent text selection on double-tap */
.nav-brand, .hero-title, .section-title {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scrolling for iOS */
.nav-menu {
    -webkit-overflow-scrolling: touch;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(95, 198, 107, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(95, 198, 107, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-brand:hover .nav-logo {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--brand-green);
    transition: var(--transition);
    border-radius: 3px;
}

/* ====================================
   Hero Section - Carousel Banner
   ==================================== */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--brand-dark);
    margin-top: 70px;
    padding: 60px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.hero-info {
    z-index: 2;
    padding-bottom: 20px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    color: var(--brand-green);
    text-shadow: 0 0 20px rgba(95, 198, 107, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-gray);
}

.hero-slogan {
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-white);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.hero-coordinates {
    font-family: 'Poppins', monospace;
    font-size: 0.9rem;
    color: var(--text-light-gray);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    /* max-width: 600px; */
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(95, 198, 107, 0.2);
}

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

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

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

.carousel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-gray) 0%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.carousel-placeholder i {
    font-size: 4rem;
    color: var(--brand-green);
    opacity: 0.3;
}

.carousel-placeholder p {
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--brand-green);
    box-shadow: 0 0 10px var(--brand-green);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(95, 198, 107, 0.2);
    color: var(--brand-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(95, 198, 107, 0.3);
}

.carousel-arrow:hover {
    background: rgba(95, 198, 107, 0.4);
    box-shadow: var(--shadow-green);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-green);
    color: var(--bg-dark);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(95, 198, 107, 0.5);
}

/* ====================================
   Section Styles
   ==================================== */
.section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section:nth-child(even) {
    background: var(--brand-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-green);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--brand-green);
    margin: 0 auto 1rem;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(95, 198, 107, 0.5);
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-light-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

/* ====================================
   About Section
   ==================================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(95, 198, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-green);
    border: 2px solid rgba(95, 198, 107, 0.2);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--brand-green);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.about-card strong {
    color: var(--text-white);
}

/* Keywords Style */
.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.keyword {
    padding: 8px 16px;
    background: rgba(95, 198, 107, 0.1);
    color: var(--brand-green);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(95, 198, 107, 0.2);
}

/* Partners Section - Logo Wall */
.partners-section {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.partners-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--brand-green);
}

.partners-description {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(95, 198, 107, 0.1);
    padding: 20px;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.85);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: brightness(1.1);
}

.partner-placeholder {
    color: var(--text-light-gray);
    font-size: 0.85rem;
    text-align: center;
}

/* ====================================
   Business Section
   ==================================== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.business-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.business-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(95, 198, 107, 0.1);
    margin-bottom: 10px;
}

.business-icon {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 20px;
}

.business-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.business-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ====================================
   Products Section
   ==================================== */
.products-section {
    background: var(--brand-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.product-icon {
    width: 70px;
    height: 70px;
    background: rgba(95, 198, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 20px;
    border: 2px solid rgba(95, 198, 107, 0.2);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--brand-green);
}

.product-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(95, 198, 107, 0.2);
    color: var(--brand-green);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(95, 198, 107, 0.3);
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.highlight-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

/* Product Images Grid */
.product-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.product-image {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(95, 198, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.image-placeholder {
    text-align: center;
    color: var(--text-light-gray);
    font-size: 0.8rem;
    padding: 20px;
}

/* ====================================
   KAKALOK Brand Section
   ==================================== */
.kakalok-section {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 60px;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.kakalok-header {
    text-align: center;
    margin-bottom: 40px;
}

.kakalok-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-green);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(95, 198, 107, 0.3);
}

.kakalok-slogan {
    font-size: 1.3rem;
    color: var(--text-gray);
    font-weight: 500;
}

.kakalok-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(95, 198, 107, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

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

/* KAKALOK Product Images */
.kakalok-products {
    margin-bottom: 40px;
}

.kakalok-products h4 {
    font-size: 1.5rem;
    color: var(--brand-green);
    margin-bottom: 30px;
    text-align: center;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.showcase-item {
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(95, 198, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.showcase-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

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

/* IP Collaboration */
.ip-collaboration {
    margin-bottom: 40px;
}

.ip-collaboration h4 {
    font-size: 1.5rem;
    color: var(--brand-green);
    margin-bottom: 30px;
    text-align: center;
}

.ip-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.ip-logo-item {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(95, 198, 107, 0.1);
    transition: var(--transition);
}

.ip-logo-item:hover {
    border-color: var(--brand-green);
    box-shadow: var(--shadow-green);
}

/* Scene Examples */
.scene-examples {
    margin-top: 40px;
}

.scene-examples h4 {
    font-size: 1.5rem;
    color: var(--brand-green);
    margin-bottom: 30px;
    text-align: center;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.scene-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.scene-item img {
    width: 100%;
    height: auto;
    display: block;
}

.scene-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    color: var(--text-white);
    text-align: center;
}

/* ====================================
   Cases Section
   ==================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.case-header {
    background: var(--brand-green);
    color: var(--bg-dark);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.case-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.case-content {
    padding: 30px;
}

.case-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(95, 198, 107, 0.1);
}

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

.stat-item i {
    font-size: 1.5rem;
    color: var(--brand-green);
    margin-bottom: 5px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.case-desc {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Case Product Images */
.case-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.case-image {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

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

/* ====================================
   IP Logo Wall
   ==================================== */
.ip-wall-section {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 60px;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.ip-wall-section h4 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--brand-green);
}

.ip-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.ip-wall-item {
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(95, 198, 107, 0.1);
    transition: var(--transition);
    padding: 20px;
}

.ip-wall-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green);
    border-color: var(--brand-green);
}

.ip-wall-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ====================================
   Contact Section
   ==================================== */
.contact-section {
    background: var(--brand-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(95, 198, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(95, 198, 107, 0.2);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--brand-green);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--brand-green);
}

.contact-item p {
    color: var(--text-gray);
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--brand-green);
}

.contact-cta {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(95, 198, 107, 0.1);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--brand-green);
}

.contact-cta p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link-wrapper {
    position: relative;
}

.wechat-qr-popup {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
    width: max-content;
    white-space: nowrap;
}

.wechat-qr-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.wechat-qr-popup img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    display: block;
}

.wechat-qr-popup p {
    text-align: center;
    color: #333;
    font-size: 0.8rem;
    margin-top: 8px;
    margin-bottom: 0;
}

.social-link-wrapper:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(95, 198, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid rgba(95, 198, 107, 0.2);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--brand-green);
    color: var(--bg-dark);
    box-shadow: var(--shadow-green);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--brand-dark);
    color: var(--text-gray);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(95, 198, 107, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}

.footer-logo {
    width: auto;
    height: 44px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 1rem;
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(95, 198, 107, 0.1);
}

.footer-bottom p {
    color: var(--text-light-gray);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--text-light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--brand-green);
}

/* ====================================
   Back to Top Button
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-green);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(95, 198, 107, 0.6);
}

/* ====================================
   Responsive Design - Tablet
   ==================================== */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-carousel {
        max-width: 100%;
        height: 350px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-slogan {
        font-size: 1.8rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .kakalok-title {
        font-size: 2.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

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

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

/* ====================================
   Responsive Design - Mobile (768px)
   ==================================== */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Navigation */
    .nav-container {
        padding: 1rem 15px;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .brand-subtitle {
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 50px 0;
        gap: 0;
        transition: var(--transition);
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(95, 198, 107, 0.1);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(95, 198, 107, 0.1);
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 30px 0;
        margin-top: 65px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-slogan {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-carousel {
        height: 250px;
        border-radius: 10px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

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

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 30px 20px;
    }

    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .keywords {
        gap: 8px;
    }

    .keyword {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Partners Section */
    .partners-section {
        padding: 40px 20px;
    }

    .partners-title {
        font-size: 1.5rem;
    }

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

    .partner-logo {
        height: 100px;
        padding: 15px;
    }

    /* Business Section */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card {
        padding: 30px 20px;
    }

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

    .business-icon {
        font-size: 2rem;
    }

    /* Products Section */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .product-card {
        padding: 25px 20px;
    }

    .product-highlights {
        gap: 8px;
    }

    .highlight-tag {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .product-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* KAKALOK Section */
    .kakalok-section {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .kakalok-title {
        font-size: 2rem;
    }

    .kakalok-slogan {
        font-size: 1rem;
    }

    .kakalok-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }

    .feature-box {
        padding: 20px 15px;
    }

    .feature-box i {
        font-size: 2rem;
    }

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

    .showcase-item {
        height: 180px;
    }

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

    .ip-logo-item {
        height: 80px;
    }

    .scene-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Cases Section */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-card {
        border-radius: 10px;
    }

    .case-header {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .case-header h3 {
        font-size: 1.2rem;
    }

    .case-content {
        padding: 20px;
    }

    .case-stats {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 15px;
    }

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

    .case-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .case-image {
        height: 90px;
    }

    /* IP Wall Section */
    .ip-wall-section {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .ip-wall-section h4 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

    .ip-wall-item {
        height: 100px;
        padding: 15px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        gap: 20px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon i {
        font-size: 1.2rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-cta {
        padding: 30px 20px;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
    }

    .footer-logo {
        height: 38px;
    }

    .footer-links {
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ====================================
   Responsive Design - Small Mobile (480px)
   ==================================== */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .hero-slogan {
        font-size: 1.3rem;
    }

    .hero-carousel {
        height: 200px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Cards */
    .about-card,
    .business-card,
    .product-card {
        padding: 25px 15px;
    }

    /* Partners & IP Wall */
    .partners-grid,
    .ip-wall-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .partner-logo,
    .ip-wall-item {
        height: 90px;
    }

    /* Product Images */
    .product-images {
        grid-template-columns: repeat(2, 1fr);
    }

    /* KAKALOK */
    .kakalok-title {
        font-size: 1.8rem;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .showcase-item {
        height: 200px;
    }

    .ip-logos {
        grid-template-columns: 1fr;
    }

    /* Case Images */
    .case-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .case-image {
        height: 120px;
    }

    /* Contact */
    .contact-cta h3 {
        font-size: 1.3rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-logo {
        height: 34px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ====================================
   Responsive Design - Extra Small (360px)
   ==================================== */
@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-carousel {
        height: 180px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .kakalok-title {
        font-size: 1.5rem;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .about-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .business-number {
        font-size: 2rem;
    }
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glow effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(95, 198, 107, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(95, 198, 107, 0.6);
    }
}

.glow-effect {
    animation: glow 2s infinite;
}

/* ====================================
   Print Styles
   ==================================== */
@media print {
    .navbar,
    .carousel-controls,
    .carousel-arrow,
    .back-to-top {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}