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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Adsterra Banner Ads - Responsive */
.ad-banner-container {
    width: 100%;
    padding: 0;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    overflow: hidden;
}

.ad-space {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 4px 0;
}

.ad-space iframe,
.ad-space ins,
.ad-space div {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Top ad banner - directly below header */
#top-ad-banner {
    order: 1;
}

/* Bottom ad banner - above input */
#bottom-ad-banner {
    order: 4;
    margin-top: 8px;
}

/* Ensure main container flex layout */
.main-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Chat area flex layout */
.chat-area {
    order: 2;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Input container below chat */
.input-container {
    order: 3;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    will-change: transform;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.menu-btn:hover {
    background: rgba(255,255,255,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

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

.logo-text p {
    font-size: 12px;
    opacity: 0.9;
}

.sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 200;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.sidebar-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.sidebar-header p {
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu {
    padding: 16px 0;
}

.menu-section {
    margin-bottom: 24px;
}

.menu-section-title {
    padding: 8px 24px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: #f8f9fa;
    border-left-color: #667eea;
}

.menu-item-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.menu-item-text {
    flex: 1;
    font-size: 15px;
}

.menu-item-badge {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 150;
}

.overlay.active {
    display: block;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.ad-banner {
    margin: 20px auto;
    padding: 15px;
    background: transparent;
    border-radius: 12px;
    text-align: center;
    min-height: 50px;
    max-height: 120px;
    max-width: 728px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner iframe,
.ad-banner ins {
    max-height: 100px !important;
}

.ad-label {
    display: none;
}

.ad-banner.loaded .ad-label {
    display: block;
    font-size: 9px;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.chat-area {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.welcome-screen {
    text-align: center;
    padding: 60px 20px;
}

.welcome-screen h1 {
    font-size: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 24px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.welcome-content {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 20px 0 40px 0;
    background: rgba(102, 126, 234, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.why-choose-us {
    margin: 40px 0;
    text-align: left;
}

.why-choose-us h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 0;
}

.benefits-list li {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    color: #555;
}

.how-to-start {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.how-to-start h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
}

.how-to-start p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.welcome-screen h2 {
    font-size: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.welcome-screen p {
    font-size: 18px;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 500;
}

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

.feature-card {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

.message {
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-message .message-avatar {
    background: #f0f0f0;
}

.message-content {
    flex: 1;
    padding: 16px;
    border-radius: 12px;
}

.user-message .message-content {
    background: #f8f9fa;
}

.ai-message .message-content {
    background: white;
    border: 1px solid #e5e7eb;
}

.message-text {
    color: #333;
    line-height: 1.8;
    font-size: 15px;
    word-wrap: break-word;
}

.message-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 20px 0 12px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.message-text h2 {
    font-size: 19px;
    font-weight: 600;
    color: #2563eb;
    margin: 16px 0 10px 0;
}

.message-text h3 {
    font-size: 17px;
    font-weight: 600;
    color: #667eea;
    margin: 14px 0 8px 0;
}

.message-text p {
    margin: 12px 0;
}

.message-text strong,
.message-text b {
    font-weight: 600;
    color: #1a1a1a;
}

.message-text em,
.message-text i {
    font-style: italic;
    color: #374151;
}

.message-text ul,
.message-text ol {
    margin: 12px 0;
    padding-left: 24px;
}

.message-text li {
    margin: 6px 0;
    line-height: 1.6;
}

.message-text ul li {
    list-style-type: disc;
}

.message-text ol li {
    list-style-type: decimal;
}

.message-text code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    color: #e11d48;
}

.message-text pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 12px 0;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.message-text pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.message-text blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 16px;
    margin: 12px 0;
    color: #6b7280;
    font-style: italic;
}

.message-text hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}

.message-text a {
    color: #3b82f6;
    text-decoration: underline;
}

.message-text a:hover {
    color: #2563eb;
}

.message-text table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
}

.message-text th,
.message-text td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    text-align: left;
}

.message-text th {
    background: #f8f9fa;
    font-weight: 600;
}

/* MathJax Styling */
.message-text mjx-container {
    margin: 8px 0 !important;
    display: inline-block !important;
}

.message-text mjx-container[display="true"] {
    display: block !important;
    text-align: center;
    margin: 16px 0 !important;
}

.message-text .MathJax {
    font-size: 1.1em !important;
}

/* Answer Action Buttons */
.answer-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.answer-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.answer-action-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

.answer-action-btn:active {
    transform: scale(0.95);
}

.answer-action-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.answer-action-icon {
    font-size: 16px;
}

.input-container {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: #f8f9fa;
    border-radius: 24px;
    padding: 12px 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-textarea {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    font-size: 16px; /* Optimized for mobile to prevent zoom */
    line-height: 1.5;
    max-height: 200px;
    font-family: inherit;
    pointer-events: auto;
    touch-action: manipulation;
}

.input-textarea:focus {
    pointer-events: auto;
}

.input-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.send-btn:hover {
    transform: scale(1.05);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.stop-btn {
    background: #ef4444;
    color: white;
}

.stop-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.image-preview-small {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
}

.typing-indicator {
    display: inline-block;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.modal-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.modal-close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .welcome-screen h2 {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .logo-text {
        text-align: left;
    }

    .sidebar {
        width: 280px;
        left: -280px;
    }
}

/* Information Pages Styling */
.info-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    min-height: 100vh;
    display: block;
    width: 100%;
}

.info-page-container h1 {
    font-size: 42px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-align: center;
}

.subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.info-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
}

.info-section h3 {
    font-size: 18px;
    color: #333;
    margin-top: 16px;
    margin-bottom: 8px;
}

.info-section p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.info-section ul {
    margin-left: 24px;
    margin-bottom: 1.25rem;
}

.info-section li {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.info-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.info-section a:hover {
    text-decoration: underline;
}

.contact-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    margin-top: 40px;
}

.contact-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid #667eea;
}

.contact-box p {
    margin-bottom: 8px;
}

.contact-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* Contact Methods Grid */
/* Ultra-Premium & Professional Palette */
:root {
    --primary: #4f46e5;       /* Modern Indigo */
    --primary-light: #818cf8;
    --primary-dark: #312e81;
    --secondary: #7c3aed;     /* Stylish Violet */
    --accent: #0ea5e9;        /* Sophisticated Sky Blue */
    --text-main: #0f172a;     /* Deep Slate */
    --text-muted: #64748b;    /* Mid Slate */
    --bg-main: #f8fafc;       /* Clean Light Gray */
    --bg-card: #ffffff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(79, 70, 229, 0.08);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-text p {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

.menu-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.logo-icon {
    font-size: 32px;
    color: white;
}

.hero-section {
    position: relative;
    padding: 100px 20px;
    background: radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    border: 1px solid var(--border);
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    border: none;
    color: white !important;
    font-weight: 600;
}

.cta-button:hover {
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.educational-notice {
    background: rgba(79, 70, 229, 0.03) !important;
    border-color: rgba(79, 70, 229, 0.1) !important;
    color: var(--text-muted);
}

.sidebar {
    border-right: 1px solid var(--border);
    background: var(--white);
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
}

.menu-item {
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: rgba(79, 70, 229, 0.04);
    color: var(--primary);
}

.menu-item.active {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.input-wrapper {
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.user-message .message-content {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.1);
    color: var(--text-main);
}

.ai-message .message-content {
    background: var(--white);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

/* Scrollbar refinement */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    margin: 8px 0;
    transition: all 0.3s;
}

.contact-link:hover {
    background: #667eea;
    color: white;
}

.response-time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Feedback Form */
.feedback-form {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    margin-top: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.feedback-status {
    margin-top: 12px;
    text-align: center;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.step-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1ff 100%);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.step-card h3 {
    margin-top: 16px;
    color: #333;
}

.step-card ul {
    list-style: none;
    margin: 12px 0;
}

.step-card li {
    margin: 8px 0;
    color: #666;
}

/* Tech Features */
.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tech-feature {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.tech-feature h3 {
    margin-bottom: 8px;
    color: #333;
}

.tech-feature p {
    color: #666;
    font-size: 14px;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h3 {
    margin: 0 0 4px 0;
}

.feature-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* FAQ Items */
.faq-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    margin-bottom: 12px;
    color: #333;
}

.faq-item p {
    color: #666;
    margin-bottom: 8px;
}

.faq-item ul {
    margin-left: 24px;
}

/* FAQ Preview */
.faq-preview {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

/* Social Links */
.social-links {
    margin-top: 12px;
}

.social-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Tools Links */
.tools-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.tool-link {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

.cta-link {
    display: inline-block;
    color: white;
    background: #667eea;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
}

.cta-link:hover {
    background: #764ba2;
}

#imageInput {
    display: none;
}