/* Page-specific styles (homepage hero, animations, overrides) */

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 2rem 80px; background: linear-gradient(135deg, #335177 0%, #406595 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='0.5' opacity='0.1'%3E%3Cpath d='M0,50 L100,50 M50,0 L50,100 M0,0 L100,100 M100,0 L0,100'/%3E%3C/g%3E%3C/svg%3E"); animation: float 20s linear infinite; }
@keyframes float { 0% { transform: translate(0,0); } 100% { transform: translate(-100px, -100px); } }
.hero-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text { animation: slideInLeft 1s ease; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: #fff; margin-bottom: 1.5rem; line-height: 1.1; }
.hero h1 span { background: linear-gradient(90deg, #FFB020, #F67280); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .subtitle { font-size: 1.3rem; color: rgba(255,255,255,.9); margin-bottom: 2.5rem; font-weight: 400; line-height: 1.6; }
.hero-buttons { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Button overrides in hero to match original look */
.hero .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero .btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.hero .btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(10px); }
.hero .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* Hero visual */
.hero-visual { position: relative; animation: slideInRight 1s ease; }
.dashboard-preview { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); transform: perspective(1000px) rotateY(-10deg); transition: transform .5s ease; }
.dashboard-preview:hover { transform: perspective(1000px) rotateY(0deg) scale(1.02); }
.float-card { position: absolute; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.1); animation: floatCard 3s ease-in-out infinite; }
.float-card-1 { top: 20%; right: -50px; animation-delay: .5s; }
.float-card-2 { bottom: 20%; left: -50px; animation-delay: 1s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Animations */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { margin-top: 2rem; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1.1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; text-align: center; }
  .float-card { display: none; }
}

