/* Landing Page Styles for IKAROS */

:root {
    --primary-color: #0050e0;      /* Brand primary blue */
    --primary-dark: #0030a0;       /* Darker blue for hover states */
    --secondary-color: #d4af37;    /* Gold accent color */
    --secondary-light: #f8e8a0;    /* Lighter gold for glows */
    --dark-bg: #0a0e1f;            /* Dark background color */
    --dark-card: #111936;          /* Slightly lighter dark for cards */
    --text-light: #f8f9fa;         /* Light text color */
    --text-secondary: #adb5bd;     /* Secondary lighter text color */
    --glow-color: rgba(212, 175, 55, 0.3); /* Gold glow color */
    --gradient-blue: linear-gradient(135deg, var(--primary-color) 0%, #2e86de 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
}

/* ===================== GLOBAL STYLES ===================== */
.landing-page {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, .hero-title, .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.title-separator {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin-bottom: 1.5rem;
}

.title-separator.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-blue);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 224, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 15px var(--glow-color);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px var(--glow-color);
}

/* Custom cursor */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(0, 80, 224, 0.5);
}

.cursor-outline {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color);
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
}

@media (min-width: 992px) {
    .cursor-dot, .cursor-outline {
        opacity: 1;
    }
    
    a:hover ~ .cursor-outline,
    button:hover ~ .cursor-outline,
    .btn:hover ~ .cursor-outline {
        width: 50px;
        height: 50px;
        border-color: var(--primary-color);
        background-color: rgba(0, 80, 224, 0.1);
    }
}

/* ===================== NAVIGATION ===================== */
.site-header {
    transition: all 0.4s ease;
}

.nav-floating {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.4s ease;
}

.nav-floating.scrolled {
    background-color: rgba(10, 14, 31, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.highlight-link {
    background: var(--gradient-blue);
    border-radius: 30px;
    padding: 0.5rem 1.5rem !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 80, 224, 0.3);
}

.highlight-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 80, 224, 0.5);
}

.highlight-link::after {
    display: none;
}

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.hero-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 80%;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.token-showcase {
    position: relative;
}

.rotating-token {
    animation: float 6s ease-in-out infinite, rotate 20s linear infinite;
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-color) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    opacity: 0.7;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.05); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-arrow {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin: -2px;
    animation: scrollDown 1.5s infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--secondary-color);
    z-index: -1;
    transform: translate(10px, 10px);
}

.greek-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/greek-pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: -2;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================== TOKEN SECTION ===================== */
.token-section {
    background-color: var(--dark-bg);
    position: relative;
}

.token-info {
    padding: 2rem 0;
}

.token-spec {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.token-spec:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.token-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.token-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.token-details h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.token-details p {
    color: var(--text-secondary);
}

.contract-address {
    margin-top: 0.5rem;
}

.distribution-chart {
    width: 100%;
    height: 300px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.legend-text {
    flex-grow: 1;
}

.presale-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.presale-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.presale-header {
    background: var(--gradient-blue);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.presale-header h3 {
    margin-bottom: 0;
    color: white;
}

.presale-body {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
}

.timer-label {
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.countdown-item {
    margin: 0 0.5rem;
    text-align: center;
}

.countdown-value {
    background: var(--dark-card);
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.progress {
    height: 10px;
    background-color: var(--dark-card);
    border-radius: 5px;
    margin: 0.5rem 0;
}

.progress-bar {
    background: var(--gradient-gold);
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.progress-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-percentage, .tokens-sold {
    color: var(--text-light);
    font-weight: 600;
}

/* ===================== ROADMAP SECTION ===================== */
.roadmap-section {
    background-color: var(--dark-card);
    position: relative;
}

.roadmap-timeline {
    position: relative;
    padding: 2rem 0;
}

.roadmap-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(212, 175, 55, 0.6) 50%, 
        rgba(212, 175, 55, 0.1) 100%);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.roadmap-left::before, .roadmap-right::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
}

.roadmap-left::before {
    right: -8px;
    top: 20px;
}

.roadmap-right::before {
    left: -8px;
    top: 20px;
}

.roadmap-left.active::before, .roadmap-right.active::before {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.roadmap-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.roadmap-content:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.roadmap-date {
    display: inline-block;
    background: var(--gradient-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: white;
}

.roadmap-content h4 {
    margin-bottom: 1rem;
}

.roadmap-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.roadmap-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.roadmap-list li::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    left: 0;
    top: 9px;
}

.roadmap-list li.completed {
    color: var(--text-light);
}

.roadmap-list li.completed::before {
    background-color: var(--secondary-color);
}

.roadmap-list li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.roadmap-list li.active::before {
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--glow-color);
}

/* ===================== ECOSYSTEM SECTION ===================== */
.ecosystem-section {
    background-color: var(--dark-bg);
    position: relative;
}

.eco-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.eco-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.eco-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.eco-feature-card:hover::before {
    opacity: 1;
}

.eco-icon {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.eco-icon i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.eco-feature-card:hover .eco-icon {
    background: var(--gradient-blue);
    transform: scale(1.1);
}

.eco-feature-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.eco-feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================== REFERRAL SECTION ===================== */
.referral-section {
    background-color: var(--dark-card);
    position: relative;
}

.referral-graphic {
    max-width: 100%;
    height: auto;
}

.referral-step {
    display: flex;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.referral-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.25rem;
}

.step-content h5 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--secondary-color);
}
