/*
Theme Name: WPGate
Theme URI: https://wpgate.loc
Author: Alex Kovalev
Author URI: https://akovalev.pro
Description: Тема для сервиса WPGate - продажа лицензий WordPress плагинов и тем
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpgate
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready

Тема для лендинга сервиса WPGate.
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	/* Colors - Blue Theme */
	--color-primary: #0099FF;
	--color-primary-dark: #0077CC;
	--color-primary-light: #33ADFF;
	--color-secondary: #10B981;
	--color-secondary-dark: #059669;

	--color-success: #10B981;
	--color-warning: #f59e0b;
	--color-error: #EF4444;

	--color-text: #1A1A2E;
	--color-text-light: #6B7280;
	--color-text-muted: #9ca3af;
	--color-text-on-dark: rgba(255, 255, 255, 0.8);

	--color-background: #ffffff;
	--color-background-alt: #f9fafb;
	--color-background-dark: #1A1A2E;
	--color-background-hero: #EBF5FF;
	--color-background-cta: #1A1A2E;

	--color-border: #e5e7eb;
	--color-border-light: #f3f4f6;

	/* Typography */
	--font-family-base: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-family-heading: var(--font-family-base);

	/* Fluid Typography */
	--text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
	--text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
	--text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
	--text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
	--text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
	--text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
	--text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
	--text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
	--text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);

	--line-height-tight: 1.25;
	--line-height-base: 1.5;
	--line-height-relaxed: 1.75;

	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;

	/* Spacing */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;

	/* Layout */
	--container-max-width: 1200px;
	--container-padding: 1.5rem;

	/* Border Radius */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.5rem;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 300ms ease;
	--transition-slow: 500ms ease;

	/* Z-index */
	--z-dropdown: 100;
	--z-sticky: 200;
	--z-fixed: 300;
	--z-modal-backdrop: 400;
	--z-modal: 500;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
	:root {
		--color-text: #f9fafb;
		--color-text-light: #d1d5db;
		--color-text-muted: #9ca3af;

		--color-background: #111827;
		--color-background-alt: #1f2937;
		--color-background-dark: #030712;

		--color-border: #374151;
		--color-border-light: #1f2937;
	}
}

/* Force light theme */
[data-theme="light"] {
	--color-text: #1f2937;
	--color-text-light: #6b7280;
	--color-text-muted: #9ca3af;

	--color-background: #ffffff;
	--color-background-alt: #f9fafb;
	--color-background-dark: #111827;

	--color-border: #e5e7eb;
	--color-border-light: #f3f4f6;
}
