/* ============================================
   Green Fiber Landing Page — Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #2D8B4E;
    --color-primary-light: #4CAF50;
    --color-primary-dark: #1B5E20;
    --color-secondary: #FFB74D;
    --color-secondary-light: #FFD54F;
    --color-accent: #42A5F5;
    --color-bg: #F8FAF9;
    --color-bg-alt: #FFFFFF;
    --color-text: #1A2E1A;
    --color-text-light: #5A6B5A;
    --color-text-muted: #8A9A8A;
    --color-border: #E0EBE0;
    --color-success: #66BB6A;
    --color-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   Warning Banner
   ============================================ */

.warning-banner {
    background: linear-gradient(135deg, #FF6B35, #FF8F00, #FFB300);
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.warning-banner-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.warning-banner-text {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

ul {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--color-text-light);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(45, 139, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 139, 78, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-product {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-text);
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
    margin-top: auto;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 183, 77, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ============================================
   Hero Section
   ============================================ */

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1B5E20 0%, #2D8B4E 30%, #4CAF50 60%, #81C784 100%);
    z-index: -2;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    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.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.2) 0%, transparent 70%);
    z-index: -1;
}

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

.hero-text h1 {
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Section Common
   ============================================ */

section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(45, 139, 78, 0.1), rgba(76, 175, 80, 0.1));
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 12px;
    color: var(--color-text);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-benefits {
    background: linear-gradient(135deg, #f0f9f0, #e8f5e8);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.about-benefits h3 {
    margin-bottom: 24px;
    color: var(--color-primary-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

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

/* About Video */
.about-video {
    margin-top: 48px;
    text-align: center;
}

.about-video h3 {
    margin-bottom: 24px;
    color: var(--color-primary-dark);
}

.about-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.about-video-wrapper video {
    width: 100%;
    display: block;
}

/* ============================================
   Products Section
   ============================================ */

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-video-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-play:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

.btn-play svg {
    width: 18px;
    height: 18px;
}

.product-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.product-content h3 {
    margin-bottom: 12px;
    color: var(--color-text);
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.product-stats {
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-stat {
    margin-bottom: 10px;
}

.product-stat:last-child {
    margin-bottom: 0;
}

.product-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.product-stat-bar {
    height: 6px;
    background: var(--color-bg);
    border-radius: 3px;
    overflow: hidden;
}

.product-stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* ============================================
   Video Modal
   ============================================ */

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
}

.video-modal-content video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ============================================
   Partnership Section
   ============================================ */

.partnership {
    background: linear-gradient(135deg, #1B5E20 0%, #2D8B4E 50%, #4CAF50 100%);
    color: var(--color-white);
}

.partnership-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.partnership .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.partnership-text h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.partnership-text > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.partnership-benefits {
    margin-bottom: 32px;
}

.partnership-benefits li {
    padding: 8px 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Contacts Section
   ============================================ */

.contacts {
    background: var(--color-white);
}

.contacts-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.contact-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin: 0 auto 16px;
}

.contact-card h3 {
    margin-bottom: 8px;
    color: var(--color-text);
}

.contact-card p {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--color-text);
}

.contact-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--color-primary-light);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

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

/* ============================================
   Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }
.fade-in:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .warning-banner {
        padding: 14px 0;
    }

    .warning-banner-title {
        font-size: 1.2rem;
    }

    .warning-banner-text {
        font-size: 0.85rem;
    }

    .navbar {
        top: 0;
    }

    .mobile-menu {
        top: 72px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px;
    }

    section {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .partnership-form {
        padding: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-benefits {
        padding: 24px;
    }
}
