/* EditDrip Landing Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: background 0.3s;
  font-weight: 500;
}

.desktop-nav a:hover {
  background: rgba(102, 126, 234, 0.1);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.3s;
}

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

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  min-width: 250px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  z-index: 1001;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #333 !important;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: rgba(102, 126, 234, 0.1);
}

.badge {
  font-size: 0.7rem;
  background: linear-gradient(45deg, #FF6B35, #F7931E);
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#mobile-menu a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s;
}

#mobile-menu a:hover {
  background: #f0f0f0;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .hamburger {
    display: none;
  }
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  background: white;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

section p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1.1rem;
}

/* Button Styles */
.ar-button, .affiliate-button, .login-button {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  margin: 0.5rem;
}

.ar-button:hover, .affiliate-button:hover, .login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.ar-button.secondary {
  background: linear-gradient(45deg, #2196F3, #21CBF3);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.ar-button.secondary:hover {
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.ar-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ar-description {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Snapcode Preview */
.snapcode-preview {
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.snapcode-preview h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.snapcode-preview iframe {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.snapcode-preview iframe:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .snapcode-preview iframe {
    width: 280px;
    height: 420px;
  }
}

/* Store Section */
#store {
  min-height: 400px;
}

#my-store-121211059 {
  margin-top: 1rem;
}

/* Wallet Section */
#wallet iframe {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.token-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.token-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.token-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.token-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.token-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.token-stat .label {
  font-weight: 500;
  opacity: 0.9;
}

.token-stat .value {
  font-weight: 600;
}

.contract-address {
  font-family: monospace;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
}

.wallet-connect {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.wallet-connect h4 {
  margin-bottom: 1rem;
  color: #333;
}

.connect-wallet-btn {
  background: linear-gradient(45deg, #FF6B35, #F7931E);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 1rem;
}

.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.wallet-note {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.add-token-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.add-token-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.earnings-section {
  margin-top: 2rem;
}

.earnings-section h3 {
  margin-bottom: 1rem;
  color: #333;
}

/* Mobile Bottom Menu */
#mobile-bottom-menu-static {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

#static-menu-content a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

#static-menu-content a:hover {
  transform: translateY(-1px);
}

/* Add bottom padding to prevent content being hidden behind menu */
body {
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
  
  #mobile-bottom-menu-static {
    display: none;
  }
}

/* Studio Features */
.studio-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.studio-tool {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.studio-tool h4 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.1rem;
}

/* AI Chat Preview */
.ai-chat-preview {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.chat-bubble {
  padding: 0.8rem 1.2rem;
  border-radius: 18px;
  margin-bottom: 0.8rem;
  max-width: 80%;
}

.chat-bubble.ai {
  background: #667eea;
  color: white;
  margin-left: auto;
}

.chat-bubble.user {
  background: #e9ecef;
  color: #333;
  margin-right: auto;
}

.ai-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.ai-feature {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Affiliate Stats */
.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-card h4 {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 0.5rem;
}

/* Earnings Grid */
.earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.earning-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.earning-card h4 {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.earning-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.earning-change {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Snap Features */
.snap-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}

.snap-feature {
  background: linear-gradient(45deg, #2196F3, #21CBF3);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Rewards Tiers */
.rewards-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tier-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
}

.tier-card.bronze {
  border-top: 4px solid #cd7f32;
}

.tier-card.silver {
  border-top: 4px solid #c0c0c0;
}

.tier-card.gold {
  border-top: 4px solid #ffd700;
}

.tier-card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.tier-card ul {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
}

.tier-card li {
  padding: 0.3rem 0;
  color: #666;
}

.tier-card li:before {
  content: "✓ ";
  color: #22c55e;
  font-weight: bold;
}

@media (max-width: 768px) {
  .token-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .studio-features {
    grid-template-columns: 1fr;
  }
  
  .affiliate-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .earnings-grid {
    grid-template-columns: 1fr;
  }
  
  .rewards-tiers {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

footer p {
  margin: 0.5rem 0;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  
  #mobile-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 2rem;
  }
  
  #mobile-menu a {
    color: #333;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  main {
    padding: 1rem;
  }
  
  section {
    padding: 1.5rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
}