.roai-support-newsletter-section {
	padding: 6rem 0 3rem;
	background: #f9fafb;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.roai-support-container {
	max-width: 42rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.roai-newsletter-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.roai-support-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.roai-support-header h2 {
	margin: 0 0 1rem;
	font-size: clamp(2.25rem, 4.2vw, 3rem);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111827;
}

.roai-support-header p {
	margin: 0 auto;
	max-width: 42rem;
	font-size: 1.25rem;
	line-height: 1.45;
	color: #6b7280;
}

@keyframes roai-contact-border {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

.roai-support-glow-border {
	background: linear-gradient(90deg, #06b6d4, #7c3aed, #ec4899, #f59e0b, #f97316, #3b82f6, #06b6d4);
	background-size: 200% 100%;
	animation: roai-contact-border 3s linear infinite;
	border-radius: 1rem;
	padding: 2px;
	box-shadow: 0 0 28px rgba(124, 58, 237, 0.3), 0 0 60px rgba(236, 72, 153, 0.15);
}

.roai-support-glow-inner {
	position: relative;
	background: #fff;
	border-radius: calc(1rem - 2px);
	overflow: hidden;
}

.roai-support-glow-inner textarea {
	width: 100%;
	padding: 1rem 1.25rem 3rem;
	border: none;
	resize: none;
	font: inherit;
	font-size: 1rem;
	line-height: 1.6;
	color: #111827;
}

.roai-support-glow-inner textarea::placeholder {
	color: #9ca3af;
}

.roai-support-glow-inner textarea:focus {
	outline: none;
}

.roai-support-submit {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #7c3aed, #8b5cf6);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roai-support-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* ── 3-dot loading animation ───────────────────────────────────────── */
.roai-btn-dots {
	display: none;
	align-items: center;
	gap: 0.25rem;
	line-height: 0;
}

.roai-btn-dots span {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 9999px;
	background: currentColor;
	animation: roai-dot-bounce 1s ease-in-out infinite;
}

.roai-btn-dots span:nth-child(2) {
	animation-delay: 0.15s;
}

.roai-btn-dots span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes roai-dot-bounce {
	0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
	40%           { transform: translateY(-5px); opacity: 1; }
}

.roai-support-submit.is-loading .roai-btn-label,
.roai-newsletter-form button.is-loading .roai-btn-label,
.roai-newsletter-form button.is-loading .roai-btn-icon {
	display: none;
}

.roai-support-submit.is-loading .roai-btn-dots,
.roai-newsletter-form button.is-loading .roai-btn-dots {
	display: inline-flex;
}

.roai-support-submit:disabled,
.roai-newsletter-form button:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.roai-support-submit .roai-btn-label {
	display: inline-block;
	transform: translateX(0.5px);
}

.roai-support-success {
	text-align: center;
	padding: 0.5rem 0 1rem;
}

.roai-support-success[hidden] {
	display: none;
}

.roai-support-success-icon {
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 2rem;
	font-size: 2rem;
	font-weight: 700;
	color: #16a34a;
	background: #dcfce7;
}

.roai-support-success h3 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4.8vw, 3rem);
	line-height: 1.1;
	font-weight: 700;
	color: #111827;
}

.roai-support-success p {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
	line-height: 1.45;
	color: #6b7280;
}

.roai-support-ticket-number {
	font-weight: 600;
	color: #7c3aed;
}

.roai-support-reset {
	border: none !important;
	background: transparent !important;
	color: #7c3aed !important;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	padding: 0;
	margin-top: 1rem;
	text-decoration: none;
}

.roai-support-reset:hover {
	color: #6d28d9 !important;
	text-decoration: underline;
}

.roai-support-legal {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b7280;
}

.roai-support-legal a {
	color: #7c3aed;
	text-decoration: none;
}

.roai-newsletter-container {
	margin-top: 5rem;
}

.roai-newsletter-card {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	padding: 3rem 2.5rem;
	background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 40%, #9333ea 80%, #a855f7 100%);
	isolation: isolate;
}

.roai-newsletter-blob {
	position: absolute;
	border-radius: 9999px;
	filter: blur(60px);
	pointer-events: none;
	z-index: 0;
}

.roai-newsletter-blob-right {
	top: -60px;
	right: -60px;
	width: 18rem;
	height: 18rem;
	opacity: 0.2;
	background: radial-gradient(circle, #c4b5fd, transparent 70%);
}

.roai-newsletter-blob-left {
	left: -40px;
	bottom: -40px;
	width: 14rem;
	height: 14rem;
	opacity: 0.15;
	background: radial-gradient(circle, #818cf8, transparent 70%);
}

.roai-newsletter-dots {
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background-image: radial-gradient(circle, #fff 1px, transparent 1px);
	background-size: 28px 28px;
	z-index: 0;
}

.roai-newsletter-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.roai-newsletter-copy {
	flex: 1;
}

.roai-newsletter-copy h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
}

.roai-newsletter-copy p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 500;
	color: #e9d5ff;
}

.roai-newsletter-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 28rem;
}

.roai-newsletter-form-wrap {
	width: 100%;
	max-width: 28rem;
}

.roai-newsletter-form input {
	flex: 1;
	border: none;
	border-radius: 9999px;
	padding: 0.875rem 1.25rem;
	font-size: 1rem;
	color: #111827;
}

.roai-newsletter-form input::placeholder {
	color: #9ca3af;
}

.roai-newsletter-form button {
	border: none !important;
	border-radius: 9999px;
	padding: 0.875rem 1.5rem;
	background: #fff !important;
	color: #4c1d95 !important;
	font-size: 1rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
	min-width: 10.5rem;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.roai-newsletter-form button:hover {
	background: #f3e8ff !important;
	transform: translateY(-1px);
}

.roai-newsletter-form button.is-loading {
	background: #fff !important;
	color: #4c1d95 !important;
}

.roai-form-status {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	min-height: 1.35em;
	color: #6b7280;
}

.roai-form-status.is-success {
	color: #166534;
}

.roai-form-status.is-error {
	color: #b91c1c;
}

.roai-newsletter-status {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
}

.roai-newsletter-status.is-success {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.roai-newsletter-status.is-error {
	background: rgba(239, 68, 68, 0.2);
	color: #fee2e2;
}

@media (max-width: 767px) {
	.roai-support-newsletter-section {
		padding: 5rem 0 2.5rem;
	}

	.roai-newsletter-card {
		padding: 2rem 1.5rem;
	}

	.roai-newsletter-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.roai-newsletter-form {
		max-width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.roai-newsletter-form button {
		justify-content: center;
	}
}
