/* eUniversity Styles
   Font: Segoe UI (SmartSoft style)
   Colors: #6DBE45 (Green), White, Grey
*/

:root {
    --primary: #6DBE45;
    --primary-dark: #5aa038;
    --primary-light: #8ed468;
    --accent: #4a9c2d;
    --dark: #2d3436;
    --dark-lighter: #3d4448;
    --text: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-green: 0 4px 14px 0 rgba(109, 190, 69, 0.4);
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-size: 16px;
    color: var(--text); 
    line-height: 1.6; 
    background: var(--white); 
    overflow-x: hidden; 
}
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-weight: 600;
    color: var(--dark); 
    line-height: 1.3; 
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
header.scrolled { box-shadow: var(--shadow); }
nav { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { width: 44px; height: 44px; background: var(--gradient-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; box-shadow: var(--shadow-green); }
.logo-text { font-size: 1.5rem; font-weight: 600; color: var(--dark); }
.logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 0.75rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-family: inherit; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-green); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(109, 190, 69, 0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 8rem 2rem 4rem; background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 150%; background: radial-gradient(ellipse at center, rgba(109, 190, 69, 0.08) 0%, transparent 70%); pointer-events: none; }
.hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-content { animation: fadeInUp 0.8s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.hero h1 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.2rem; color: var(--text-light); margin-bottom: 2rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.stat-value { font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 0.25rem; }

/* Hero Visual */
.hero-visual { position: relative; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-image { position: relative; background: var(--gradient-dark); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-xl); }
.window-dots { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.window-dots span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27ca40; }
.dashboard-preview { margin-top: 1.5rem; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 1.5rem; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.dashboard-title { color: white; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.dashboard-title i { color: var(--primary); }
.dashboard-nav { display: flex; gap: 0.5rem; }
.dashboard-nav span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.dashboard-nav span.active { background: var(--primary); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dashboard-card { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 1rem; text-align: center; }
.dashboard-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.dashboard-card-value { font-size: 1.5rem; font-weight: 700; color: white; }
.dashboard-card-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.floating-card { position: absolute; background: white; border-radius: 12px; padding: 1rem; box-shadow: var(--shadow-lg); animation: float 3s ease-in-out infinite; }
.floating-card.card-1 { top: 20%; right: -30px; }
.floating-card.card-2 { bottom: 20%; left: -30px; animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-card i { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 0.5rem; background: rgba(109, 190, 69, 0.1); color: var(--primary); }
.floating-card-title { font-weight: 600; font-size: 0.85rem; color: var(--dark); }
.floating-card-value { font-size: 0.75rem; color: var(--text-light); }

/* Sections */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-label { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(109, 190, 69, 0.1); color: var(--primary); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-light); }

/* Features */
.features { padding: 6rem 2rem; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 2rem; }
.feature-card { background: var(--gray-50); border-radius: 20px; padding: 2rem; transition: var(--transition); border: 1px solid transparent; }
.feature-card:hover { background: var(--white); border-color: var(--gray-200); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; background: var(--gradient-primary); color: white; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Modules */
.modules { padding: 6rem 2rem; background: var(--gray-50); }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.module-item { background: var(--white); border-radius: 16px; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition); border: 1px solid var(--gray-200); }
.module-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.module-item i { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(109, 190, 69, 0.1); color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.module-item span { font-weight: 600; font-size: 0.95rem; color: var(--dark); }

/* Demo */
.demo { padding: 6rem 2rem; background: var(--gradient-dark); position: relative; overflow: hidden; }
.demo::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'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%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"); }
.demo-container { position: relative; z-index: 1; }
.demo .section-header h2 { color: white; }
.demo .section-header p { color: rgba(255,255,255,0.7); }
.demo .section-label { background: rgba(109, 190, 69, 0.2); color: var(--primary-light); }
.demo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; max-width: 800px; margin: 0 auto; }
.demo-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2.5rem 2rem; text-align: center; transition: var(--transition); }
.demo-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.demo-card-icon { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; background: var(--gradient-primary); color: white; }
.demo-card h3 { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.demo-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.demo-card .btn { width: 100%; justify-content: center; }

/* Contact */
.contact { padding: 6rem 2rem; background: var(--white); }
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-light); font-size: 1rem; margin-bottom: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item i { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(109, 190, 69, 0.1); color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.contact-item-content span { display: block; font-size: 0.8rem; color: var(--text-light); }
.contact-item-content a, .contact-item-content p { color: var(--dark); font-weight: 600; text-decoration: none; margin: 0; font-size: 0.95rem; }
.contact-item-content a:hover { color: var(--primary); }
.contact-form { background: var(--gray-50); border-radius: 20px; padding: 2rem; }
.contact-form h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full-width { grid-column: span 2; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.7rem 1rem; border: 2px solid var(--gray-200); border-radius: 8px; font-family: inherit; font-size: 0.95rem; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109, 190, 69, 0.1); }
.form-group textarea { min-height: 80px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; padding: 0.875rem; }

/* Footer */
footer { background: var(--dark); padding: 2.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo .logo-icon { width: 40px; height: 40px; font-size: 1rem; }
.footer-logo .logo-text { color: white; font-size: 1.25rem; }
.footer-text { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-text a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-text a:hover { color: var(--primary); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }

/* Mobile */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark); cursor: pointer; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(45, 52, 54, 0.95); z-index: 2000; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: 600; }
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* Alerts */
.alert { padding: 1rem 1.5rem; border-radius: 10px; margin-bottom: 1.5rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; }
    .hero-description { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .contact-container { grid-template-columns: 1fr; }
    .floating-card { display: none; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 7rem 1.5rem 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
    .stat { text-align: center; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-card:last-child { grid-column: span 2; }
    .features, .modules, .demo, .contact { padding: 4rem 1.5rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .footer-container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    nav { padding: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .contact-form { padding: 1.5rem; }
    .modules-grid { grid-template-columns: 1fr; }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
