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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-text {
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-header {
    display: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 1rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.capabilities-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.capability-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.capability-icon {
    font-size: 1.2rem;
}

.hero-content {
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-demo {
    width: 100%;
    max-width: 400px;
}

.demo-window {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.demo-header {
    background: #f3f4f6;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.demo-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.demo-title {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #10b981;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-content {
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.demo-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

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

.demo-message.user .message-avatar {
    background: #3b82f6;
}

.demo-message.ai .message-avatar {
    background: #10b981;
}

.message-text {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #374151;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 250px;
}

.demo-message.user .message-text {
    background: #3b82f6;
    color: white;
    margin-left: auto;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    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); }
}

.demo-input {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.demo-input-field {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.demo-placeholder {
    flex: 1;
    color: #9ca3af;
    font-size: 0.85rem;
}

.demo-send-btn {
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Container-Width Chat Section */
.chat-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 80vh;
    border-bottom: 1px solid #e2e8f0;
}

.chat-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: auto;
    display: flex;
    flex-direction: column;
}

.chat-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 80vh;
    min-height: 600px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
}

.chat-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.chat-status {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.storage-status {
    font-size: 0.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.storage-status.show {
    opacity: 1;
}

.storage-status.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.chat-header-actions {
    display: flex;
    gap: 0.5rem;
}

.header-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Chat Settings */
.chat-settings {
    background: #f9fafb;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.chat-settings:not(.collapsed) {
    max-height: 100px;
    padding: 1rem 1.5rem;
    overflow: visible;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    position: relative;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.setting-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.setting-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    z-index: 1001;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.setting-range {
    flex: 1;
}

.range-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #667eea;
    min-width: 2rem;
    text-align: center;
}

.setting-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.setting-btn:hover {
    background: #e5e7eb;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    background: white;
}

.form-range {
    width: 100%;
    margin: 0.25rem 0;
}

.range-value {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.875rem;
}

.settings-actions {
    display: flex;
    gap: 0.5rem;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.welcome-message,
.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user-message {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.ai-message,
.user-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: none;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    flex-shrink: 0;
}

.avatar-bg {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-message .avatar-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-bubble {
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    font-size: 0.95rem;
    display: inline-block;
    max-width: 70%;
    min-width: fit-content;
}

.ai-message .message-bubble {
    background: #f7f7f8;
    color: #374151;
    border-bottom-left-radius: 4px;
    border: 1px solid #e5e7eb;
}

.user-message .message-bubble {
    background: #667eea;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-bubble p {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

.message-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.user-message .message-time {
    text-align: right;
}



.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

/* Typing Indicator */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #f7f7f8;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
    min-width: 140px;
    max-width: none;
    width: auto;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Quick Suggestions */
.quick-suggestions {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.suggestion-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.suggestion-card:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.suggestion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.suggestion-desc {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Chat Input */
.chat-input-area {
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    flex-shrink: 0;
    box-shadow: 0 -2px 4px -1px rgba(0, 0, 0, 0.1);
}

.input-container {
    padding: 1.5rem 2rem;
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.input-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-size: 1rem;
    line-height: 1.5;
    max-height: 120px;
    min-height: 24px;
    font-family: inherit;
    color: #374151;
}

.chat-input:focus {
    outline: none;
}

.chat-input::placeholder {
    color: #9ca3af;
}

.send-btn {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px -1px rgba(37, 99, 235, 0.3);
}

.send-btn:hover:not(:disabled) {
    background: #5a67d8;
    transform: scale(1.05);
}

.send-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.send-icon {
    color: white;
    width: 18px;
    height: 18px;
}

.loading-spinner {
    width: 18px;
    height: 18px;
}

.spinner-ring {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.input-footer {
    padding: 0.5rem 0 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.input-hint {
    font-size: 0.75rem;
    color: #9ca3af;
}

.storage-hint {
    font-size: 0.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}

.quick-action-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.quick-action-btn:active {
    transform: scale(0.98);
}

/* Message Actions */
.message-actions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chat-message:hover .message-actions {
    opacity: 1;
}

.message-action-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.message-action-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
}

.features-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

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

.features-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-visual {
    flex-shrink: 0;
}

.feature-icon-bg {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-icon {
    width: 32px;
    height: 32px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}



/* Footer */
.footer {
    background: #111827;
    color: #e5e7eb;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4b5563;
}

.legal-section a {
    color: #2563eb;
    text-decoration: none;
}

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

/* Contact Page */
.contact-content {
    padding: 2rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-section,
.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.contact-hours h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-hours ul {
    list-style: none;
    margin-bottom: 1rem;
}

.contact-hours li {
    padding: 0.25rem 0;
    color: #4b5563;
}

.hours-note {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background: #f9fafb;
    padding: 3rem 2rem;
    border-radius: 12px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #4b5563;
    line-height: 1.6;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Hero Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .capabilities-showcase {
        justify-content: center;
        gap: 0.75rem;
    }

    .capability-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .demo-window {
        max-width: 350px;
    }

    .floating-icon {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100vw;
        height: 100vh;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-header {
        position: absolute;
        top: 2rem;
        left: 2rem;
        right: 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1f2937;
        margin: 0;
    }

    .mobile-menu-close {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: #ef4444;
        transform: scale(1.1);
    }

    .close-icon {
        font-size: 1.2rem;
        color: #ef4444;
        font-weight: bold;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        max-width: 300px;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        border-color: #2563eb;
        transform: translateY(-2px);
    }

    .nav-icon {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero {
        padding: 3rem 0 2rem;
        min-height: 50vh;
    }

    .hero-container {
        padding: 0 1rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-examples {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .example-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .chat-wrapper {
        padding: 0 0.5rem;
    }

    .chat-container {
        height: 70vh;
        min-height: 500px;
    }

    .chat-header {
        padding: 0.75rem 1rem;
    }

    .chat-title h3 {
        font-size: 1rem;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .suggestion-card {
        padding: 0.75rem;
    }

    .ai-message,
    .user-message {
        max-width: none;
    }

    .message-bubble {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        max-width: 85%;
    }

    .input-container {
        padding: 0.75rem 1rem;
    }

    .input-wrapper {
        padding: 0.5rem;
    }

    .chat-input {
        font-size: 0.9rem;
    }

    .chat-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .input-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .storage-hint {
        font-size: 0.7rem;
    }

    .features-container {
        padding: 0 1rem;
    }

    .features-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-icon-bg {
        width: 56px;
        height: 56px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
        min-height: 40vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .generator-form,
    .generator-output,
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
    }

    /* Chat Mobile Improvements */
    .chat-wrapper {
        padding: 0 0.25rem;
    }

    .chat-container {
        height: 75vh;
        min-height: 750px;
        border-radius: 12px;
    }

    .chat-header {
        padding: 0.5rem 0.75rem;
    }

    .chat-header-info {
        gap: 0.5rem;
    }

    .chat-avatar {
        width: 32px;
        height: 32px;
    }

    .avatar-icon {
        font-size: 1rem;
    }

    .chat-title h3 {
        font-size: 0.9rem;
    }

    .chat-status {
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }

    .chat-messages {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }

    .message-bubble {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
        max-width: 90%;
        border-radius: 16px;
    }

    .ai-message .message-bubble {
        border-bottom-left-radius: 4px;
    }

    .user-message .message-bubble {
        border-bottom-right-radius: 4px;
    }

    .message-time {
        font-size: 0.7rem;
    }

    .input-container {
        padding: 0.5rem 0.75rem;
    }

    .input-wrapper {
        padding: 0.375rem;
    }

    .chat-input {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .send-btn {
        width: 36px;
        height: 36px;
    }

    .send-icon {
        width: 16px;
        height: 16px;
    }

    .input-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.125rem;
    }

    .input-hint {
        font-size: 0.7rem;
    }

    .storage-hint {
        font-size: 0.65rem;
    }
}

/* About Page Styles */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.about-hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.company-story {
    padding: 5rem 0;
    background: #f8fafc;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #1e293b;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #475569;
}

.story-image-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: #64748b;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.mission-vision {
    padding: 5rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mv-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mv-item:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.mv-description {
    color: #475569;
    line-height: 1.6;
}

.technology-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.tech-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tech-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #1e293b;
}

.tech-description {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

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

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tech-desc {
    color: #475569;
    line-height: 1.6;
}

.team-section {
    padding: 5rem 0;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #1e293b;
}

.team-description {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    color: white;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-role {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Blog Page Styles */
.blog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.featured-post {
    padding: 4rem 0;
    background: #f8fafc;
}

.featured-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #2563eb;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.featured-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder.large {
    height: 400px;
}

.image-placeholder.small {
    height: 120px;
}

/* Gradient variations for different categories */
.image-placeholder.tutorial-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.image-placeholder.privacy-gradient {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.image-placeholder.api-gradient {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tutorial-gradient .placeholder-content,
.privacy-gradient .placeholder-content,
.api-gradient .placeholder-content {
    color: white;
}

/* Image styles for actual images */
.post-img, .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.related-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #1d4ed8;
}

.blog-posts {
    padding: 4rem 0;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.posts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.posts-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.post-image {
    position: relative;
    overflow: hidden;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-category {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.post-date {
    color: #6b7280;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #2563eb;
}

.post-excerpt {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.read-time {
    color: #6b7280;
    font-size: 0.875rem;
}

.read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    white-space: nowrap;
}

.newsletter-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.newsletter-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Blog animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Article Page Styles */
.article-header {
    padding: 6rem 0 3rem;
    background: #f8fafc;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: #374151;
}

.article-meta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-category {
    margin-bottom: 1rem;
}

.category-badge {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
    color: #1e293b;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar .avatar-placeholder {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.article-content {
    padding: 3rem 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.image-caption {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.article-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #1e293b;
}

.article-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: #1e293b;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text ul,
.article-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 2rem;
}

.article-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #2563eb;
    color: #2563eb;
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.bio-avatar .avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.bio-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.bio-title {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.bio-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bio-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.social-link:hover {
    color: #1d4ed8;
}

.related-articles {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.related-grid {
    display: grid;
    gap: 1.5rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-2px);
}

.related-image {
    flex-shrink: 0;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #2563eb;
}

.related-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Tools Introduction Section */
.tools-intro {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tools-intro-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tools-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #1e293b;
    line-height: 1.2;
}

.tools-intro-description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tool-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tool-usage {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.tools-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 500;
}

.tools-cta .btn {
    margin: 0 0.5rem;
}

/* Premium Features Section */
.premium-features-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.premium-features-section > .container {
    position: relative;
    z-index: 1;
}

.premium-features-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.premium-features-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.main-feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.main-feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.main-feature-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.main-feature-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.feature-visualization {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-model-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.ai-model-card:hover {
    transform: translateX(10px);
}

.model-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.model-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.model-strength {
    font-size: 0.875rem;
    opacity: 0.8;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.premium-feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.premium-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.premium-feature-card .feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-highlight {
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    border-left: 3px solid #2563eb;
}

.highlight-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #60a5fa;
}

.features-bottom-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Enhanced Contact Form Styles */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Tools Page Styles */
.tools-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    color: white;
    text-align: center;
}

.tools-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tools-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
}

.tools-hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.quick-start {
    padding: 5rem 0;
    background: #f8fafc;
}

.quick-start-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-description {
    color: #475569;
    line-height: 1.6;
}

.tool-tutorials {
    padding: 5rem 0;
}

.tutorials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tutorial-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #475569;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.tutorial-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tutorial-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tutorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tutorial-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.tutorial-description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tutorial-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.tutorial-list {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tutorial-list li {
    margin-bottom: 0.5rem;
}

.tutorial-examples {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.examples-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.example-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.example-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.example-prompt {
    background: #2563eb;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.example-result {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid #10b981;
}

.tips-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tips-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.tip-description {
    color: #475569;
    line-height: 1.6;
}

.tools-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    /* Tools Introduction Mobile */
    .tools-intro-title {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tools-cta .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }

    /* Premium Features Mobile */
    .premium-features-title {
        font-size: 2rem;
    }

    .main-feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .main-feature-stats {
        justify-content: center;
        gap: 1rem;
    }

    .premium-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .premium-feature-card {
        padding: 1.5rem;
    }

    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    /* Tools Page Mobile */
    .tools-hero-title {
        font-size: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tutorial-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
        text-align: center;
    }

    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tutorial-examples {
        padding: 1.5rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 250px;
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 1.5rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem 1rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Article Enhancement Styles */
.example-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #0ea5e9;
}

.example-box h4 {
    margin: 0 0 0.5rem 0;
    color: #0c4a6e;
    font-size: 1rem;
    font-weight: 600;
}

.example-box p {
    margin: 0.5rem 0;
    color: #0c4a6e;
    line-height: 1.6;
}

.tone-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tone-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
    font-size: 0.95rem;
}

.constraints-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.constraint-item {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.role-examples {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    margin: 1.5rem 0;
}

.role-examples p {
    margin: 0.5rem 0;
    color: #065f46;
    font-style: italic;
}

.iteration-examples {
    background: #fdf4ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #a855f7;
    margin: 1.5rem 0;
}

.iteration-examples p {
    margin: 0 0 1rem 0;
    color: #581c87;
    font-weight: 600;
}

.iteration-examples ul {
    margin: 0;
    color: #581c87;
}

.full-example {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-color: #a855f7;
    border-left-color: #a855f7;
}

.full-example h4 {
    color: #581c87;
}

.full-example p {
    color: #581c87;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .tools-intro-title,
    .premium-features-title,
    .tools-hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-feature-showcase {
        padding: 1.5rem;
    }

    .main-feature-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .tutorial-tabs {
        padding: 0;
    }

    .tab-btn {
        width: 100%;
        margin: 0;
    }

    .tutorial-examples {
        padding: 1rem;
    }

    .example-prompt {
        padding: 0.875rem 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    /* About Page Mobile */
    .about-hero-title {
        font-size: 2rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-title {
        font-size: 2rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-title,
    .team-title {
        font-size: 2rem;
    }

    .tech-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Blog Page Mobile */
    .blog-hero-title {
        font-size: 2rem;
    }

    .featured-article {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .posts-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .posts-title {
        font-size: 2rem;
    }

    .posts-filter {
        width: 100%;
        justify-content: flex-start;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
    }

    /* Article Page Mobile */
    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .article-stats {
        justify-content: center;
    }

    .article-text h2 {
        font-size: 1.5rem;
    }

    .article-text h3 {
        font-size: 1.25rem;
    }

    .article-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .bio-social {
        justify-content: center;
    }

    .related-post {
        flex-direction: column;
    }

    .related-image {
        align-self: center;
    }

    .demo-input-field{
        display: none;
    }
}

@media (max-width: 480px) {
    .about-hero,
    .blog-hero {
        padding: 6rem 0 3rem;
    }

    .about-hero-title,
    .blog-hero-title {
        font-size: 1.75rem;
    }

    .story-title,
    .tech-title,
    .team-title,
    .posts-title {
        font-size: 1.75rem;
    }

    .featured-article {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }


}
