/*
Theme Name: Duclaw AI - Viral Hype v6.0
Author: Duclaw AI Team
Description: High-Impact "Future of AI" design. Recreated to feel like a trending viral product.
Version: 6.0.0
*/

:root {
  --primary: #c4293e; 
  --blue: #0052d9;
  --bg: #ffffff;
  --bg-sub: #fafafa;
  --text: #050b1a;
  --text-dim: #6b778c;
  --border: #eaedf2;
  --shadow-viral: 0 30px 60px rgba(196,41,62,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: 'Inter', -apple-system, sans-serif; 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.w { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }

/* ANIMATIONS */
@keyframes heroReveal { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 5px var(--primary)); } 50% { filter: drop-shadow(0 0 20px var(--primary)); } }

.reveal { animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards; }

/* HEADER */
header { 
  background: rgba(255,255,255,0.8); 
  backdrop-filter: blur(20px); 
  border-bottom: 1px solid var(--border); 
  padding: 20px 0; 
  position: sticky; top: 0; z-index: 1000; 
}
.h-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 900; letter-spacing: -2px; }
.logo span { color: var(--primary); }

nav ul { display: flex; list-style: none; gap: 40px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
nav li { position: relative; }
.dropdown { 
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); 
    background: #fff; min-width: 250px; border: 1px solid var(--border); 
    box-shadow: var(--shadow-viral); border-radius: 12px; padding: 15px 0; 
    display: none; margin-top: 15px; 
}
nav li:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 12px 25px; font-size: 14px; color: var(--text-dim); }
.dropdown a:hover { color: var(--primary); background: #fff5f6; }

/* HYPE HERO */
.hype-hero { padding: 120px 0; text-align: center; overflow: hidden; }
.hype-hero .badge { 
    display: inline-block; padding: 10px 25px; background: #fff5f6; color: var(--primary); 
    border-radius: 50px; font-weight: 900; font-size: 12px; margin-bottom: 30px; 
    letter-spacing: 2px; border: 1px solid rgba(196,41,62,0.1);
}
.hype-hero h1 { 
    font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 900; letter-spacing: -5px; 
    line-height: 0.9; margin-bottom: 30px; 
}
.hype-hero h1 span { 
    background: linear-gradient(135deg, #050b1a 0%, var(--primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hype-hero p { max-width: 800px; margin: 0 auto 50px; font-size: 22px; color: var(--text-dim); line-height: 1.4; font-weight: 500; }

.btn-viral { 
    background: var(--text); color: #fff; padding: 22px 50px; border-radius: 50px; 
    font-size: 18px; font-weight: 900; display: inline-block; transition: 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}
.btn-viral:hover { transform: translateY(-5px) scale(1.05); background: var(--primary); }

/* VIRAL PROOF / LOGOS */
.proof-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.proof-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: #999; margin-bottom: 30px; }
.logo-grid { display: flex; justify-content: center; gap: 60px; filter: grayscale(1); opacity: 0.4; flex-wrap: wrap; }
.logo-grid div { font-weight: 900; font-size: 18px; }

/* FUTURE SECTION */
.future-section { padding: 150px 0; background: var(--bg-sub); }
.hype-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hype-image { 
    background: #fff; border: 1px solid var(--border); padding: 40px; border-radius: 40px;
    box-shadow: var(--shadow-viral); position: relative;
}
.hype-image::after { 
    content: ''; position: absolute; inset: -20px; border: 1px solid var(--primary); 
    border-radius: 50px; opacity: 0.1; z-index: -1;
}

/* CARDS */
.tools-showcase { padding: 100px 0; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.tool-hype-card { 
    background: #fff; border: 1px solid var(--border); padding: 45px; border-radius: 30px; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tool-hype-card:hover { transform: translateY(-15px); border-color: var(--primary); box-shadow: var(--shadow-viral); }

/* FOOTER */
footer { padding: 100px 0; background: var(--text); color: #fff; text-align: center; }

/* GATE OVERLAY */
#signup-gate { 
    position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 10000; 
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.gate-box { 
    width: 100%; max-width: 500px; padding: 60px; background: #fff; border-radius: 40px; 
    box-shadow: 0 50px 100px rgba(0,0,0,0.1); text-align: center; border: 1px solid var(--border);
}
.gate-input { width: 100%; padding: 18px 25px; border: 2px solid var(--border); border-radius: 15px; font-size: 16px; margin-bottom: 20px; outline: none; }
.gate-input:focus { border-color: var(--primary); background: #fff5f6; }

@media (max-width: 900px) {
    .hype-grid, .tools-grid { grid-template-columns: 1fr; }
    .hype-hero h1 { font-size: 4rem; }
}
