/* CosmicChat Page Specific Styles - Override main styles */

/* Hero Section */
body .hero {
    padding-top: 95px !important;
    padding-bottom: 30px !important;
    background: var(--hero-bg);
    text-align: center;
    min-height: auto !important;
}

.hero h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.introduction {
    padding: 80px 0;
    background: var(--about-bg);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro-text h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.intro-text p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.key-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.intro-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 16px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
}

.chat-preview {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.chat-header span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-available);
    border-radius: 50%;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 85%;
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.message.ai {
    background: var(--accent-bg);
    color: var(--text-primary);
    align-self: flex-start;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--models-bg);
}

.screenshots h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 16px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.screenshot-item {
    transition: all 0.2s ease;
}

.screenshot-item:hover {
    transform: translateY(-4px);
}

.screenshot-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.screenshot-image:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
}

.screenshot-caption {
    padding: 16px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-top: none;
    border-radius: 0 0 20px 20px;
}

.screenshot-caption h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.screenshot-caption p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Demo Video Section */
.demo-video {
    padding: 80px 0;
    background: var(--samples-bg);
}

.demo-video h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
    color: var(--text-primary);
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-placeholder:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-bg) 0%, #f8f9ff 100%);
    position: relative;
}

.video-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.play-button {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 16px;
    transition: all 0.2s ease;
    z-index: 2;
    position: relative;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.video-info {
    z-index: 2;
    position: relative;
}

.video-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.video-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.video-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.video-highlights {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
}

.video-highlights h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.highlight-item svg {
    color: var(--status-available);
    flex-shrink: 0;
}

/* Privacy Section */
.privacy {
    padding: 80px 0;
    background: var(--architecture-bg);
}

.privacy h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.privacy-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.privacy-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.privacy-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.privacy-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--platforms-bg);
}

.features h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Technical Section */
.technical {
    padding: 80px 0;
    background: var(--info-bg);
}

.technical h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.tech-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tech-stats span {
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Coming Soon CTA */
.coming-soon-cta {
    padding: 80px 0;
    background: var(--privacy-bg);
}

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

.cta-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.platform-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.platform-badge svg {
    color: var(--white);
}

.platform-badge span {
    font-weight: 500;
    color: var(--white);
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.follow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Footer Links Override - All on Same Row */
.footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px !important;
        padding-bottom: 20px !important;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .intro-text h2,
    .screenshots h2,
    .demo-video h2,
    .privacy h2,
    .features h2,
    .technical h2 {
        font-size: 24px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .screenshot-image {
        max-width: 260px;
        border-radius: 16px;
    }
    
    .screenshot-image img {
        border-radius: 16px 16px 0 0;
    }
    
    .screenshot-caption {
        border-radius: 0 0 16px 16px;
        padding: 14px 18px;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .privacy-grid,
    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .key-features {
        align-items: center;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .platform-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-stats {
        justify-content: center;
    }
    
    .highlights-grid {
        gap: 10px;
    }
    
    /* Keep footer columns on same row for tablet */
    .footer-links {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .introduction,
    .screenshots,
    .demo-video,
    .privacy,
    .features,
    .technical,
    .coming-soon-cta {
        padding: 60px 0;
    }
    
    .screenshot-image {
        max-width: 220px;
        border-radius: 12px;
    }
    
    .screenshot-image img {
        border-radius: 12px 12px 0 0;
    }
    
    .screenshot-caption {
        padding: 12px 16px;
        border-radius: 0 0 12px 12px;
    }
    
    .screenshot-caption h4 {
        font-size: 14px;
    }
    
    .screenshot-caption p {
        font-size: 12px;
    }
    
    .video-content {
        padding: 24px;
    }
    
    .video-highlights {
        padding: 20px;
    }
    
    .privacy-card,
    .feature-card,
    .tech-card {
        padding: 20px;
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
        padding: 12px;
    }
    
    .chat-preview {
        padding: 12px;
    }
    
    .message {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-icon {
        width: 56px;
        height: 56px;
    }
    
    .play-button {
        width: 56px;
        height: 56px;
    }
    
    /* Stack footer columns vertically on mobile only */
    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* Demo Video Section - Real Video */
.video-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.video-wrapper:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
    background: #000;
}

.video-info {
    padding: 16px 20px;
    text-align: center;
}

.video-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.video-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Responsive video */
@media (max-width: 768px) {
    .video-wrapper video {
        border-radius: 8px 8px 0 0;
    }
    
    .video-info {
        padding: 12px 16px;
    }
    
    .video-info h3 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 12px;
    }
}