/* ========================================
   SHARED STYLES FOR ALL PAGES
   ======================================== */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #0891B2;
    --background-color: #0f0f1e;
    --text-color: #ffffff;
    --transition: all 0.3s ease;
}

/* CSS Variables */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--dark-bg);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem; /* ADD THIS - Adds space between logo and nav */
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    #padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    background: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.btn-nav.active {
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    position: relative;
    #min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    color: var(--white);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-contract {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 100%;  /* ADD THIS */
    width: fit-content; /* ADD THIS */
}

.contract-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;  /* Slightly smaller font */
    color: var(--secondary-color);
    white-space: nowrap;  /* Prevents wrapping */
    letter-spacing: -0.5px; /* Tighter spacing */
}

.btn-copy {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy:hover {
    background: #3730a3;
}

/* Hero Image/Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.floating-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.floating-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    z-index: 3;
}

.card-2 {
    top: 25%;        /* UP - reduced from 40% to 30% (about 1 inch up) */
    right: 4%;      /* RIGHT - reduced from 15% to 10% (about 1/4 inch right) */
    animation-delay: 2s;
    z-index: 2;
}

.card-3 {
    bottom: 8%;
    left: 5%;
    animation-delay: 4s;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 2rem;
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Tokenomics Preview */
.tokenomics-preview {
    padding: 6rem 0;
    background: var(--white);
}

.tokenomics-grid {
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.token-allocation {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 12px;
}

.allocation-bar {
    width: 100%;
    height: 60px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    transition: width 1s ease-out;
    min-width: 100px;
}

.tokenomics-cta {
    text-align: center;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--light-bg);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-connector {
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: -12px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Quick Links */
.quick-links {
    padding: 6rem 0;
    background: var(--white);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.link-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.link-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.link-card p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-connector {
        width: 3px;
        height: 50px;
        transform: rotate(90deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

.image-zoom {
    transition: transform 0.3s ease; /* Smooth transition */
}

.image-zoom:hover {
    transform: scale(2.5); /* Scale the image to 250% */
}

/* ========================================
   FIX LOGO TEXT WRAPPING
   ======================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px; /* ADD THIS - Ensures enough space */
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Prevents wrapping */
    line-height: 1.3;
}

/* If screen is too small, allow controlled wrapping */
@media (max-width: 1100px) {
    .logo h1 {
        font-size: 1.1rem; /* Slightly smaller */
    }
}

@media (max-width: 992px) {
    .logo h1 {
        font-size: 1rem;
        white-space: normal; /* Allow wrapping on tablets */
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .logo {
        min-width: auto;
    }
    
    .logo h1 {
        font-size: 0.95rem;
        line-height: 1.2;
    }
}

/* ========================================
   FOOTER - COMPLETE STYLING
   ======================================== */

.footer {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(79, 70, 229, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Social Links - CENTERED ICONS */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.2);
    border: 2px solid rgba(79, 70, 229, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.social-links a i {
    line-height: 1;
}

/* Footer Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}