/*
Theme Name: WAMS App Theme
Theme URI: https://rakami.net
Author: Majed Ghareeb
Author URI: https://rakami.net
Description: A premium, dark-themed WordPress theme with glassmorphism and modern UI elements. Built for the WAMS product website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wams-app-theme
Tags: dark, glassmorphism, modern, premium, landing-page
*/

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #06b6d4;
    --bg-dark: #0f172a;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
}

/* Core Layout & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
}

.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 2rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-glass);
    color: white;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Ambient Background Backgrounds */
.ambient-top::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.ambient-bottom::after {
    content: '';
    position: fixed;
    bottom: -5%;
    right: -5%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Helper Classes */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-dim { color: var(--text-dim); }
.text-cyan { color: var(--secondary); }


/* Hero Styles */
		.hero {
			padding: 8rem 0 4rem;
			text-align: center;
		}

		.badge {
			display: inline-block;
			padding: 0.5rem 1.25rem;
			border-radius: 99px;
			font-size: 0.875rem;
			font-weight: 500;
			color: var(--secondary);
			margin-bottom: 1.5rem;
		}

		h1 {
			font-size: 4rem;
			font-weight: 800;
			line-height: 1.1;
			margin-bottom: 1.5rem;
		}

		.hero p {
			font-size: 1.25rem;
			color: var(--text-dim);
			max-width: 720px;
			margin: 0 auto 2.5rem;
		}

		.cta-group {
			display: flex;
			gap: 1rem;
			justify-content: center;
		}

		/* Grid Styles */
		.section-header {
			text-align: center;
			margin-bottom: 4rem;
		}

		.section-header h2 {
			font-size: 2.5rem;
			font-weight: 700;
			margin-bottom: 1rem;
		}

		.section-subtitle {
			max-width: 600px;
			margin: 0 auto;
		}

		.features-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
			gap: 1.5rem;
			margin-bottom: 8rem;
		}

		.icon-box {
			width: 56px;
			height: 56px;
			background: rgba(79, 70, 229, 0.1);
			border-radius: 16px;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-bottom: 1.5rem;
			color: var(--primary);
			font-size: 1.5rem;
			transition: all 0.3s ease;
		}

		.feature-card:hover .icon-box {
			background: var(--primary);
			color: white;
			transform: scale(1.1) rotate(5deg);
		}

		.feature-card h3 {
			font-size: 1.25rem;
			font-weight: 600;
			margin-bottom: 1rem;
			color: #fff;
		}

		.feature-card p {
			color: var(--text-dim);
			font-size: 0.95rem;
			line-height: 1.6;
		}

		/* Architecture Grid */
		.architecture {
			padding: 6rem 0;
			background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.05), transparent);
		}

		.arch-grid {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 4rem;
			align-items: center;
		}

		.arch-content h2 {
			font-size: 2.5rem;
			font-weight: 700;
			margin-bottom: 1.5rem;
		}

		.arch-list {
			list-style: none;
		}

		.arch-list li {
			position: relative;
			padding-left: 2.5rem;
			margin-bottom: 1.25rem;
			color: var(--text-dim);
			font-size: 1.1rem;
		}

		.arch-list li::before {
			content: '\f058';
			font-family: 'Font Awesome 5 Free';
			font-weight: 900;
			position: absolute;
			left: 0;
			color: #10b981;
		}

		.arch-visual {
			padding: 3rem;
			border-radius: 32px;
		}

		.code-snippet {
			font-family: 'Courier New', Courier, monospace;
			font-size: 1rem;
			line-height: 1.8;
		}

		@media (max-width: 1024px) {
			h1 { font-size: 3rem; }
			.arch-grid { grid-template-columns: 1fr; }
		}

		@media (max-width: 640px) {
			h1 { font-size: 2.5rem; }
			.cta-group { flex-direction: column; }
			.hero { padding: 6rem 0 2rem; }
		}
