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

/* Base Styles */
html {
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100vh;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Animated grid pattern - REMOVED */

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 1px;
}

.header h1 {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.3px;
  position: relative;
  transition: all 0.3s ease;
}

.header h1:hover {
  letter-spacing: 1px;
  color: #2563eb;
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  transform: scale(1.02);
}

/* Navigation */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: #2563eb;
}

/* Main */
main {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  overflow: hidden;
  justify-content: flex-start;
}

/* Sections */
.section {
  overflow: hidden;
}

#about {
  flex-shrink: 0;
}

#ventures {
  flex-shrink: 0;
}

#contact {
  flex-shrink: 0;
  margin-top: auto;
}

/* Typography */
h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #000;
  letter-spacing: -0.2px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 1px;
  background: #2563eb;
  opacity: 0.6;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #000;
  display: inline;
}

p {
  margin-bottom: 6px;
  color: #404040;
  font-size: 15px;
  line-height: 1.4;
}

.intro {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #1a1a1a;
  font-weight: 400;
  position: relative;
  padding-left: 12px;
}

.intro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #3b82f6);
  border-radius: 2px;
  animation: barGlow 2s ease-in-out infinite;
}

@keyframes barGlow {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
    transform: scaleY(1);
  }
  50% { 
    opacity: 1; 
    box-shadow: 0 0 40px rgba(37, 99, 235, 1);
    transform: scaleY(1.05);
  }
}

#about p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #93c5fd;
  position: relative;
}

a:hover {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
}

a[href*="mailto"] {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 2px 6px;
  border-radius: 4px;
  border-bottom: none;
}

a[href*="mailto"]:hover {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

/* Venture Items */
#ventures {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Scanning line animation - REMOVED */

#ventures h2 {
  margin-bottom: 6px;
}

.ventures-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 0;
  position: relative;
}

/* Background line removed */

.venture-name {
  background: none;
  border: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 2px;
  transition: all 0.2s ease;
  font-size: 16px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  position: relative;
  border-radius: 2px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.venture-name:hover {
  color: #2563eb !important;
  text-decoration-color: #2563eb;
}

/* Removed extra hover effects */

/* Contact Section */
#contact {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

#contact h2 {
  margin-bottom: 5px;
}

#contact p {
  margin-bottom: 4px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-links a {
  font-size: 14px;
  background: rgba(37, 99, 235, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
  border-bottom: none;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.social-links a::after {
  content: '→';
  opacity: 0;
  margin-left: 0;
  transition: all 0.2s ease;
}

.social-links a:hover::after {
  opacity: 1;
  margin-left: 6px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(255, 255, 255, 0.3),
              inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #000;
  display: block;
}

.modal-content .venture-type {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #404040;
  margin-bottom: 20px;
}

.modal-content a {
  font-size: 15px;
  display: inline-block;
  margin-top: 10px;
}

/* Footer */
footer {
  margin-top: 15px;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
  color: #999;
  font-size: 11px;
  text-align: center;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }
  
  .header {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .header h1 {
    font-size: 18px;
  }
  
  .nav {
    gap: 12px;
  }
  
  .nav a {
    font-size: 12px;
  }
  
  h2 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .intro {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .ventures-line {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
  }
  
  .venture-name {
    font-size: 16px !important;
    padding: 8px 4px;
  }
  
  .modal-content {
    padding: 30px;
  }
  
  .modal-content h3 {
    font-size: 22px;
  }
  
  .modal-content p {
    font-size: 14px;
  }
  
  #contact {
    margin-top: 10px;
  }
  
  #contact p {
    font-size: 12px;
  }
  
  .social-links {
    gap: 10px;
  }
  
  .social-links a {
    font-size: 12px;
  }
  
  footer {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 10px;
  }
}
