/* css/site.css */
:root {
	--primary-color: #4f46e5;
	--secondary-color: #06b6d4;
	--dark-color: #1e293b;
	--light-color: #f8fafc;
	--text-color: #334155;
	--border-color: #e2e8f0;
}

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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	background: var(--light-color);
}

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

/* Header */
header {
	background: white;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary-color);
}

.logo i {
	font-size: 2rem;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-menu a {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s;
}

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.language-selector {
	position: relative;
}

.lang-btn {
	background: var(--light-color);
	border: 1px solid var(--border-color);
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	transition: all 0.3s;
}

.lang-btn:hover {
	background: white;
	border-color: var(--primary-color);
}

.lang-dropdown {
	position: absolute;
	top: 110%;
	right: 0;
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	min-width: 150px;
	display: none;
	flex-direction: column;
}

.lang-dropdown.active {
	display: flex;
}

.lang-dropdown a {
	padding: 0.75rem 1rem;
	text-decoration: none;
	color: var(--text-color);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: background 0.2s;
}

.lang-dropdown a:hover {
	background: var(--light-color);
}

.lang-dropdown img {
	width: 20px;
	height: 15px;
}

.admin-btn {
	background: var(--primary-color);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.3s;
}

.admin-btn:hover {
	background: #4338ca;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 6rem 0;
	text-align: center;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.hero-subtitle {
	font-size: 1.3rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 1rem 2rem;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary {
	background: white;
	color: var(--primary-color);
}

.btn-secondary {
	background: var(--primary-color);
	color: white;
}

/* Features */
.features-preview {
	padding: 4rem 0;
}

.features-preview h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--dark-color);
}

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

.feature-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	transition: transform 0.3s;
}

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

.feature-card i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.feature-card h3 {
	margin-bottom: 1rem;
	color: var(--dark-color);
}

/* Features List */
.features-list {
	padding: 4rem 0;
}

.features-list h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

.feature-item {
	background: white;
	padding: 2rem;
	margin-bottom: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: flex;
	align-items: start;
	gap: 1.5rem;
}

.feature-item i {
	font-size: 2rem;
	color: var(--primary-color);
	margin-top: 0.5rem;
}

.feature-item h3 {
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

/* Pricing */
.pricing-section {
	padding: 4rem 0;
}

.pricing-section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

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

.pricing-card {
	background: white;
	padding: 2.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	text-align: center;
	transition: transform 0.3s;
	border: 2px solid transparent;
}

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

.pricing-card.featured {
	border-color: var(--primary-color);
	box-shadow: 0 4px 20px rgba(79, 70, 229, 0.2);
}

.pricing-card h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.price {
	font-size: 3rem;
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.price-period {
	color: #64748b;
	margin-bottom: 2rem;
}

.pricing-features {
	list-style: none;
	margin-bottom: 2rem;
	text-align: left;
}

.pricing-features li {
	padding: 0.5rem 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pricing-features i {
	color: #10b981;
}

/* Contact Form */
.contact-section {
	padding: 4rem 0;
}

.contact-section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	padding: 2.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--dark-color);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-family: inherit;
	font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}

.submit-btn {
	width: 100%;
	padding: 1rem;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.submit-btn:hover {
	background: #4338ca;
}

/* Demo Section */
.demo-section {
	padding: 4rem 0;
}

.demo-section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 2rem;
}

.demo-container {
	background: white;
	padding: 3rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	text-align: center;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--border-color);
}

/* Footer */
footer {
	background: var(--dark-color);
	color: white;
	padding: 3rem 0 1rem;
	margin-top: 4rem;
}

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

.footer-section h4 {
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.footer-section ul {
	list-style: none;
}

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

.footer-section a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: white;
}

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

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

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

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: #94a3b8;
}

/* Create Chat Page */
.create-chat-section {
	padding: 4rem 0;
	max-width: 700px;
	margin: 0 auto;
}

.create-chat-section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.section-subtitle {
	text-align: center;
	color: #64748b;
	font-size: 1.1rem;
	margin-bottom: 3rem;
}

.form-container {
	background: white;
	padding: 2.5rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-bottom: 2rem;
}

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

.create-chat-form label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--dark-color);
}

.create-chat-form label i {
	color: var(--primary-color);
}

.create-chat-form input[type="email"],
.create-chat-form input[type="password"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.create-chat-form input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-hint {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #64748b;
}

.form-terms {
	display: flex;
	align-items: start;
	gap: 0.5rem;
	margin: 1.5rem 0;
}

.form-terms input[type="checkbox"] {
	margin-top: 0.25rem;
}

.form-terms label {
	font-size: 0.9rem;
	color: var(--text-color);
	line-height: 1.5;
}

.form-terms a {
	color: var(--primary-color);
	text-decoration: none;
}

.form-terms a:hover {
	text-decoration: underline;
}

.submit-btn i {
	margin-right: 0.5rem;
}

.form-footer {
	text-align: center;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-color);
}

.form-footer a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

.form-footer a:hover {
	text-decoration: underline;
}

/* Alert Messages */
.alert {
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
	display: flex;
	gap: 1rem;
	align-items: start;
}

.alert i {
	font-size: 1.5rem;
	margin-top: 0.25rem;
}

.alert-success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #10b981;
}

.alert-success i {
	color: #10b981;
}

.alert-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #ef4444;
}

.alert-error i {
	color: #ef4444;
}

.alert strong {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.alert p {
	margin: 0;
}

/* Benefits Section */
.benefits-section {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefits-section h3 {
	text-align: center;
	color: var(--dark-color);
	margin-bottom: 1.5rem;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.benefit-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	background: var(--light-color);
	border-radius: 5px;
}

.benefit-item i {
	color: #10b981;
	font-size: 1.2rem;
}

.benefit-item span {
	color: var(--text-color);
	font-size: 0.95rem;
}

.upgrade-notice {
	background: #e0e7ff;
	padding: 1rem;
	border-radius: 5px;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.upgrade-notice i {
	color: var(--primary-color);
	font-size: 1.2rem;
}

.upgrade-notice p {
	margin: 0;
	color: var(--text-color);
}

.upgrade-notice a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
}

.upgrade-notice a:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}

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

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

	.feature-grid,
	.pricing-grid {
		grid-template-columns: 1fr;
	}

	.create-chat-section {
		padding: 2rem 0;
	}

	.form-container {
		padding: 1.5rem;
	}

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