/* ==========================================================================
   EasyTrade Domain Sale Theme — Main Stylesheet
   ========================================================================== */

:root {
	color-scheme: light;
	--et-emerald-50: #ecfdf5;
	--et-emerald-100: #d1fae5;
	--et-emerald-400: #34d399;
	--et-emerald-500: #10b981;
	--et-emerald-600: #059669;
	--et-emerald-700: #047857;
	--et-emerald-800: #065f46;
	--et-gray-50: #f9fafb;
	--et-gray-100: #f3f4f6;
	--et-gray-200: #e5e7eb;
	--et-gray-500: #6b7280;
	--et-gray-600: #4b5563;
	--et-gray-800: #1f2937;
	--et-gray-900: #111827;
	--et-white: #ffffff;

	/* Semantic tokens */
	--et-bg: #ffffff;
	--et-bg-alt: #f9fafb;
	--et-bg-card: #ffffff;
	--et-bg-muted: #f3f4f6;
	--et-text: #111827;
	--et-text-muted: #4b5563;
	--et-text-subtle: #6b7280;
	--et-border: #e5e7eb;
	--et-header-bg: #ffffff;
	--et-hero-bg: linear-gradient(135deg, #047857 0%, #059669 45%, #065f46 100%);
	--et-hero-text: #ffffff;
	--et-hero-text-muted: rgba(255, 255, 255, 0.88);
	--et-hero-badge-bg: rgba(255, 255, 255, 0.14);
	--et-hero-badge-border: rgba(255, 255, 255, 0.28);
	--et-hero-badge-text: #ffffff;
	--et-hero-accent: #6ee7b7;
	--et-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	--et-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
	--et-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

	--et-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--et-font-display: 'Space Grotesk', 'Inter', sans-serif;
	--et-radius: 16px;
	--et-radius-lg: 24px;
	--et-radius-xl: 32px;
	--et-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--et-container: 1280px;
	--et-header-height: 76px;
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--et-bg: #0b1120;
		--et-bg-alt: #111827;
		--et-bg-card: #1a2332;
		--et-bg-muted: #1e293b;
		--et-text: #f1f5f9;
		--et-text-muted: #cbd5e1;
		--et-text-subtle: #94a3b8;
		--et-border: rgba(255, 255, 255, 0.1);
		--et-header-bg: rgba(11, 17, 32, 0.95);
		--et-hero-bg: linear-gradient(135deg, #022c22 0%, #065f46 50%, #064e3b 100%);
		--et-hero-text: #f8fafc;
		--et-hero-text-muted: rgba(248, 250, 252, 0.85);
		--et-hero-badge-bg: rgba(255, 255, 255, 0.08);
		--et-hero-badge-border: rgba(255, 255, 255, 0.18);
		--et-hero-badge-text: #d1fae5;
		--et-hero-accent: #34d399;
		--et-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
		--et-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.45);
		--et-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
	}

	.et-form-feedback--success {
		background: rgba(16, 185, 129, 0.15);
		border-color: var(--et-emerald-500);
		color: var(--et-emerald-400);
	}

	.et-form-feedback--error {
		background: rgba(239, 68, 68, 0.15);
		border-color: #f87171;
		color: #fca5a5;
	}

	.et-logo { color: var(--et-emerald-400); }
	.et-logo:hover { color: var(--et-emerald-300, #6ee7b7); }
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--et-header-height) + 16px);
}

body {
	font-family: var(--et-font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--et-text);
	background: var(--et-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--et-emerald-600);
	text-decoration: none;
	transition: color var(--et-transition);
}

a:hover {
	color: var(--et-emerald-700);
}

.et-skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	background: var(--et-emerald-600);
	color: var(--et-white);
	padding: 8px 16px;
	border-radius: 8px;
	z-index: 9999;
	font-weight: 600;
}

.et-skip-link:focus { top: 16px; }

.et-container {
	width: 100%;
	max-width: var(--et-container);
	margin: 0 auto;
	padding: 0 24px;
}

.et-container--narrow { max-width: 760px; }

/* Header */
.et-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--et-header-height);
	background: var(--et-header-bg);
	border-bottom: 1px solid var(--et-border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.et-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.et-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--et-emerald-700);
	text-decoration: none;
}

.et-logo:hover { color: var(--et-emerald-800); }

.et-logo__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--et-emerald-500);
	color: var(--et-white);
	border-radius: 14px;
	font-weight: 700;
	font-size: 20px;
	font-family: var(--et-font-display);
}

.et-logo__text {
	font-family: var(--et-font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.5px;
}

.et-logo__tld { color: var(--et-emerald-600); }

/* Nav */
.et-nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.et-nav__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--et-gray-800);
	border-radius: 2px;
}

.et-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.et-nav__list a {
	color: var(--et-text-muted);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 10px;
	transition: var(--et-transition);
}

.et-nav__list a:hover {
	color: var(--et-emerald-600);
	background: var(--et-bg-muted);
}

.et-nav__cta {
	background: var(--et-emerald-600) !important;
	color: var(--et-white) !important;
	font-weight: 600 !important;
	border-radius: 14px !important;
	padding: 10px 22px !important;
}

.et-nav__cta:hover {
	background: var(--et-emerald-700) !important;
	color: var(--et-white) !important;
}

/* Buttons */
.et-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	font-family: var(--et-font-sans);
	font-size: 16px;
	font-weight: 600;
	border-radius: var(--et-radius-lg);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--et-transition);
	text-decoration: none;
	line-height: 1.4;
}

.et-btn--primary {
	background: var(--et-emerald-600);
	color: var(--et-white);
	border-color: var(--et-emerald-600);
}

.et-btn--primary:hover {
	background: var(--et-emerald-700);
	border-color: var(--et-emerald-700);
	color: var(--et-white);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

.et-btn--white {
	background: var(--et-white);
	color: var(--et-emerald-700);
	border-color: var(--et-white);
}

.et-btn--white:hover {
	background: var(--et-emerald-50);
	color: var(--et-emerald-800);
}

.et-btn--outline-white {
	background: transparent;
	color: var(--et-white);
	border-color: var(--et-white);
}

.et-btn--outline-white:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--et-white);
}

.et-btn--outline {
	background: transparent;
	color: var(--et-emerald-700);
	border-color: var(--et-emerald-600);
}

.et-btn--outline:hover {
	background: var(--et-emerald-50);
	color: var(--et-emerald-800);
	border-color: var(--et-emerald-700);
}

.et-btn--block { width: 100%; }

.et-btn--lg {
	padding: 18px 40px;
	font-size: 17px;
	border-radius: var(--et-radius-xl);
}

/* Hero */
.et-hero {
	position: relative;
	padding: 100px 0 64px;
	overflow: hidden;
	text-align: center;
	background: var(--et-hero-bg);
	color: var(--et-hero-text);
}

.et-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.12) 0%, transparent 50%);
	pointer-events: none;
}

.et-hero__content {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
}

.et-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	background: var(--et-hero-badge-bg);
	border: 1px solid var(--et-hero-badge-border);
	color: var(--et-hero-badge-text);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 28px;
	backdrop-filter: blur(8px);
}

.et-hero__title {
	font-family: var(--et-font-display);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -2px;
	margin-bottom: 24px;
	color: var(--et-hero-text);
}

.et-hero__accent {
	color: var(--et-hero-accent);
}

.et-hero__subtitle {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	font-weight: 400;
	max-width: 680px;
	margin: 0 auto 40px;
	line-height: 1.7;
	color: var(--et-hero-text-muted);
}

.et-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.et-hero .et-btn--primary {
	background: var(--et-white);
	color: var(--et-emerald-800);
	border-color: var(--et-white);
}

.et-hero .et-btn--primary:hover {
	background: var(--et-emerald-50);
	color: var(--et-emerald-900, #064e3b);
	border-color: var(--et-emerald-50);
}

.et-hero .et-btn--outline {
	background: transparent;
	color: var(--et-hero-text);
	border-color: rgba(255, 255, 255, 0.55);
}

.et-hero .et-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--et-hero-text);
	border-color: rgba(255, 255, 255, 0.75);
}

/* Dashboard Preview */
.et-dashboard-wrap {
	margin-top: 0;
	position: relative;
	z-index: 2;
	padding-bottom: 20px;
}

.et-dashboard-card {
	border-radius: var(--et-radius-lg);
	overflow: hidden;
	box-shadow: var(--et-shadow-xl);
	border: 1px solid var(--et-border);
}

/* Sections */
.et-section {
	padding: 80px 0;
}

.et-section--alt { background: var(--et-bg-alt); }

.et-section--pricing {
	background: var(--et-emerald-700);
	color: var(--et-white);
}

.et-section--inquiry { background: var(--et-bg-alt); }

.et-section__header {
	text-align: center;
	margin-bottom: 56px;
}

.et-section__header h2 {
	font-family: var(--et-font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--et-text);
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.et-section__lead {
	font-size: 1.15rem;
	color: var(--et-text-muted);
	max-width: 560px;
	margin: 16px auto 0;
}

.et-section__header--light h2 { color: var(--et-white); }
.et-section__lead--light { color: rgba(255, 255, 255, 0.85); }

/* Valuation Card */
.et-valuation-card {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	background: var(--et-bg-card);
	border-radius: var(--et-radius-lg);
	padding: 48px;
	box-shadow: var(--et-shadow-lg);
	border: 1px solid var(--et-border);
}

.et-valuation-card__icon {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	background: var(--et-emerald-700);
	border-radius: var(--et-radius);
	display: flex;
	align-items: center;
	justify-content: center;
}

.et-valuation-card h2 {
	font-family: var(--et-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--et-text);
	margin-bottom: 12px;
}

.et-valuation-card p {
	color: var(--et-text-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.et-valuation-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--et-emerald-600);
}

.et-valuation-card__link span {
	transition: transform var(--et-transition);
}

.et-valuation-card__link:hover span {
	transform: translate(4px, -4px);
}

/* Features */
.et-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
	margin-bottom: 56px;
}

.et-feature {
	background: var(--et-bg-card);
	border-radius: var(--et-radius-lg);
	padding: 36px 28px;
	box-shadow: var(--et-shadow);
	transition: var(--et-transition);
	border: 1px solid var(--et-border);
}

.et-feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--et-shadow-lg);
}

.et-feature__icon {
	font-size: 40px;
	margin-bottom: 16px;
}

.et-feature h3 {
	font-family: var(--et-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--et-text);
	margin-bottom: 10px;
}

.et-feature p {
	color: var(--et-text-muted);
	font-size: 15px;
	line-height: 1.7;
}

/* Use Cases */
.et-use-cases {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.et-use-card {
	text-align: center;
	padding: 28px 20px;
	background: var(--et-bg-muted);
	border-radius: var(--et-radius);
	border: 1px solid var(--et-border);
}

.et-use-card img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 16px;
}

.et-use-card h4 {
	font-family: var(--et-font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--et-text);
	margin-bottom: 6px;
}

.et-use-card p {
	font-size: 14px;
	color: var(--et-text-subtle);
}

/* Benefits */
.et-benefits {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.et-benefits__content h2 {
	font-family: var(--et-font-display);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: var(--et-text);
	line-height: 1.2;
	margin-bottom: 36px;
	letter-spacing: -0.5px;
}

.et-benefits__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.et-benefits__list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.et-benefits__emoji {
	font-size: 28px;
	flex-shrink: 0;
	line-height: 1;
}

.et-benefits__list strong {
	display: block;
	font-size: 1.05rem;
	color: var(--et-text);
	margin-bottom: 4px;
}

.et-benefits__list p {
	color: var(--et-text-muted);
	font-size: 15px;
	line-height: 1.6;
}

.et-benefits__image {
	border-radius: var(--et-radius-lg);
	overflow: hidden;
	box-shadow: var(--et-shadow-xl);
}

/* Pricing */
.et-pricing {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
	max-width: 880px;
	margin: 0 auto;
}

.et-pricing-card {
	background: var(--et-bg-card);
	color: var(--et-text);
	border-radius: var(--et-radius-lg);
	padding: 40px 36px;
	text-align: center;
	position: relative;
}

.et-pricing-card--featured {
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid var(--et-white);
	color: var(--et-white);
}

.et-pricing-card__badge {
	position: absolute;
	top: -14px;
	right: 24px;
	background: var(--et-emerald-500);
	color: var(--et-white);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 18px;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.et-pricing-card__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--et-emerald-600);
	margin-bottom: 8px;
}

.et-pricing-card--featured .et-pricing-card__label {
	color: rgba(255, 255, 255, 0.8);
}

.et-pricing-card h3 {
	font-family: var(--et-font-display);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.et-pricing-card h3 span {
	font-size: 1.25rem;
	font-weight: 400;
}

.et-pricing-card p {
	color: var(--et-text-muted);
	margin-bottom: 32px;
	line-height: 1.6;
}

.et-pricing-card--featured p {
	color: rgba(255, 255, 255, 0.85);
}

/* FAQ */
.et-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.et-faq__item {
	background: var(--et-bg-card);
	border: 1px solid var(--et-border);
	border-radius: var(--et-radius);
	overflow: hidden;
}

.et-faq__item summary {
	padding: 20px 24px;
	font-weight: 600;
	color: var(--et-text);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
}

.et-faq__item summary::-webkit-details-marker { display: none; }

.et-faq__item summary::after {
	content: '+';
	font-size: 20px;
	color: var(--et-emerald-600);
	font-weight: 400;
}

.et-faq__item[open] summary::after { content: '−'; }

.et-faq__item p {
	padding: 0 24px 20px;
	color: var(--et-text-muted);
	font-size: 15px;
	line-height: 1.7;
}

/* Inquiry Form */
.et-inquiry-card {
	background: var(--et-bg-card);
	border: 1px solid var(--et-border);
	border-radius: var(--et-radius-lg);
	padding: 48px 40px;
	box-shadow: var(--et-shadow);
}

.et-inquiry-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.et-form-row { display: grid; gap: 20px; }
.et-form-row--half { grid-template-columns: 1fr 1fr; }

.et-form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--et-text);
	margin-bottom: 8px;
}

.et-form-group .required { color: var(--et-emerald-600); }

.et-form-group input,
.et-form-group textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: var(--et-font-sans);
	font-size: 15px;
	color: var(--et-text);
	background: var(--et-bg-muted);
	border: 1px solid var(--et-border);
	border-radius: 12px;
	transition: var(--et-transition);
	outline: none;
}

.et-form-group input:focus,
.et-form-group textarea:focus {
	border-color: var(--et-emerald-500);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
	background: var(--et-bg-card);
}

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

.et-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.et-form-actions { margin-top: 8px; }
.et-form-actions .et-btn { width: 100%; }

.et-form-feedback {
	padding: 16px 20px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
}

.et-form-feedback--success {
	background: var(--et-emerald-50);
	border: 1px solid var(--et-emerald-400);
	color: var(--et-emerald-800);
}

.et-form-feedback--error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #b91c1c;
}

/* CTA Bar */
.et-cta-bar {
	background: var(--et-gray-900);
	color: var(--et-white);
	padding: 64px 0;
}

.et-cta-bar__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	text-align: center;
}

.et-cta-bar p {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 300;
}

/* Footer */
.et-footer {
	background: var(--et-bg);
	border-top: 1px solid var(--et-border);
	padding: 48px 0;
	text-align: center;
}

.et-footer__copy {
	font-size: 14px;
	color: var(--et-text-subtle);
}

.et-footer__meta {
	color: var(--et-text-subtle);
	margin-top: 8px;
}

.et-footer__meta a { color: var(--et-emerald-600); }

.et-nav__toggle span { background: var(--et-text); }

/* Animations */
@keyframes et-fade-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.et-hero__content > * {
	animation: et-fade-up 0.6s ease-out both;
}

.et-hero__badge { animation-delay: 0.1s; }
.et-hero__title { animation-delay: 0.2s; }
.et-hero__subtitle { animation-delay: 0.3s; }
.et-hero__actions { animation-delay: 0.4s; }

.et-feature,
.et-use-card {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--et-transition);
}

.et-feature.is-visible,
.et-use-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
	.et-benefits { grid-template-columns: 1fr; gap: 40px; }
	.et-valuation-card { flex-direction: column; padding: 32px; }
}

@media (max-width: 768px) {
	.et-nav__toggle { display: flex; }

	.et-nav__list {
		display: none;
		position: absolute;
		top: var(--et-header-height);
		left: 0;
		right: 0;
		flex-direction: column;
		background: var(--et-header-bg);
		padding: 16px 24px 24px;
		border-bottom: 1px solid var(--et-border);
		box-shadow: var(--et-shadow);
	}

	.et-nav__list.is-open { display: flex; }
	.et-nav__list a { display: block; width: 100%; }

	.et-form-row--half { grid-template-columns: 1fr; }
	.et-hero { padding: 80px 0 60px; }
	.et-inquiry-card { padding: 32px 24px; }
	.et-section { padding: 64px 0; }
}

@media (max-width: 480px) {
	.et-hero__actions { flex-direction: column; align-items: stretch; }
	.et-hero__actions .et-btn { width: 100%; }
}
