/* 
 * Wonderloft AI - Coming Soon Website
 * Custom CSS Styles
 */

/* CSS Variables for consistent theming */
:root {
    /* Color Scheme */
    --primary: #5E35B1;
    --primary-light: #7E57C2;
    --primary-dark: #4527A0;
    --secondary: #00BCD4;
    --secondary-light: #4DD0E1;
    --secondary-dark: #0097A7;
    --accent: #FF9800;
    --accent-light: #FFB74D;
    --background: #263238;
    --background-light: #37474F;
    --text-light: #FFFFFF;
    --text-muted: #ECEFF1;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Container Width */
    --container-width: 1200px;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    margin-top: 0;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 0;
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/BackgroundPattern_800x800.jpg');
    background-repeat: repeat;
    background-size: 800px 800px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

h1 {
    font-size: 2.5rem;
}

.logo h1 {
    font-size: 1.25rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-light);
}

/* Section Styling */
section {
    padding: var(--spacing-lg) 0;
}

/* Header */
header {
    padding: 0.25rem 0;
    position: relative;
    z-index: 10;
    margin-top: 0;
    display: flex; /* Enable Flexbox for header */
    align-items: center; /* Vertically align items in header */
}

.logo {
    display: flex; /* Make logo a flex container */
    justify-content: space-between; /* Space logo and buttons */
    align-items: center; /* Vertically align items */
    width: 100%; /* Ensure logo takes full width */
}

.header-buttons {
    display: flex; /* Enable Flexbox for buttons */
    gap: 1rem; /* Space between buttons */
}

.btn-whitepaper,
.btn-app {
    background-color: rgba(38, 50, 56, 0.8); /* Dark background */
    color: var(--text-light); /* Light text */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md); /* Rounded corners */
    font-family: var(--font-heading); /* Montserrat font */
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast); /* Smooth transition */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.btn-whitepaper:hover,
.btn-app:hover {
    background-color: rgba(38, 50, 56, 1); /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Larger shadow on hover */
}

.btn-whitepaper {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); /* Gradient */
    border: none;
}

.btn-app {
    background-color: var(--background-light);
}

.logo h1 {
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, var(--text-light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0;
}

.logo span {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 0.5rem 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.main-headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--text-light) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}

.subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    color: var(--text-muted);
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Coming Soon Banner */
.coming-soon-banner {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--border-radius-md);
    display: inline-block;
    margin: var(--spacing-md) 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.coming-soon-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 53, 177, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(94, 53, 177, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(94, 53, 177, 0);
    }
}

/* Alice Banner Section */
.tech-box-1 {
    padding: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background-color: rgba(38, 50, 56, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-box-1.--color-magenta {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.2), rgba(0, 0, 0, 0.4));
    border-left: 4px solid var(--primary);
}

.tech-box-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(94, 53, 177, 0.2), transparent 70%);
    pointer-events: none;
}

/* Flex Utilities */
.flex-cc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-sc {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-70 {
    margin-bottom: 70px;
}

/* Text Utilities */
.text-white {
    color: var(--text-light);
}

.text-faded {
    color: var(--text-muted);
}

.fz-18 {
    font-size: 1.125rem;
}

.fz-24 {
    font-size: 1.5rem;
}

.fw-regular {
    font-weight: 400;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-launch {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-launch:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-dark {
    background-color: rgba(38, 50, 56, 0.8);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background-color: rgba(38, 50, 56, 1);
    transform: translateY(-3px);
}

/* Image Styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-styled {
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blend {
    mix-blend-mode: lighten;
}

.alice-image-placeholder {
    width: 100%;
    height: 300px;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alice-image-placeholder::after {
    content: 'A.L.I.C.E. AI';
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (min-width: 992px) {
    .flex-lg-row {
        flex-direction: row;
    }
}

/* About Section */
.about {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(94, 53, 177, 0.1), transparent 70%);
    pointer-events: none;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: rgba(38, 50, 56, 0.6);
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 3/2;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step p {
    font-weight: 600;
    margin-bottom: 0;
}

/* Features Section */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(0, 188, 212, 0.1), transparent 70%);
    pointer-events: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: rgba(38, 50, 56, 0.6);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 256px;
    height: 256px;
    max-width: 100%;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-xs);
}

.feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Wallet Section */
.wallet-section {
    background-color: var(--background-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.wallet-icons {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4/1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wallet-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Social Section */
.social {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

/* Disclaimer Section */
.disclaimer {
    background-color: rgba(38, 50, 56, 0.8);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-md);
}

.disclaimer-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    background-color: rgba(0, 0, 0, 0.2);
}

.disclaimer-content h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.disclaimer-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.twitter-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(38, 50, 56, 0.6);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.twitter-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.twitter-link i {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--background-light);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Placeholder Styling */
.placeholder {
    background: linear-gradient(135deg, var(--background-light), var(--background));
    position: relative;
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
    transform: rotate(30deg);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    .main-headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }
    
    .main-headline {
        font-size: 2.2rem;
    }
    
    .subheadline {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .main-headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1.2rem;
    }
    
    .how-it-works {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --container-width: 100%;
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
    }
    
    .main-headline {
        font-size: 1.8rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
