/*
Theme Name: RakenTrade
Theme URI: https://rakentrade.com
Author: Raken Trade
Author URI: https://rakentrade.com
Description: Custom WordPress theme rebuilt from the RakenTrade cryptocurrency trading bot landing page. Dark, glassmorphic design with a purple-to-blue gradient accent. Fully responsive single-page marketing layout with hero, features, how-it-works, pricing, testimonials, disclaimer and footer.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rakentrade
Tags: one-column, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   RakenTrade - Dark glassmorphic crypto trading bot theme
   All content is baked into the WordPress template files.
   ============================================================ */

:root {
	--bg: #0f172a;
	--bg-alt: #0b1120;
	--card: #1e293b;
	--glass: rgba(30, 41, 59, 0.55);
	--border: rgba(255, 255, 255, 0.1);
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.6);
	--faint: rgba(255, 255, 255, 0.35);
	--purple: #8b5cf6;
	--purple-bright: #a855f7;
	--blue: #3b82f6;
	--gradient: linear-gradient(to right, #8b5cf6, #3b82f6);
	--green: #4ade80;
	--red: #f87171;
	--yellow: #facc15;
	--radius: 1rem;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

::selection {
	background: rgba(168, 85, 247, 0.3);
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--purple-bright);
	text-decoration: none;
}

a:hover {
	color: var(--blue);
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: 0 0 0.5rem;
	font-weight: 800;
}

p {
	margin: 0 0 1rem;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, var(--purple), var(--blue));
	border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(to bottom, var(--purple-bright), #60a5fa);
}

/* Buttons */
.btn {
	display: inline-block;
	font-weight: 600;
	border-radius: 0.75rem;
	padding: 0.85rem 2rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	text-align: center;
}
.btn-gradient {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}
.btn-gradient:hover {
	box-shadow: 0 16px 40px rgba(139, 92, 246, 0.5);
	transform: translateY(-2px);
	color: #fff;
}
.btn-outline {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}
.btn-outline:hover {
	border-color: var(--purple-bright);
	background: rgba(139, 92, 246, 0.1);
	color: var(--text);
}
.btn-block {
	display: block;
	width: 100%;
}
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Glass cards */
.glass-card {
	position: relative;
	background: var(--glass);
	border: 1px solid var(--border);
	border-radius: 1rem;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 8px 10px -6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}
.glass-card.glow:hover {
	border-color: rgba(168, 85, 247, 0.5);
}

/* Background blobs + grid */
.bg-decor {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.6;
}
.blob-purple {
	background: var(--purple);
	top: -10%;
	left: -10%;
	width: 40%;
	height: 40%;
}
.blob-blue {
	background: var(--blue);
	bottom: -10%;
	right: -10%;
	width: 40%;
	height: 40%;
}
.grid-overlay {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Header / Nav */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--text);
}
.brand .logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--gradient);
	color: #fff;
	position: relative;
}
.brand .logo-mark svg {
	width: 20px;
	height: 20px;
}
.brand em {
	font-style: normal;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.nav ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav li {
	margin: 0;
	padding: 0;
}
.nav a {
	color: var(--muted);
	font-weight: 500;
	transition: color 0.2s ease;
	padding: 0.25rem 0;
}
.nav a:hover {
	color: var(--text);
}
.nav .btn {
	margin-left: 0.25rem;
}
.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 8px 10px;
	cursor: pointer;
	color: var(--text);
}
.nav-toggle svg {
	width: 22px;
	height: 22px;
}

/* Hero */
.hero {
	position: relative;
	padding: 5.5rem 0 4rem;
	text-align: center;
}
.hero .container {
	position: relative;
	z-index: 1;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(139, 92, 246, 0.3);
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 1.5rem;
}
.hero-badge .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
	animation: pulse 2s infinite;
}
.hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.75rem);
	max-width: 800px;
	margin: 0 auto 1.25rem;
}
.hero h1 .grad-text {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero p.lead {
	max-width: 640px;
	margin: 0 auto 2rem;
	font-size: 1.15rem;
	color: var(--muted);
}

/* Stats */
.stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	max-width: 1000px;
	margin: 3.5rem auto 0;
	padding: 0 1.25rem;
}
.stat {
	text-align: center;
	padding: 1.25rem 0.75rem;
}
.stat .num {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.stat .lbl {
	font-size: 0.85rem;
	color: var(--muted);
	margin-top: 0.25rem;
}

/* Sections */
.section {
	position: relative;
	z-index: 1;
	padding: 5rem 0;
}
.section.alt {
	background: var(--bg-alt);
}
.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 3rem;
}
.section-head h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.section-head p {
	color: var(--muted);
}
.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--purple-bright);
	margin-bottom: 0.75rem;
}

/* Feature grid */
.grid {
	display: grid;
	gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.feature-card {
	padding: 1.75rem;
}
.feature-card .icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient);
	color: #fff;
	margin-bottom: 1rem;
}
.feature-card .icon svg {
	width: 22px;
	height: 22px;
}
.feature-card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}
.feature-card p {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

/* How it works - steps */
.steps {
	position: relative;
}
.step {
	padding: 1.25rem;
	text-align: center;
}
.step .step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	font-weight: 800;
	margin-bottom: 1rem;
}
.step h3 {
	font-size: 1.05rem;
	margin-bottom: 0.4rem;
}
.step p {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0;
}

/* Pricing */
.price-card {
	padding: 2rem;
	display: flex;
	flex-direction: column;
}
.price-card.featured {
	border-color: rgba(168, 85, 247, 0.5);
	box-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
	transform: translateY(-0.75rem);
}
.price-card .plan {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}
.price-card .plan-desc {
	color: var(--muted);
	font-size: 0.9rem;
	margin-bottom: 1.25rem;
}
.price-card .price {
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
}
.price-card .price small {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--muted);
}
.price-card ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1.75rem;
	flex: 1;
}
.price-card ul li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0;
	color: var(--muted);
	font-size: 0.95rem;
}
.price-card ul li .check {
	color: var(--purple-bright);
	font-weight: 800;
}

/* Testimonials */
.testimonial {
	padding: 1.75rem;
}
.testimonial .stars {
	color: var(--yellow);
	margin-bottom: 0.75rem;
	letter-spacing: 2px;
}
.testimonial .quote {
	color: var(--text);
	font-size: 1rem;
	margin-bottom: 1.25rem;
}
.testimonial .person {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.testimonial .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1rem;
	color: #fff;
}
.testimonial .name {
	font-weight: 700;
}
.testimonial .role {
	color: var(--muted);
	font-size: 0.85rem;
}

/* CTA banner */
.cta-banner {
	text-align: center;
	padding: 4.5rem 2rem;
}
.cta-banner h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 0.75rem;
}
.cta-banner p {
	color: var(--muted);
	max-width: 520px;
	margin: 0 auto 2rem;
}

/* Disclaimer */
.disclaimer {
	max-width: 800px;
	margin: 3rem auto 0;
	text-align: center;
	border: 1px solid rgba(248, 113, 113, 0.25);
	background: rgba(248, 113, 113, 0.06);
	padding: 1.75rem;
	border-radius: 1.5rem;
}
.disclaimer p {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0;
}

/* Footer */
.site-footer {
	position: relative;
	z-index: 1;
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	padding: 3rem 0 2rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}
.footer-col h4 {
	font-size: 1rem;
	margin-bottom: 0.75rem;
}
.footer-col a {
	color: var(--muted);
	display: block;
	padding: 0.25rem 0;
	font-size: 0.95rem;
}
.footer-col a:hover {
	color: var(--text);
}
.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
	text-align: center;
	color: var(--faint);
	font-size: 0.85rem;
}
.footer-bottom span {
	opacity: 0.7;
}

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

/* Generic page (About, plain) */
.page-wrap {
	position: relative;
	z-index: 1;
	padding: 4rem 0;
}
.page-wrap h1 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
}
.page-wrap .content {
	max-width: 760px;
	color: var(--muted);
}
.page-wrap .content h2 {
	color: var(--text);
	margin-top: 2rem;
	font-size: 1.4rem;
}

/* 404 */
.error-404 {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 6rem 0;
}
.error-404 .code {
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.error-404 h1 {
	margin: 0.5rem 0 1rem;
}
.error-404 p {
	color: var(--muted);
	margin-bottom: 2rem;
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
	.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-5 { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute;
		top: 100%;
		left: 1.25rem;
		right: 1.25rem;
		background: var(--card);
		border: 1px solid var(--border);
		border-radius: 1rem;
		padding: 1rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		display: none;
	}
	.nav.open { display: flex; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
	.nav a { padding: 0.6rem 0.75rem; border-radius: 0.5rem; }
	.nav a:hover { background: rgba(139, 92, 246, 0.1); }
	.nav .btn { margin: 0.5rem 0 0; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
	.hero { padding: 3.5rem 0 2.5rem; }
	.section { padding: 3.5rem 0; }
	.price-card.featured { transform: none; }
	.footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
	.container { padding-left: 1rem; padding-right: 1rem; }
	.stats { grid-template-columns: 1fr; }
}
