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

:root {
    --brand-bg: #000000;
    --brand-ink: #ffffff;
    --brand-muted: #bdbdbd;
    --tile-bg: rgba(255, 255, 255, 0.06);
    --tile-border: rgba(255, 255, 255, 0.12);
}

body {
    font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    font-family: 'Livvic', 'Open Sans', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover { color: var(--brand-ink); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-ink);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #000 url('image.jpeg') center right/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-centered { 
    display: grid; 
    grid-template-columns: 1fr; 
    place-items: center; 
    text-align: center; 
    min-height: 100vh; 
}

.hero-centered-content { 
    max-width: 900px; 
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.greeting {
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.title-main {
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.08;
    margin-bottom: 22px;
    font-family: 'Livvic', 'Open Sans', sans-serif;
}

.title-line { display: block; color: #ffffff; }
.title-strong { font-weight: 800; }

.title-sub { 
    display: block; 
    color: #d9d9d9; 
    font-weight: 600; 
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    letter-spacing: 0.06em; 
    text-transform: none; 
    margin-top: 10px; 
}

.hero-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Social Section */
.social-section {
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.social-icon { width: 26px; height: 26px; color: #fff; }

.social-image { width: 26px; height: 26px; object-fit: contain; }

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary { background: #ffffff; color: #000; font-family: 'Livvic', 'Open Sans', sans-serif; }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Robot Visual */
.hero-visual { display: none; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.robot-container {
    position: relative;
    width: 300px;
    height: 400px;
}

.robot-body {
    position: relative;
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

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

.robot-head { display: none; }

.robot-torso { display: none; }

.robot-arms { display: none; }

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

/* Contract Section */
.contract-section {
    padding: 80px 0;
    background: var(--brand-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--brand-ink);
}

.contract-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contract-input {
    display: flex;
    align-items: center;
    background: var(--tile-bg);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--tile-border);
}

.contract-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    outline: none;
}

.copy-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.15);
}

.copy-btn svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.contract-note {
    color: #ccc;
    font-size: 14px;
}

/* DexScreener Section */
.dexscreener-section {
    padding: 80px 0;
    background: var(--brand-bg);
}

.chart-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--tile-border);
    background: var(--tile-bg);
}

.chart-container iframe {
    border-radius: 12px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--brand-bg);
}

.about-content {
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--brand-ink);
}

.about-text p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
}

.token-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.token-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.token-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-5px);
}

.token-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00d4ff;
}

.token-item p {
    color: #ccc;
    font-size: 14px;
}

/* Roadmap Section */
.roadmap {
    display: none; /* removed per request */
}

.roadmap-content {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(10px);
}

.roadmap-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.roadmap-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.roadmap-text ul {
    list-style: none;
}

.roadmap-text li {
    color: #ccc;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.roadmap-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

/* Community Section */
.community {
    padding: 100px 0;
    background: var(--brand-bg);
    text-align: center;
}

.community-content {
    max-width: 600px;
    margin: 0 auto;
}

.community-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
}

.community-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--brand-ink); }

.footer-copyright {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.open {
        display: flex;
        position: absolute;
        top: 60px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        gap: 12px;
        background: rgba(0,0,0,0.92);
        border: 1px solid var(--tile-border);
        border-radius: 12px;
        padding: 12px;
        z-index: 1001;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .token-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roadmap-item {
        flex-direction: column;
        text-align: center;
    }
    
    .roadmap-number {
        min-width: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    /* Ensure hero image crops nicely on tall phones */
    .hero { 
        background-position: 70% center; /* bias to show robot face */
        background-size: cover;
    }
    
    .hero-overlay { 
        background: rgba(0,0,0,0.6); /* slightly stronger for readability */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .token-info {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 1s ease-out;
}

/* Creative About layout */
.creative-about .about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-cards { display: grid; gap: 26px; }
.about-card { padding: 28px 24px; border-radius: 20px; border: 1px solid var(--tile-border); box-shadow: 0 20px 50px rgba(0,0,0,0.45); transform: rotate(0deg); }
.about-card--white { background: #ffffff; color: #000; }
.about-card--glass { background: var(--tile-bg); color: var(--brand-ink); backdrop-filter: blur(8px); }
.rotate-small { transform: rotate(-6deg); }
.rotate-small-rev { transform: rotate(5deg); }
.about-card-title { font-family: 'Livvic','Open Sans',sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: 0.02em; }
.about-card-sub { margin-top: 6px; color: var(--brand-muted); font-weight: 600; }

.about-hero { text-align: left; }
.about-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-ink); opacity: 0.75; margin-bottom: 10px; }
.about-heading { font-family: 'Livvic','Open Sans',sans-serif; font-weight: 900; line-height: 0.95; font-size: clamp(2.5rem, 9vw, 6rem); color: var(--brand-ink); margin-bottom: 16px; }
.about-line { display: block; }
.about-copy { color: #cfcfcf; max-width: 520px; margin-bottom: 24px; }
.about-cta { padding-left: 26px; padding-right: 26px; }

@media (max-width: 992px) {
    .creative-about .about-grid { grid-template-columns: 1fr; }
    .about-hero { text-align: center; }
    .about-copy { margin-left: auto; margin-right: auto; }
}
