:root{
  --accent:#0ea5e9;
  --accent-hover:#0284c7;
  --accent-light:#0ea5e920;
  
  --success:#10b981;
  --success-light:#10b98120;
  --warning:#f59e0b;
  --warning-light:#f59e0b20;
  --error:#ef4444;
  --error-light:#ef444420;
  
  --bg:#f8fafc;
  --bg-light:#ffffff;
  --bg-dark:#f1f5f9;
  
  --text:#1e293b;
  --text-muted:#64748b;
  --text-light:#94a3b8;
  
  --border:#e2e8f0;
  --border-light:#cbd5e1;
  
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -4px rgba(0,0,0,0.1);
  
  --radius-sm:6px;
  --radius:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-xl:20px;
  
  --space-xs:4px;
  --space-sm:8px;
  --space:12px;
  --space-md:16px;
  --space-lg:20px;
  --space-xl:24px;
  --space-2xl:32px;
  --space-3xl:40px;
  --space-4xl:48px;
  
  --transition-fast:0.15s ease;
  --transition:0.3s ease;
  --transition-slow:0.5s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), transparent);
  pointer-events: none;
  z-index: -1;
}

header, footer{
  padding: var(--space-lg) var(--space-2xl);
  background: var(--bg-light);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 0 8px rgba(14, 165, 233, 0.06);
}

footer {
  margin-top: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  border-bottom: none;
  background: rgba(248, 250, 252, 0.95);
}

.brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  transition: transform var(--transition-fast);
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.25);
}

.brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

nav a {
  margin: 0 var(--space-sm);
  text-decoration: none;
  color: var(--text-muted);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  box-shadow: 0 0 4px var(--accent);
}

nav a:hover, nav a.active {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.1);
  border-color: var(--accent);
}

nav a:hover::before, nav a.active::before {
  width: 100%;
}

.actions {
  color: var(--accent);
  font-weight: 600;
}

main {
  flex: 1;
  padding: var(--space-2xl) var(--space-2xl);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: var(--space-xl);
  transition: all var(--transition-slow);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 
    0 0 6px rgba(14, 165, 233, 0.05),
    var(--shadow);
}

.card:hover {
  box-shadow: 
    0 0 10px rgba(14, 165, 233, 0.1),
    0 0 20px rgba(14, 165, 233, 0.05),
    var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.btn {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: white;
  border: none;
  padding: var(--space) var(--space-xl);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-slow);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  box-shadow: 0 0 6px rgba(14, 165, 233, 0.2);
  border: 1px solid transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-hover), #0369a1);
  transform: translateY(-2px);
  box-shadow: 
    0 0 10px rgba(14, 165, 233, 0.3),
    0 0 20px rgba(14, 165, 233, 0.15),
    var(--shadow-md);
  border-color: var(--accent);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 
    0 0 10px rgba(14, 165, 233, 0.3),
    0 0 20px rgba(14, 165, 233, 0.15),
    0 0 0 3px var(--accent-light);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  margin: 0 0 var(--space-lg) 0;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  margin: 0 0 var(--space-md) 0;
  line-height: 1.6;
}

ul, ol {
  margin: 0 0 var(--space-lg) var(--space-xl);
}

li {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

input, textarea, select {
  width: 100%;
  padding: var(--space) var(--space-md);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--bg-light);
  color: var(--text);
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
  transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
  color: var(--text-light);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fadeInUp { animation: fadeInUp var(--transition-slow) ease-out; }
.animate-fadeIn { animation: fadeIn var(--transition) ease-out; }
.animate-slideInLeft { animation: slideInLeft var(--transition) ease-out; }
.animate-slideInRight { animation: slideInRight var(--transition) ease-out; }
.animate-bounce { animation: bounce 1s ease infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-rotate { animation: rotate 2s linear infinite; }

.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap: var(--space-4xl);
  animation:fadeInUp .8s ease both;
  margin-bottom: var(--space-4xl);
}

.hero h1 {
  color: var(--accent);
  font-size: 3rem;
  margin: 0 0 var(--space-lg) 0;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.features {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.feature {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--success));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature h3 {
  margin-bottom: var(--space);
  font-size: 1.25rem;
  color: var(--text);
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
  }
  
  main {
    padding: var(--space-xl) var(--space-lg);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  header, footer {
    padding: var(--space-lg) var(--space-md);
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  nav a { margin: 0; }
  
  main {
    padding: var(--space-lg) var(--space-md);
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
  
  main {
    padding: var(--space-md);
  }
}
