/* Aivora AI Smart Contract Exchange - 90lsy.com */
/* Deep Blue + Orange Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Deep Blue + Orange Color Scheme */
  --primary-bg: #0B1426;
  --secondary-bg: #152238;
  --card-bg: #1A2942;
  --accent-orange: #FF6B35;
  --accent-blue: #2E86DE;
  --accent-light: #FFA07A;
  --text-white: #FFFFFF;
  --text-gray: #B0BEC5;
  --border-color: rgba(255, 107, 53, 0.2);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  background: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

p { margin-bottom: var(--space-3); }

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

/* Layout Container */
.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.brand img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: var(--space-5);
}

.main-nav a {
  color: var(--text-gray);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--accent-orange);
}

.header-actions {
  display: flex;
  gap: var(--space-3);
}

/* Button Styles */
.btn {
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-align: center;
  font-family: var(--font-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Card Components */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.2);
}

.info-box {
  background: rgba(26, 41, 66, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

/* Grid Layouts */
.grid-layout {
  display: grid;
  gap: var(--space-5);
}

.grid-2-col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Spacing Utilities */
.section-padding {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }

/* Text Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-gray); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blog Section */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-5);
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
}

.article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-body {
  padding: var(--space-4);
}

.article-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent-orange);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-heading {
  font-size: 1.375rem;
  margin: var(--space-3) 0;
  color: var(--text-white);
}

.article-info {
  display: flex;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: var(--space-3);
}

.article-summary {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: var(--space-8) 0 var(--space-4);
  margin-top: var(--space-8);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-column h4 {
  color: var(--accent-orange);
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-2);
}

.footer-column ul li a {
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .main-nav {
    display: none;
  }
  
  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
  }
  
  .blog-container {
    grid-template-columns: 1fr;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-orange);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* Article Content Styles */
article {
  max-width: 820px;
  margin: 0 auto;
}

article h2 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

article h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

article p {
  margin-bottom: var(--space-3);
  line-height: 1.8;
}

article ul, article ol {
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
  color: var(--text-gray);
}

article li {
  margin-bottom: var(--space-2);
}

article strong {
  color: var(--accent-orange);
  font-weight: 700;
}

article code {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.875em;
}
