/* VoluFy CSS Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --dark-bg: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Enhanced animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-10px, -10px) rotate(0deg); }
    33% { transform: translate(10px, -20px) rotate(120deg); }
    66% { transform: translate(-20px, 10px) rotate(240deg); }
}

@keyframes particle-float {
    0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10px) translateX(100px); opacity: 0; }
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo::before {
content: none;
}

/* Style the SVG logo */
.logo-img {
    height: 40px; /* Adjust size */
    width: auto;
    display: block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.cta-button {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: hero-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #6366f1 30%, #8b5cf6 70%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 300;
}



.hero .description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.primary-button {
    background: var(--primary-gradient);
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}



/* Live Stats Bar */
.live-stats {
    max-width: 1000px;
    margin: 0 auto 100px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
}

.live-stats::before {
    content: 'LIVE';
    position: absolute;
    top: -10px;
    left: 32px;
    background: linear-gradient(45deg, #10b981, #06d6a0);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    animation: live-blink 2s infinite;
}

@keyframes live-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Code Terminal Section */
.terminal-section {
    max-width: 1400px;
    margin: 120px auto;
    padding: 0 24px;
}

.terminal-container {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #2a2a4e;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.terminal-title {
    color: #8b8b8b;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-content {
    padding: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.prompt {
    color: #6366f1;
    margin-right: 8px;
}

.command {
    color: #10b981;
}

.output {
    color: var(--text-secondary);
    margin-left: 16px;
}

.success {
    color: #10b981;
}

.cursor {
    background: #6366f1;
    width: 8px;
    height: 16px;
    animation: blink 1s infinite;
    margin-left: 4px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Multi-Chain Showcase */
.chains-section {
    max-width: 1400px;
    margin: 120px auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.chain-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.chain-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chain-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.chain-card:hover::before {
    opacity: 1;
}

.chain-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    position: relative;
}

.chain-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.chain-status {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chain-features {
    list-style: none;
    text-align: left;
}

.chain-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chain-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

/* DEX Platforms */
.dex-showcase {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    text-align: center;
}

.dex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.dex-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.dex-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
}

.dex-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

/* Advanced Features Grid */
.features-section {
    max-width: 1400px;
    margin: 120px auto;
    padding: 0 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 6s linear infinite;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.feature-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '→';
    color: #6366f1;
    font-weight: bold;
}

/* Volume Projection Calculator */
.calculator-section {
    max-width: 1400px;
    margin: 120px auto;
    padding: 0 24px;
}

.calculator-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: rotate 12s linear infinite;
    pointer-events: none;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.control-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.chain-selector {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.chain-option {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chain-option:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.chain-option.active {
  border-color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  color: #6366f1;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

/* Remove package grid completely */
.package-grid {
  display: none;
}

/* Updated input field with $ sign */
.input-field {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.input-field[id="tokenPrice"] {
  padding-left: 30px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,0.5)" stroke-width="2"><text x="2" y="18" font-size="16" fill="rgba(255,255,255,0.5)">$</text></svg>');
  background-repeat: no-repeat;
  background-position: 12px center;
}

.input-field:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.input-field::placeholder {
  color: var(--text-muted);
}

/* Enhanced slider container */
.slider-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slider-input {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-input:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary-gradient);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--primary-gradient);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.slider-value {
  margin-top: 8px;
  font-weight: 600;
  color: #6366f1;
  text-align: center;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.result-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 48px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
    line-height: 1.2;
}

.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.launch-button {
    background: var(--primary-gradient);
    border: none;
    border-radius: 16px;
    padding: 20px 32px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.launch-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.launch-button:hover::before {
    left: 100%;
}

.launch-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.launch-button:active {
    transform: translateY(-1px);
}



/* CTA Section */
.cta-section {
    max-width: 1000px;
    margin: 120px auto;
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 32px;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(180deg) scale(1.1); }
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq-section {
    max-width: 1000px;
    margin: 120px auto;
    padding: 0 24px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #6366f1;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #6366f1;
    font-size: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #6366f1;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.social-link img {
  width: 24px;   /* icon size */
  height: 24px;
  object-fit: contain;
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}


/* FAQ Two-Column Layout */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FAQ Group Styles */
.faq-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-group:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-group-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.faq-group-header:hover {
  background: rgba(99, 102, 241, 0.15);
}

.faq-group-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-group-icon {
  transition: transform 0.3s ease;
  color: #6366f1;
  font-size: 18px;
  font-weight: bold;
}

.faq-group.active .faq-group-icon {
  transform: rotate(180deg);
}

.faq-group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-group.active .faq-group-content {
  max-height: 2000px; /* Large enough to accommodate all content */
}

/* Individual FAQ Items within Groups */
.faq-group .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  margin-bottom: 0;
}

.faq-group .faq-item:last-child {
  border-bottom: none;
}

.faq-group .faq-item:hover {
  border-color: transparent;
  background: rgba(99, 102, 241, 0.05);
}

.faq-group .faq-question {
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.faq-group .faq-question:hover {
  color: #6366f1;
}

.faq-group .faq-icon {
  transition: transform 0.3s ease;
  color: #6366f1;
  font-size: 16px;
  opacity: 0.7;
}

.faq-group .faq-item.active .faq-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-group .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-group .faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-group .faq-answer-content {
  padding: 0 24px 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

.faq-group .faq-answer-content strong {
  color: #6366f1;
}

.faq-group .faq-answer-content code {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}


/* Three Column Calculator Layout */
.calculator-three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.calculator-column {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.column-header {
  margin-bottom: 24px;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.column-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Column 1: Blockchain Selection */
.chain-selector-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.chain-selector-vertical .chain-option {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.chain-icon-small {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
}

.chain-selector-vertical .chain-option:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.chain-selector-vertical .chain-option.active {
  border-color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  color: #6366f1;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.chain-selector-vertical .chain-option.active .chain-icon-small {
  background: var(--primary-gradient);
  color: white;
}

/* Column 2: Token Configuration */
.token-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* Token Price Header with inline input */
.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.input-field-inline {
  width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.input-field-inline:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.input-field-inline::placeholder {
  color: var(--text-muted);
}

/* Token Amount Header with inline input */
.amount-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.amount-input-inline {
  width: 80px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.amount-input-inline:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.slider-container .slider-value {
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
  color: #6366f1;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Column 3: Results Display */
.results-display {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  align-items: center;
  text-align: center;
}

.main-result {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 32px 24px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.main-result .result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-value-large {
  font-size: 36px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.result-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.metric-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.launch-button-column {
  background: var(--primary-gradient);
  border: none;
  border-radius: 16px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.launch-button-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.launch-button-column:hover::before {
  left: 100%;
}

.launch-button-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Mobile Responsive - Complete Fix */
@media (max-width: 768px) {
  /* Navigation */
  .nav {
    padding: 0 12px;
    flex-wrap: wrap;
  }
  
  .nav-links {
    display: none;
  }
  
  .cta-button {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Logo */
  .logo {
    font-size: 24px;
  }

  /* Hero Section */
  .hero {
    padding: 100px 12px 60px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .hero .subtitle {
    font-size: 20px;
  }
  
  .hero .description {
    font-size: 16px;
    padding: 0 8px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .primary-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Live Stats */
  .live-stats {
    margin: 0 12px 60px;
    padding: 24px 12px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 12px;
  }

  /* Terminal Section */
  .terminal-section {
    margin: 60px 12px;
  }
  
  .terminal-content {
    padding: 16px;
    font-size: 12px;
  }
  
  .terminal-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .command {
    word-break: break-all;
  }
  
  .output {
    margin-left: 0;
    font-size: 11px;
  }

  /* Chains Section */
  .chains-section {
    margin: 60px 12px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    font-size: 16px;
    padding: 0 8px;
  }
  
  .chains-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .chain-card {
    padding: 32px 20px;
    margin: 0;
  }
  
  .chain-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .chain-name {
    font-size: 20px;
  }
  
  .chain-status {
    font-size: 12px;
  }
  
  .chain-features {
    margin-top: 16px;
  }
  
  .chain-features li {
    font-size: 13px;
    padding: 6px 0;
  }

  /* DEX Showcase */
  .dex-showcase {
    padding: 40px 20px;
    margin: 0;
  }
  
  .dex-showcase h3 {
    font-size: 24px !important;
  }
  
  .dex-showcase p {
    font-size: 14px !important;
    margin-bottom: 24px !important;
    padding: 0 8px;
  }
  
  .dex-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .dex-item {
    padding: 16px 12px;
  }
  
  .dex-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 8px;
  }
  
  .dex-item h4 {
    font-size: 12px;
  }

  /* Features Section */
  .features-section {
    margin: 60px 12px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-card {
    padding: 32px 20px;
    min-width: auto;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  
  .feature-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .feature-description {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .feature-list li {
    font-size: 13px;
    padding: 4px 0;
  }

  /* Calculator Section */
  .calculator-section {
    margin: 60px 12px;
  }
  
  .calculator-container {
    padding: 40px 20px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .control-group {
    gap: 12px;
  }
  
  .control-label {
    font-size: 14px;
  }
  
  .chain-selector {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .chain-option {
    padding: 16px 12px;
    font-size: 14px;
  }
  
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .package-option {
    padding: 12px 8px;
    font-size: 12px;
  }
  
  .input-field {
    padding: 12px;
    font-size: 14px;
  }
  
  .slider {
    height: 6px;
  }
  
  .slider::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
  }
  
  .slider-value {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .result-card {
    padding: 24px 20px;
  }
  
  .result-title {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .result-value {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .result-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .detail-label {
    font-size: 12px;
  }
  
  .detail-value {
    font-size: 16px;
  }
  
  .launch-button {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
  }

  /* FAQ Section */
  .faq-section {
    margin: 60px 12px;
  }
  
  .faq-item {
    margin-bottom: 12px;
  }
  
  .faq-question {
    padding: 20px 12px;
    font-size: 14px;
  }
  
  .faq-icon {
    font-size: 16px;
  }
  
  .faq-answer-content {
    padding: 0 12px 20px;
    font-size: 14px;
  }

  /* CTA Section */
  .cta-section {
    margin: 60px 12px;
    padding: 40px 20px;
  }
  
  .cta-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .cta-section p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .cta-buttons .primary-button {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer {
    padding: 60px 12px 20px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section ul li a {
    font-size: 14px;
  }
  
  .social-links {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  /* Hero adjustments for very small screens */
  .hero h1 {
    font-size: 36px;
  }
  
  .hero .subtitle {
    font-size: 18px;
  }
  
  .hero .description {
    font-size: 14px;
  }

  /* Stats grid to single column on very small screens */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 24px;
  }

  /* Terminal adjustments */
  .terminal-header {
    padding: 12px 16px;
  }
  
  .terminal-title {
    font-size: 12px;
  }
  
  .terminal-content {
    padding: 12px;
    font-size: 11px;
  }

  /* Chain cards full width */
  .chain-card {
    padding: 24px 12px;
  }
  
  .chain-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* DEX grid single column */
  .dex-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .dex-item {
    padding: 16px;
  }

  /* Feature cards */
  .feature-card {
    padding: 24px 12px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  /* Calculator */
  .calculator-container {
    padding: 24px 12px;
  }
  
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .package-option {
    padding: 10px 6px;
    font-size: 11px;
  }
  
  .result-value {
    font-size: 28px;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 8px;
    font-size: 13px;
  }
  
  .faq-answer-content {
    padding: 0 8px 16px;
    font-size: 13px;
  }

  /* CTA Section */
  .cta-section {
    padding: 32px 12px;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .cta-section p {
    font-size: 14px;
  }

  /* Footer single column */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-section p {
    font-size: 14px !important;
  }
}

@media (max-width: 320px) {
  /* Extra small screens */
  .hero h1 {
    font-size: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .chain-card,
  .feature-card {
    padding: 20px 8px;
  }
  
  .calculator-container {
    padding: 20px 8px;
  }
  
  .result-card {
    padding: 20px 8px;
  }
  
  .result-value {
    font-size: 24px;
  }
  
  .cta-section {
    padding: 24px 8px;
  }
  
  .cta-section h2 {
    font-size: 24px;
  }
}

/* Mobile Responsiveness for Three Column Layout */
@media (max-width: 1024px) {
  .calculator-three-column {
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0 2px;
  }
  
  .calculator-column {
    min-height: auto;
    padding: 10px 6px;
  }
  
  .column-header {
    text-align: left;
  }
  
  .chain-selector-vertical {
    flex-direction: row;
    gap: 2px;
  }
  
  .chain-selector-vertical .chain-option {
    flex: 1;
    padding: 10px 2px;
  }
  
  .results-display {
    text-align: left;
  }
}