:root {
  --primary-color: #fe4c76;
  --primary-hover: #e03b60;
  --secondary-color: #2b2b2b;
  --background-color: #0f1014;
  --surface-color: #1a1b22;
  --text-primary: #ffffff;
  --text-secondary: #a1a1a6;
  --gradient-1: linear-gradient(135deg, #fe4c76 0%, #ff8960 100%);
  --glass-bg: rgba(26, 27, 34, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

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

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

.btn-download-nav {
  background: var(--gradient-1);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(254, 76, 118, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 76, 118, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
main {
  margin-top: 100px;
  min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn-main {
  display: inline-block;
  background: var(--gradient-1);
  color: #fff !important;
  padding: 16px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(254, 76, 118, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.btn-main:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(254, 76, 118, 0.5);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-color: rgba(254, 76, 118, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Details Pages */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-secondary);
}

.content-section {
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  padding: 50px;
  margin-bottom: 50px;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
}

.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255,255,255,0.08);
}

.btn-submit {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* Download Page specific */
.download-box {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.app-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-1);
  border-radius: 25px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(254, 76, 118, 0.4);
}

.file-info {
  margin: 30px 0;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.file-info p {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 10px;
}
.file-info p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.file-info strong {
  color: var(--text-primary);
}

.timer-text {
  font-size: 1.2rem;
  margin-top: 20px;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--surface-color);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 20px;
  text-align: center;
}

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

.footer-links a {
  color: var(--text-secondary);
}

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

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Admin Dashboard Specific */
.admin-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.admin-panel {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-section {
  margin-bottom: 40px;
}

.admin-section h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.admin-message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.2);
  color: #a5ffa5;
}

.admin-message.error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  color: #ffa5a5;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .content-section {
    padding: 30px 20px;
  }
}
