/* 
Theme Name:		 1Percent
Theme URI:		 http://rayflores.com/themes/1percent
Description:	 1Percent is a custom block-based theme built for a trading platform with modern crypto-inspired design.
Author:			 Ray Flores
Author URI:		 http://rayflores.com
Version:		 1.0.0
Text Domain:	 1percent
Requires at least: 6.0
Tested up to:	 6.4
Requires PHP:	 7.4
License:		 GNU General Public License v2 or later
License URI:	 http://www.gnu.org/licenses/gpl-2.0.html
Tags:			 custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, full-site-editing
*/

/*
 * Table of Contents:
 * 1. CSS Reset & Base Styles
 * 2. Typography
 * 3. Layout & Grid
 * 4. Components
 * 5. Utilities
 */

/* ===========================
   1. CSS Reset & Base Styles
   =========================== */

:root {
	--color-primary: #6366f1;
	--color-secondary: #8b5cf6;
	--color-accent: #06b6d4;
	--color-dark: #0f172a;
	--color-light: #f8fafc;
	--color-gray-100: #f1f5f9;
	--color-gray-200: #e2e8f0;
	--color-gray-300: #cbd5e1;
	--color-gray-600: #475569;
	--color-gray-700: #334155;
	--color-gray-800: #1e293b;
	--color-white: #ffffff;
	
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-heading: 'Poppins', 'Inter', sans-serif;
	
	--gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
	--gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
	
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
	
	--transition-base: all 0.3s ease;
	--transition-fast: all 0.15s ease;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-gray-700);
	background-color: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ===========================
   2. Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-dark);
	margin-top: 0;
	margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
	h1 { font-size: 2.5rem; }
	h2 { font-size: 2rem; }
	h3 { font-size: 1.75rem; }
	h4 { font-size: 1.25rem; }
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition-fast);
}

a:hover {
	color: var(--color-secondary);
}

/* ===========================
   3. Layout & Grid
   =========================== */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container-wide {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
}

.section-dark {
	background-color: var(--color-dark);
	color: var(--color-white);
}

.section-gray {
	background-color: var(--color-gray-100);
}

@media (max-width: 768px) {
	.section {
		padding: 60px 0;
	}
}

/* ===========================
   4. Components
   =========================== */

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 32px;
	font-family: var(--font-primary);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: var(--transition-base);
	line-height: 1;
}

.btn-primary {
	background: var(--gradient-primary);
	color: var(--color-white);
	box-shadow: var(--shadow-md);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	color: var(--color-white);
}

.btn-secondary {
	background: transparent;
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-white {
	background: var(--color-white);
	color: var(--color-primary);
}

.btn-white:hover {
	background: var(--color-gray-100);
	color: var(--color-primary);
}

/* Cards */
.card {
	background: var(--color-white);
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--shadow-md);
	transition: var(--transition-base);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-xl);
}

/* ===========================
   5. Utilities
   =========================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.gradient-text {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}