/* ============================================
   DAIGU TECHNOLOGY — Style complet
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --white: #ffffff; --gray-800: #1a1a1a; --black: #000000;
    --gold: #c8a96e; --gold-dark: #a88840;
    --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--black); color: var(--white); line-height: 1.7; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 2rem; transition: var(--transition); }
.nav.scrolled { background: rgba(0,0,0,0.9); backdrop-filter: blur(20px); padding: 1rem 2rem; }
.nav-inner { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: 3px; }
.nav-logo span { color: var(--gold); font-weight: 400; font-size: 1rem; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-lang { position: relative; margin-left: 1rem; }
.lang-current { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: var(--white); font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.8rem; cursor: pointer; border-radius: 50px; font-family: var(--font); transition: var(--transition); }
.lang-current:hover { border-color: var(--gold); }
.lang-arrow { transition: transform 0.3s; }
.lang-current.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: 120%; right: 0; background: rgba(20,20,20,0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 0.5rem; min-width: 180px; z-index: 200; display: none; flex-direction: column; gap: 0.15rem; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.lang-dropdown.open { display: flex; }
.lang-option { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.6rem 0.8rem; background: none; border: none; border-radius: 8px; color: rgba(255,255,255,0.7); font-size: 0.8rem; cursor: pointer; font-family: var(--font); transition: var(--transition); }
.lang-option:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.lang-option.active { background: rgba(200,169,110,0.15); color: var(--gold); }
.lang-option span { font-size: 1rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 110; }
.burger span { width: 22px; height: 2px; background: var(--white); transition: var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: -10%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 2rem; }
.hero-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,169,110,0.3); padding: 0.5rem 1.2rem; border-radius: 50px; margin-bottom: 2rem; }
.hero-line1 { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; letter-spacing: 4px; color: rgba(255,255,255,0.6); }
.hero-line2 { display: block; font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; letter-spacing: 8px; color: var(--gold); margin-top: 0.3rem; }
.hero-motto { font-size: clamp(1rem, 2vw, 1.3rem); font-style: italic; color: rgba(255,255,255,0.5); margin: 1.5rem 0 0.5rem; }
.hero-author { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 3rem; }
.hero-arrow { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.3); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; animation: floatArrow 2.5s ease-in-out infinite; }
@keyframes floatArrow { 0%,100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(10px); opacity: 1; } }

/* STORY */
.story-panel { background: var(--black); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.story-row-reverse .story-text { order: -1; }
.story-image { overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.story-image:hover img { transform: scale(1.03); }
.story-text { display: flex; flex-direction: column; justify-content: center; padding: 4rem; background: var(--gray-800); }
.story-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.story-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
.story-text p { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.8; }

/* VIDEO */
.video-panel { height: 90vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.video-wrapper { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 100vh; object-fit: cover; border: none; }
@media (min-aspect-ratio: 16/9) { .video-bg { width: 100vw; height: 56.25vw; } }
@media (max-aspect-ratio: 16/9) { .video-bg { width: 177.78vh; height: 100vh; } }
.video-content { position: relative; z-index: 2; max-width: 700px; padding: 0 2rem; }
.video-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; margin: 1rem 0; }
.video-content p { color: rgba(255,255,255,0.6); font-size: 1.1rem; }

/* PRODUCTS */
.products-panel { background: var(--black); padding: 8rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-sub { color: rgba(255,255,255,0.5); max-width: 500px; margin: 1rem auto 0; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card { position: relative; overflow: hidden; border-radius: 12px; cursor: pointer; aspect-ratio: 1/1; }
.product-img { width: 100%; height: 100%; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.product-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.product-info p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* QUOTE */
.quote-panel { height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.quote-bg { position: absolute; inset: 0; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.quote-content { position: relative; z-index: 2; }
.quote-content blockquote p { font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; max-width: 700px; margin: 0 auto 1.5rem; line-height: 1.5; color: var(--white); }
.quote-content blockquote footer { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }

/* STACK */
.stack-panel { background: var(--gray-800); padding: 8rem 0; }
.stack { max-width: 700px; margin: 0 auto; }
.stack-item { display: flex; align-items: center; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: var(--transition); }
.stack-item:last-child { border-bottom: none; }
.stack-item:hover { padding-left: 1.5rem; }
.stack-num { font-size: 3rem; font-weight: 900; color: var(--gold); opacity: 0.2; min-width: 60px; transition: var(--transition); }
.stack-item:hover .stack-num { opacity: 0.6; }
.stack-body { flex: 1; }
.stack-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.stack-body p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.stack-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(200,169,110,0.3); padding: 0.3rem 0.8rem; border-radius: 50px; white-space: nowrap; }

/* TIMELINE */
.timeline-panel { background: var(--black); padding: 8rem 0; }
.timeline { max-width: 500px; margin: 0 auto; position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); }
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -2.5rem; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gray-800); border: 2px solid rgba(255,255,255,0.2); z-index: 2; transition: var(--transition); }
.timeline-dot.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 20px rgba(200,169,110,0.4); }
.timeline-phase { font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.timeline-body h3 { font-size: 1.3rem; font-weight: 700; margin: 0.3rem 0; }
.timeline-body p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* PARTNER */
.partner-panel { background: var(--gray-800); padding: 8rem 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.partner-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1.5rem; }
.partner-text > p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.partner-contacts p { margin-bottom: 0.5rem; color: rgba(255,255,255,0.6); }
.partner-contacts a { color: var(--gold); text-decoration: none; display: inline-block; margin-top: 1rem; }
.partner-form { display: flex; flex-direction: column; gap: 1rem; }
.partner-form input, .partner-form textarea { width: 100%; padding: 1rem 1.2rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--white); font-family: var(--font); font-size: 0.9rem; border-radius: 8px; transition: var(--transition); }
.partner-form input:focus, .partner-form textarea:focus { outline: none; border-color: var(--gold); }
.partner-form button { padding: 1rem; background: var(--gold); color: var(--black); border: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border-radius: 50px; transition: var(--transition); }
.partner-form button:hover { background: var(--gold-dark); }

/* FOOTER */
.footer { background: #0a0a0a; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.8rem; font-weight: 900; letter-spacing: 5px; color: var(--white); text-decoration: none; display: block; margin-bottom: 0.8rem; }
.footer-logo span { color: var(--gold); }
.footer-motto { font-style: italic; color: rgba(255,255,255,0.3); font-size: 0.85rem; margin-bottom: 0.2rem; }
.footer-author { color: var(--gold); font-size: 0.75rem; letter-spacing: 2px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.2rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.6rem; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.2); letter-spacing: 1px; text-transform: uppercase; }

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 300px; background: rgba(0,0,0,0.95); flex-direction: column; padding: 6rem 2rem; gap: 2rem; transition: var(--transition); }
    .nav-links.active { right: 0; }
    .nav-lang { margin-left: 0; }
    .lang-dropdown { right: auto; left: 0; }
    .burger { display: flex; }
    .story-row { grid-template-columns: 1fr; min-height: auto; }
    .story-row-reverse .story-text { order: 0; }
    .story-text { padding: 3rem 2rem; }
    .story-image { height: 300px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: 1fr; }
    .stack-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col-brand { text-align: center; }
}