/*
Theme Name: SitesBySayyad
Theme URI: https://sitesbysayyad.com
Author: SitesBySayyad
Author URI: https://sitesbysayyad.com
Description: AI-Powered Web Development Agency Theme - A modern, dark theme with glass-morphism effects, built for showcasing digital services and portfolio projects. Compatible with Gutenberg and Beaver Builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sitesbysayyad
Tags: dark-mode, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, one-column, portfolio, theme-options

SitesBySayyad WordPress Theme
Copyright 2025 SitesBySayyad
*/

/* ==========================================================================
   CSS Variables (Brand Colors)
   ========================================================================== */
:root {
    --color-brand-dark: #0f0c29;
    --color-brand-primary: #4A00E0;
    --color-brand-secondary: #8E2DE2;
    --color-brand-accent: #00F0FF;
    --color-brand-surface: #1A1A2E;
    --color-brand-light: #F8F9FA;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-brand-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--color-brand-accent);
    color: var(--color-brand-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: var(--color-brand-dark);
}

/* ==========================================================================
   Glass Effects
   ========================================================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav {
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.neon-glow {
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 0, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 0, 224, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-brand-accent);
}

.btn-rounded {
    border-radius: 9999px;
}

/* ==========================================================================
   Grid System (FIXED)
   ========================================================================== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    .grid-cols-md-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-cols-md-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .grid-cols-md-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .grid-cols-md-5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .grid-cols-lg-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-cols-lg-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .grid-cols-lg-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ==========================================================================
   Flexbox Utilities
   ========================================================================== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* ==========================================================================
   Spacing Utilities
   ========================================================================== */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Text Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

@media (min-width: 768px) {
    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:text-7xl {
        font-size: 4.5rem;
    }
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-white {
    color: #ffffff;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-brand-accent {
    color: var(--color-brand-accent);
}

.text-brand-primary {
    color: var(--color-brand-primary);
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-brand-accent), var(--color-brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-primary {
    background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Background Utilities
   ========================================================================== */
.bg-brand-dark {
    background-color: var(--color-brand-dark);
}

.bg-brand-surface {
    background-color: var(--color-brand-surface);
}

.bg-white-5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white-3 {
    background-color: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Border Utilities
   ========================================================================== */
.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-white-5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-accent {
    border-color: rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.animate-pulse {
    animation: pulse-slow 2s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animations */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

/* ==========================================================================
   Marquee Mask
   ========================================================================== */
.mask-gradient-x {
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-brand-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-brand-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-secondary);
}

/* ==========================================================================
   Transitions
   ========================================================================== */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Hover Effects
   ========================================================================== */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:text-accent:hover {
    color: var(--color-brand-accent);
}

.hover\:text-white:hover {
    color: #ffffff;
}

.hover\:bg-white-5:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hover\:bg-white-10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hover\:border-accent:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   Position & Z-Index
   ========================================================================== */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

/* ==========================================================================
   Visibility
   ========================================================================== */
.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }

    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }

    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }
}

/* ==========================================================================
   Form Styles (Contact Form 7 / Gravity Forms)
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 2px rgba(74, 0, 224, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

/* Contact Form 7 Specific */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1rem;
}

.wpcf7-submit {
    width: 100%;
}

/* Gravity Forms Specific */
.gform_wrapper .gfield {
    margin-bottom: 1rem;
}

.gform_wrapper .gfield_label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.gform_wrapper .gform_footer input[type="submit"] {
    width: 100%;
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-secondary));
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 0, 224, 0.4);
}

/* Alignments */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* ==========================================================================
   Beaver Builder Compatibility
   ========================================================================== */
.fl-builder .fl-row-content-wrap {
    background-color: transparent;
}

.fl-builder .fl-module-content {
    color: #ffffff;
}

/* Full width row support */
.fl-row-full-width {
    max-width: none;
}

.fl-page-content {
    padding: 0;
}

/* ==========================================================================
   Additional Sizing Utilities
   ========================================================================== */
/* Height Utilities */
.h-1 {
    height: 0.25rem;
}

.h-2 {
    height: 0.5rem;
}

.h-3 {
    height: 0.75rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-14 {
    height: 3.5rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-24 {
    height: 6rem;
}

.h-32 {
    height: 8rem;
}

.h-40 {
    height: 10rem;
}

.h-48 {
    height: 12rem;
}

.h-64 {
    height: 16rem;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.h-auto {
    height: auto;
}

.h-px {
    height: 1px;
}

.h-0\.5 {
    height: 0.125rem;
}

/* Width Utilities */
.w-1 {
    width: 0.25rem;
}

.w-1\.5 {
    width: 0.375rem;
}

.w-2 {
    width: 0.5rem;
}

.w-3 {
    width: 0.75rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-14 {
    width: 3.5rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-24 {
    width: 6rem;
}

.w-32 {
    width: 8rem;
}

.w-40 {
    width: 10rem;
}

.w-48 {
    width: 12rem;
}

.w-64 {
    width: 16rem;
}

.w-full {
    width: 100%;
}

.w-screen {
    width: 100vw;
}

.w-auto {
    width: auto;
}

.w-px {
    width: 1px;
}

.w-0 {
    width: 0;
}

/* Min/Max Width */
.min-w-0 {
    min-width: 0;
}

.max-w-xs {
    max-width: 20rem;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-full {
    max-width: 100%;
}

.max-w-none {
    max-width: none;
}

/* Min Height */
.min-h-0 {
    min-height: 0;
}

.min-h-full {
    min-height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.object-fill {
    object-fit: fill;
}

/* Flex Item Utilities */
.flex-1 {
    flex: 1 1 0%;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink-0,
.shrink-0 {
    flex-shrink: 0;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.self-center {
    align-self: center;
}

.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

/* Order */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

@media (min-width: 1024px) {
    .lg\:order-1 {
        order: 1;
    }

    .lg\:order-2 {
        order: 2;
    }
}

/* Gap utilities */
.gap-1 {
    gap: 0.25rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-12 {
    gap: 3rem;
}

/* ==========================================================================
   Position Utilities (Extended)
   ========================================================================== */
.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.top-4 {
    top: 1rem;
}

.left-4 {
    left: 1rem;
}

.bottom-6 {
    bottom: 1.5rem;
}

.left-1\/2 {
    left: 50%;
}

.top-1\/2 {
    top: 50%;
}

/* Transform Utilities */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.translate-y-4 {
    transform: translateY(1rem);
}

.-translate-x-2 {
    transform: translateX(-0.5rem);
}

/* Combined translate for centering */
.top-1\/2.left-1\/2.-translate-x-1\/2.-translate-y-1\/2,
.-translate-x-1\/2.-translate-y-1\/2 {
    transform: translate(-50%, -50%);
}

/* Opacity */
.opacity-0 {
    opacity: 0;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-100 {
    opacity: 1;
}

/* ==========================================================================
   Scroll Utilities
   ========================================================================== */
.scroll-smooth {
    scroll-behavior: smooth;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* ==========================================================================
   Additional Spacing
   ========================================================================== */
.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-10 {
    padding: 2.5rem;
}

.p-12 {
    padding: 3rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-24 {
    padding-top: 6rem;
}

.pt-28 {
    padding-top: 7rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pr-4 {
    padding-right: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.-inset-1 {
    inset: -0.25rem;
}

.-top-2 {
    top: -0.5rem;
}

.-right-2 {
    right: -0.5rem;
}

/* ==========================================================================
   Text Utilities (Extended)
   ========================================================================== */
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.whitespace-pre {
    white-space: pre;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.font-mono {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

/* ==========================================================================
   Aspect Ratio
   ========================================================================== */
.aspect-square {
    aspect-ratio: 1/1;
}

.aspect-video {
    aspect-ratio: 16/9;
}

/* ==========================================================================
   Group Hover States (CRITICAL)
   ========================================================================== */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:opacity-0 {
    opacity: 0;
}

.group:hover .group-hover\:opacity-20 {
    opacity: 0.2;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-0 {
    transform: translateX(0);
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-0.25rem);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:text-white {
    color: #fff;
}

.group:hover .group-hover\:text-brand-accent {
    color: var(--color-brand-accent);
}

.group:hover .group-hover\:text-gray-200 {
    color: #e5e7eb;
}

.group:hover .group-hover\:text-gray-300 {
    color: #d1d5db;
}

.group:hover .group-hover\:bg-brand-primary {
    background: var(--color-brand-primary);
}

.group:hover .group-hover\:bg-transparent {
    background: transparent;
}

.group:hover .group-hover\:bg-white-5 {
    background: rgba(255, 255, 255, 0.05);
}

.group:hover .group-hover\:bg-brand-accent-10 {
    background: rgba(0, 240, 255, 0.1);
}

.group:hover .group-hover\:bg-brand-accent-20 {
    background: rgba(0, 240, 255, 0.2);
}

.group:hover .group-hover\:bg-brand-primary-20 {
    background: rgba(74, 0, 224, 0.2);
}

.group:hover .group-hover\:border-accent {
    border-color: rgba(0, 240, 255, 0.3);
}

.group:hover .group-hover\:border-accent-30 {
    border-color: rgba(0, 240, 255, 0.3);
}

.group:hover .group-hover\:border-brand-primary-50 {
    border-color: rgba(74, 0, 224, 0.5);
}

.group:hover .group-hover\:border-brand-accent-30 {
    border-color: rgba(0, 240, 255, 0.3);
}

.group:hover .group-hover\:w-full {
    width: 100%;
}

.group:hover .group-hover\:w-24 {
    width: 6rem;
}

.group:hover .group-hover\:rotate-180 {
    transform: rotate(180deg);
}

/* Nested group hover */
.group\/item:hover .group-hover\/item\:bg-brand-accent-20 {
    background: rgba(0, 240, 255, 0.2);
}

.group\/item:hover .group-hover\/item\:text-white {
    color: #fff;
}

/* ==========================================================================
   Border Styles (Extended)
   ========================================================================== */
.border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.border-b {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.border-l {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.border-l-2 {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.border-y {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hover\:border-white-10:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Background Utilities (Extended)
   ========================================================================== */
.bg-black {
    background-color: #000;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-secondary));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-transparent {
    background: transparent;
}

/* Blur utilities */
.blur-xl {
    filter: blur(24px);
}

.blur-md {
    filter: blur(12px);
}

.blur-sm {
    filter: blur(4px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

/* Shadow */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Line Clamp
   ========================================================================== */
/* ==========================================================================
   Line Clamp
   ========================================================================== */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Arbitrary Utilities (JIT Simulation)
   ========================================================================== */
.bg-white\/\[0\.02\] {
    background-color: rgba(255, 255, 255, 0.02);
}

.bg-brand-accent\/\[0\.03\] {
    background-color: rgba(0, 240, 255, 0.03);
}

.bg-brand-accent\/\[0\.05\] {
    background-color: rgba(0, 240, 255, 0.05);
}

.bg-brand-primary\/\[0\.03\] {
    background-color: rgba(74, 0, 224, 0.03);
}

.bg-brand-primary\/5 {
    background-color: rgba(74, 0, 224, 0.05);
}

.bg-brand-secondary\/5 {
    background-color: rgba(142, 45, 226, 0.05);
}

.bg-green-500\/\[0\.05\] {
    background-color: rgba(34, 197, 94, 0.05);
}

.border-green-500\/10 {
    border-color: rgba(34, 197, 94, 0.1);
}

.bg-yellow-500\/\[0\.05\] {
    background-color: rgba(234, 179, 8, 0.05);
}

.border-yellow-500\/10 {
    border-color: rgba(234, 179, 8, 0.1);
}

.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}

.blur-\[100px\] {
    filter: blur(100px);
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-50 {
    opacity: 0.5;
}

/* ==========================================================================
   Free Tools Button Reset
   ========================================================================== */
.free-tools-btn,
.free-tools-btn:hover,
.free-tools-btn:focus,
.free-tools-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
}

/* ==========================================================================
   Gradient Line for Nav
   ========================================================================== */
.nav-gradient-line {
    background: linear-gradient(90deg, transparent, var(--color-brand-primary), var(--color-brand-accent), var(--color-brand-secondary), transparent);
    opacity: 0.5;
}

.cyber-line-gradient {
    background: linear-gradient(180deg, var(--color-brand-primary), transparent);
}

.cyber-line-gradient-alt {
    background: linear-gradient(180deg, transparent, var(--color-brand-accent));
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:ml-auto {
        margin-left: auto;
    }

    .sm\:mt-0 {
        margin-top: 0;
    }

    .sm\:text-5xl {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .md\:p-6 {
        padding: 1.5rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:p-12 {
        padding: 3rem;
    }

    .md\:py-0 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .md\:pb-0 {
        padding-bottom: 0;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .md\:gap-16 {
        gap: 4rem;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:items-end {
        align-items: flex-end;
    }

    .md\:w-24 {
        width: 6rem;
    }

    .md\:h-24 {
        height: 6rem;
    }

    .md\:w-32 {
        width: 8rem;
    }

    .md\:h-32 {
        height: 8rem;
    }

    .md\:w-64 {
        width: 16rem;
    }

    .md\:h-64 {
        height: 16rem;
    }

    .md\:w-80 {
        width: 20rem;
    }

    .md\:h-80 {
        height: 20rem;
    }

    .md\:w-8 {
        width: 2rem;
    }

    .md\:h-8 {
        height: 2rem;
    }

    .md\:text-base {
        font-size: 1rem;
    }

    .md\:text-lg {
        font-size: 1.125rem;
    }

    .md\:min-h-\[400px\] {
        min-height: 400px;
    }

    .md\:max-w-\[500px\] {
        max-width: 500px;
    }

    .md\:h-\[400px\] {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lg\:gap-12 {
        gap: 3rem;
    }

    .lg\:mt-0 {
        margin-top: 0;
    }

    .lg\:text-7xl {
        font-size: 4.5rem;
    }
}

/* ==========================================================================
   Spin Animation
   ========================================================================== */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* ==========================================================================
   Antialiased
   ========================================================================== */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Prose (for content areas)
   ========================================================================== */
.prose {
    color: #d1d5db;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #fff;
    font-family: var(--font-display);
}

.prose a {
    color: var(--color-brand-accent);
}

.prose-invert {
    --prose-body: #d1d5db;
    --prose-headings: #fff;
    --prose-links: var(--color-brand-accent);
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ==========================================================================
   Additional Interactive States
   ========================================================================== */
.hover\:opacity-100:hover {
    opacity: 1;
}

.hover\:opacity-20:hover {
    opacity: 0.2;
}

.hover\:text-gray-300:hover {
    color: #d1d5db;
}

.hover\:border-brand-accent:hover {
    border-color: var(--color-brand-accent);
}

.hover\:bg-brand-primary:hover {
    background: var(--color-brand-primary);
}

.hover\:bg-brand-secondary:hover {
    background: var(--color-brand-secondary);
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-brand-primary:focus {
    border-color: var(--color-brand-primary);
}

/* ==========================================================================
   Visibility States
   ========================================================================== */
.invisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

.group:hover .group-hover\:opacity-100.group-hover\:visible {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   Space Utilities
   ========================================================================== */
.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

/* ==========================================================================
   Text Color Utilities (Extended)
   ========================================================================== */
.text-brand-secondary {
    color: var(--color-brand-secondary);
}

.text-green-400 {
    color: #4ade80;
}

.text-red-500 {
    color: #ef4444;
}

/* ==========================================================================
   Background Color Utilities (Extended)
   ========================================================================== */
.bg-brand-primary {
    background-color: var(--color-brand-primary);
}

.bg-brand-secondary {
    background-color: var(--color-brand-secondary);
}

.bg-brand-accent {
    background-color: var(--color-brand-accent);
}

/* ==========================================================================
   Hero Visual CSS Utilities (For Sphere Design)
   ========================================================================== */
/* Gradient utilities with opacity */

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

/* Specific sphere gradients */
.from-brand-primary\/30.to-brand-secondary\/30 {
    background: linear-gradient(to bottom right, rgba(74, 0, 224, 0.3), rgba(142, 45, 226, 0.3));
}

.from-brand-dark.via-brand-surface.to-brand-dark {
    background: linear-gradient(to bottom right, var(--color-brand-dark), var(--color-brand-surface), var(--color-brand-dark));
}

.from-brand-primary\/20.via-transparent.to-brand-accent\/10 {
    background: linear-gradient(to top, rgba(74, 0, 224, 0.2), transparent, rgba(0, 240, 255, 0.1));
}

/* Border opacity utilities */
.border-brand-primary\/20 {
    border-color: rgba(74, 0, 224, 0.2);
}

.border-brand-primary\/30 {
    border-color: rgba(74, 0, 224, 0.3);
}

.border-brand-accent\/20 {
    border-color: rgba(0, 240, 255, 0.2);
}

.border-brand-accent\/30 {
    border-color: rgba(0, 240, 255, 0.3);
}

.border-brand-secondary\/20 {
    border-color: rgba(142, 45, 226, 0.2);
}

.border-brand-secondary\/30 {
    border-color: rgba(142, 45, 226, 0.3);
}

/* Background opacity utilities */
.bg-brand-primary\/20 {
    background-color: rgba(74, 0, 224, 0.2);
}

.bg-brand-primary\/30 {
    background-color: rgba(74, 0, 224, 0.3);
}

.bg-brand-primary\/50 {
    background-color: rgba(74, 0, 224, 0.5);
}

.bg-brand-accent\/10 {
    background-color: rgba(0, 240, 255, 0.1);
}

.bg-brand-accent\/20 {
    background-color: rgba(0, 240, 255, 0.2);
}

.bg-brand-accent\/50 {
    background-color: rgba(0, 240, 255, 0.5);
}

.bg-brand-secondary\/30 {
    background-color: rgba(142, 45, 226, 0.3);
}

.bg-brand-secondary\/50 {
    background-color: rgba(142, 45, 226, 0.5);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Shadow utilities for floating elements */
.shadow-brand-accent\/10 {
    --tw-shadow-color: rgba(0, 240, 255, 0.1);
    box-shadow: var(--tw-shadow);
}

.shadow-brand-secondary\/10 {
    --tw-shadow-color: rgba(142, 45, 226, 0.1);
    box-shadow: var(--tw-shadow);
}

/* Blur utilities */
.blur-sm {
    filter: blur(4px);
}

.blur-xl {
    filter: blur(24px);
}

/* Inset utilities */
.inset-\[10\%\] {
    inset: 10%;
}

/* Arbitrary width/height values */
.w-\[200px\] {
    width: 200px;
}

.h-\[200px\] {
    height: 200px;
}

.w-\[160px\] {
    width: 160px;
}

.h-\[160px\] {
    height: 160px;
}

.w-\[120px\] {
    width: 120px;
}

.h-\[120px\] {
    height: 120px;
}

.w-\[80px\] {
    width: 80px;
}

.h-\[80px\] {
    height: 80px;
}

.w-\[320px\] {
    width: 320px;
}

.h-\[320px\] {
    height: 320px;
}

.w-\[260px\] {
    width: 260px;
}

.h-\[260px\] {
    height: 260px;
}

.w-\[140px\] {
    width: 140px;
}

.h-\[140px\] {
    height: 140px;
}

/* Small sizing utilities */
.w-1\.5 {
    width: 0.375rem;
}

.h-1\.5 {
    height: 0.375rem;
}

.w-1 {
    width: 0.25rem;
}

/* Responsive arbitrary sizing */
@media (min-width: 768px) {
    .md\:w-\[320px\] {
        width: 320px !important;
    }

    .md\:h-\[320px\] {
        height: 320px !important;
    }

    .md\:w-\[260px\] {
        width: 260px !important;
    }

    .md\:h-\[260px\] {
        height: 260px !important;
    }

    .md\:w-\[200px\] {
        width: 200px !important;
    }

    .md\:h-\[200px\] {
        height: 200px !important;
    }

    .md\:w-\[140px\] {
        width: 140px !important;
    }

    .md\:h-\[140px\] {
        height: 140px !important;
    }

    .md\:w-6 {
        width: 1.5rem !important;
    }

    .md\:h-6 {
        height: 1.5rem !important;
    }

    .md\:w-8 {
        width: 2rem !important;
    }

    .md\:h-8 {
        height: 2rem !important;
    }

    .md\:w-4 {
        width: 1rem !important;
    }

    .md\:h-4 {
        height: 1rem !important;
    }
}

/* Position percentage utilities */
.top-\[10\%\] {
    top: 10%;
}

.right-\[10\%\] {
    right: 10%;
}

.top-\[15\%\] {
    top: 15%;
}

.right-\[15\%\] {
    right: 15%;
}

.bottom-\[25\%\] {
    bottom: 25%;
}

.left-\[15\%\] {
    left: 15%;
}

.bottom-\[30\%\] {
    bottom: 30%;
}

.left-\[20\%\] {
    left: 20%;
}

.top-\[30\%\] {
    top: 30%;
}

.right-\[5\%\] {
    right: 5%;
}

.bottom-\[20\%\] {
    bottom: 20%;
}

.right-\[25\%\] {
    right: 25%;
}

.top-\[60\%\] {
    top: 60%;
}

.left-\[10\%\] {
    left: 10%;
}

@media (min-width: 768px) {
    .md\:top-\[15\%\] {
        top: 15% !important;
    }

    .md\:right-\[15\%\] {
        right: 15% !important;
    }

    .md\:bottom-\[30\%\] {
        bottom: 30% !important;
    }

    .md\:left-\[20\%\] {
        left: 20% !important;
    }
}

/* ==========================================================================
   Responsive Code Utilities & Grid System (Added)
   ========================================================================== */

/* Grid Columns */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Gap Utilities */
.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Responsive Grid - Medium Screens (768px+) */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .md\:gap-8 {
        gap: 2rem !important;
    }

    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }
}

/* Responsive Grid - Large Screens (1024px+) */
@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .lg\:gap-8 {
        gap: 2rem !important;
    }

    .lg\:gap-12 {
        gap: 3rem !important;
    }
}

/* Mix Blend Utilities */
.mix-blend-screen {
    mix-blend-mode: screen;
}