/* Font Face Declaration */
@font-face {
    font-family: 'HandoTrial-Bold';
    src: url('HandoTrial-Bold/HandoTrial-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Just Sans Variable';
    src: url('JustSansVariable.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'HandoTrial-Bold', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 0.7;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

/* Main Page Layout */
.main-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.header-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
}

.title-line.gradient-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotating-text {
    display: inline-block;
    width: 120px;
    text-align: center;
    position: relative;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.rotating-text.fade-out {
    opacity: 0;
}

.rotating-text.fade-in {
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #cccccc;
    line-height: 1.3;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1rem;
}

/* App Interface */
.app-interface {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
}

.app-window {
    background: #1a1a1a;
    border-radius: 12px;
    width: 100%;
    max-width: 1200px;
    height: 543px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* App Header */
.app-header {
    background: #2a2a2a;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-btn:nth-child(1) { background: #ff5f56; }
.control-btn:nth-child(2) { background: #ffbd2e; }
.control-btn:nth-child(3) { background: #27ca3f; }

.app-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: auto;
}

.app-tab {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
}

.admin-btn {
    color: #cccccc;
    font-size: 1rem;
    cursor: pointer;
}

/* App Content */
.app-content {
    display: flex;
    height: calc(100% - 60px);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #1a1a1a;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.add-channel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.add-channel:hover {
    background: rgba(255, 255, 255, 0.05);
}

.add-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.section-title {
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.channel {
    color: #cccccc;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.channel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.channel.active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.user-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
}

.profile-info {
    flex: 1;
}

.profile-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-status {
    color: #10b981;
    font-size: 0.8rem;
}

/* Main Chat */
.main-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    height: 100%;
}

.chat-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    background: none;
}

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.ai-message p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.ai-message ul {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 1.5rem;
}

.ai-message li {
    margin-bottom: 0.25rem;
}

/* Dashboard Preview */
.dashboard-preview {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    margin: 0;
    height: 100%;
    flex: 1;
}

.preview-header {
    margin-bottom: 0;
    display: none;
}

.preview-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-header p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.preview-card .card-icon {
    font-size: 1rem;
}

.preview-card .card-title {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 500;
}

.preview-card .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.preview-card .card-subtitle {
    color: #666;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.preview-card .card-change {
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 500;
}

.dashboard-screenshot {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: none;
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* Message Input */
.message-input {
    background: #2a2a2a;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-left {
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
}

.input-center {
    flex: 1;
    color: #666;
    font-size: 0.9rem;
}

.input-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-model {
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
}

.send-icon {
    color: #666;
    font-size: 1rem;
    cursor: pointer;
}

/* Bottom Text */
.bottom-text {
    text-align: left;
    max-width: 800px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 9.7rem;
}

.bottom-text p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: normal;
    font-family: 'Just Sans Variable', sans-serif;
}

.name-link {
    color: #cccccc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.name-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-page {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .content-container {
        gap: 2rem;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .header-img {
        max-width: 90%;
        height: auto;
    }
    
    .app-interface {
        width: 100%;
        max-width: 100%;
    }
    
    .app-window {
        width: 100%;
        height: 400px;
        border-radius: 8px;
        margin: 0 0.5rem;
    }
    
    .app-header {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .app-title {
        font-size: 0.9rem;
    }
    
    .app-tab {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .admin-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .sidebar {
        display: none;
    }
    
    .chat-content {
        padding: 0.5rem;
    }
    
    .dashboard-screenshot {
        padding: 0.5rem;
    }
    
    .dashboard-img {
        border-radius: 4px;
    }
    
    .bottom-text {
        padding: 0 1rem;
        margin-top: 1.5rem;
        padding-left: 2rem;
    }
    
    .bottom-text p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .main-page {
        padding: 0.5rem;
    }
    
    .content-container {
        gap: 1.5rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0;
    }
    
    .header-img {
        max-width: 95%;
    }
    
    .app-window {
        width: 100%;
        height: 350px;
        border-radius: 6px;
        margin: 0;
    }
    
    .app-header {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .app-title {
        font-size: 0.8rem;
    }
    
    .app-tab {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .admin-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .chat-content {
        padding: 0.3rem;
    }
    
    .dashboard-screenshot {
        padding: 0.3rem;
    }
    
    .bottom-text {
        padding: 0 0.8rem;
        margin-top: 1rem;
        padding-left: 1.5rem;
    }
    
    .bottom-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .name-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .app-window {
        height: 300px;
    }
    
    .bottom-text p {
        font-size: 0.8rem;
    }
    
    .bottom-text {
        padding-left: 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .main-page {
        padding: 0.5rem;
    }
    
    .content-container {
        gap: 1rem;
    }
    
    .hero-content {
        margin-bottom: 1rem;
    }
    
    .app-window {
        height: 250px;
    }
    
    .bottom-text {
        margin-top: 1rem;
    }
} 