/* Main CSS for Xotic AI */

/* ===== Base Styles ===== */
:root {
    --primary-color: #e11d48;
    --secondary-color: #f43f5e;
    --dark-bg: #000000;
    --dark-bg-secondary: #111111;
    --text-color: #ffffff;
    --text-color-secondary: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --card-bg: rgba(20, 20, 20, 0.7);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

/* ===== Navigation Styles ===== */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.logo-review {
    color: var(--text-color-secondary);
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.8;
}

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

.nav-link {
    color: var(--text-color-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 15px;
}

.secondary-nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-nav-btn:hover {
    background-color: var(--dark-bg-secondary);
}

.primary-nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--gradient);
    border: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    gap: 12px;
}

.mobile-logo {
    font-size: 1.25rem;
    font-weight: bold;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.login-btn {
    padding: 6px 12px;
    background: var(--gradient);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.3);
}

.menu-btn {
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    padding: 0;
    border: none;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.mobile-menu.active {
    display: block;
    max-height: 500px;
    opacity: 1;
    padding: 16px 0;
}

.mobile-menu-content {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(225, 29, 72, 0.2);
    padding: 8px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    color: #d1d5db;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-menu-item:hover {
    background-color: rgba(225, 29, 72, 0.2);
    color: var(--primary-color);
}

.mobile-menu-item i {
    margin-right: 12px;
}

.join-btn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.join-btn:hover {
    opacity: 0.9;
}

/* ===== Main Content Styles ===== */
.main-content {
    padding-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-color-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-btn {
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
}

.primary-btn.large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.secondary-btn {
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.companion-image {
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(225, 29, 72, 0.3);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-color-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Review Site Badge */
.review-site-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.review-site-badge i {
    font-size: 1rem;
}

/* Editor's Choice Section */
.editors-choice {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(225, 29, 72, 0.1) 0%, transparent 100%);
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.review-badge i {
    font-size: 1.1rem;
}

.recommendation-box {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.recommendation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-score {
    margin-left: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fbbf24;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.verified-badge i {
    font-size: 1rem;
}

.recommendation-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.recommendation-description {
    color: var(--text-color-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.recommendation-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.rec-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.rec-feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(225, 29, 72, 0.8);
    }
}

.rec-note {
    margin-top: 12px;
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(225, 29, 72, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-color-secondary);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: var(--gradient);
    color: white;
    font-weight: 600;
}

.pricing-table tr:hover {
    background-color: rgba(225, 29, 72, 0.1);
}

.pricing-table td {
    color: var(--text-color-secondary);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

.content-section h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--primary-color);
}

.content-section p {
    color: var(--text-color-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    margin: 24px 0;
}

.content-section ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-color-secondary);
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Review Cards */
.review-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.review-card:hover {
    border-color: rgba(225, 29, 72, 0.3);
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.pros, .cons {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.pros h4 {
    color: #22c55e;
    margin-bottom: 16px;
}

.cons h4 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 16px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 16px;
}

.faq-answer p {
    color: var(--text-color-secondary);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-color-secondary);
    margin-bottom: 32px;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-color-secondary);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--text-color-secondary);
    margin-top: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 8px;
}

.footer-links-column ul li a {
    color: var(--text-color-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
}

.footer-links-column ul li a.active {
    color: var(--primary-color);
}

.footer-disclaimer {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: var(--text-color-secondary);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
}

.footer-disclaimer i {
    margin-right: 6px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-color-secondary);
}

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

.footer-legal a {
    color: var(--text-color-secondary);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Table of Contents */
.toc {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 24px 32px;
    margin: 32px 0;
    border: 1px solid var(--border-color);
}

.toc-title {
    margin-bottom: 16px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc ol {
    list-style: decimal;
    padding-left: 20px;
}

.toc li {
    padding: 8px 0;
}

.toc a {
    color: var(--text-color-secondary);
    transition: color 0.3s ease;
}

.toc a:hover {
    color: var(--primary-color);
}

/* Rating Display */
.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.rating-display .stars {
    color: #fbbf24;
}

.rating-display .score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

/* Content with Image Layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 32px 0;
}

.content-with-image .content-text {
    order: 1;
}

.content-with-image .content-image {
    order: 2;
}

.content-with-image .content-image img,
.section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(225, 29, 72, 0.2);
}

.section-image {
    margin: 32px 0;
    text-align: center;
}

.section-image img {
    max-width: 600px;
}

@media (max-width: 768px) {
    .content-with-image {
        grid-template-columns: 1fr;
    }
    
    .content-with-image .content-image {
        order: 1;
    }
    
    .content-with-image .content-text {
        order: 2;
    }
    
    .section-image img {
        max-width: 100%;
    }
}

/* Key Points Box */
.key-points {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.key-points ul {
    list-style: none;
}

.key-points li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.key-points li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
