/* MindDump Website Styles - Dark theme inspired by app screenshots */

/* Import Materialize CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css');

/* Import Animation Library - Animate.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Root variables matching app color scheme */
:root {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2a2a2a;
    --card-bg: #333333;
    --accent-teal: #4dd0e1;
    --accent-orange: #ff6f00;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #444444;
    --gradient-bg: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --glow-effect: 0 0 20px rgba(77, 208, 225, 0.3);
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background with animated particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(77, 208, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 111, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(77, 208, 225, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

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

/* Navigation */
nav {
    background: rgba(42, 42, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav .brand-logo {
    color: var(--accent-teal) !important;
    font-weight: 500;
    text-shadow: var(--glow-effect);
}

nav ul a {
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
}

nav ul a:hover {
    color: var(--accent-teal) !important;
}

/* Main content container */
.main-container {
    min-height: 100vh;
    padding-top: 80px;
}

/* Hero section */
.hero-section {
    padding: 80px 0;
    text-align: center;
    background: var(--gradient-bg);
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-teal), #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--accent-teal), #26c6da) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 15px 40px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(77, 208, 225, 0.4) !important;
}

.btn-secondary {
    background: linear-gradient(45deg, var(--accent-orange), #ff8f00) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 15px 40px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.btn-secondary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.4) !important;
}

/* Cards */
.card {
    background: var(--card-bg) !important;
    border-radius: 15px !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.card .card-content {
    color: var(--text-primary) !important;
}

.card .card-title {
    color: var(--accent-teal) !important;
    font-weight: 500 !important;
}

/* Screenshots gallery */
.screenshots-gallery {
    padding: 60px 0;
}

.screenshot-container {
    text-align: center;
    margin-bottom: 30px;
}

.screenshot {
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(77, 208, 225, 0.3);
}

/* Features section */
.features-section {
    padding: 80px 0;
    background: rgba(42, 42, 42, 0.5);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
    text-shadow: var(--glow-effect);
}

/* Forms */
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
.input-field textarea:focus {
    border-bottom: 1px solid var(--accent-teal) !important;
    box-shadow: 0 1px 0 0 var(--accent-teal) !important;
}

.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
.input-field textarea:focus + label {
    color: var(--accent-teal) !important;
}

.input-field label {
    color: var(--text-secondary) !important;
}

.input-field input[type=text],
.input-field input[type=email],
.input-field textarea {
    color: var(--text-primary) !important;
    background: var(--card-bg) !important;
    border-radius: 5px !important;
    padding: 10px !important;
    border: 1px solid var(--border-color) !important;
}

/* Select dropdowns */
.input-field select {
    color: var(--text-primary) !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
    padding: 10px !important;
    display: block !important;
}

/* Materialize select styling overrides */
.select-wrapper input.select-dropdown {
    color: var(--text-primary) !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
}

/* Dropdown content */
.dropdown-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.dropdown-content li > a,
.dropdown-content li > span {
    color: var(--text-primary) !important;
    background: transparent !important;
    transition: background-color 0.3s ease !important;
}

.dropdown-content li:hover,
.dropdown-content li.selected {
    background: rgba(77, 208, 225, 0.1) !important;
}

.dropdown-content li > a:hover,
.dropdown-content li > span:hover {
    background: rgba(77, 208, 225, 0.1) !important;
}

/* Helper text styling */
.helper-text {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
}

/* File upload */
.file-field .btn {
    background: var(--accent-teal) !important;
}

.file-field .file-path {
    color: var(--text-primary) !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
}

/* Privacy accept button */
.privacy-accept-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--accent-teal) !important;
    border-radius: 25px !important;
    padding: 15px 40px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    box-shadow: 0 4px 20px rgba(77, 208, 225, 0.4) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Footer */
.page-footer {
    background: var(--secondary-bg) !important;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.page-footer .footer-copyright {
    background: var(--primary-bg) !important;
    border-top: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .screenshot {
        max-width: 200px;
    }
}

@media only screen and (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .screenshot {
        max-width: 150px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(77, 208, 225, 0.6);
    }
}

/* Loading animation */
.loading-dots {
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

/* Success/Error messages */
.success-message {
    background: rgba(76, 175, 80, 0.2) !important;
    border: 1px solid #4caf50 !important;
    color: #4caf50 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
}

.error-message {
    background: rgba(244, 67, 54, 0.2) !important;
    border: 1px solid #f44336 !important;
    color: #f44336 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #26c6da;
}