/*
Theme Name: Applizor Premium Tech Theme
Theme URI: https://www.applizor.com
Author: Applizor Softech LLP
Author URI: https://www.applizor.com
Description: A premium, futuristic, dark-themed custom WordPress theme for IT service agencies, software houses, and AI startups. Designed with glassmorphic cards, neon gradients, and responsive grids.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, custom-colors, two-columns, translation-ready, agency, portfolio, technology
Text Domain: applizor-theme
*/

/* 1. Reset and Typography */


:root {
  --bg-primary: #030712;
  --bg-secondary: #061A33;
  --panel-bg: rgba(6, 20, 38, 0.55);
  --panel-border: rgba(0, 183, 235, 0.25);
  --accent-cyan: #00FFDA;
  --accent-blue: #00B7EB;
  --accent-indigo: #2D7DFF;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #64748B;
  --glow-cyan: 0 0 20px rgba(0, 255, 218, 0.35);
  --glow-blue: 0 0 20px rgba(0, 183, 235, 0.3);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 218, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* 2. Global Layout & Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Neon Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 183, 235, 0.05);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 255, 218, 0.4);
  box-shadow: 0 10px 45px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 218, 0.15);
  transform: translateY(-4px);
}

/* Buttons */
.btn-premium {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  border: none;
}

.btn-primary {
  background: rgba(0, 183, 235, 0.15);
  border: 1px solid var(--panel-border);
  color: var(--accent-blue);
}

.btn-primary:hover {
  background: rgba(0, 255, 218, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

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

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 3. Redesign Redirection & Premium Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    text-shadow: 0 0 10px rgba(0, 255, 218, 0.2);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 25px rgba(0, 255, 218, 0.7);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-slide-in-right {
  animation: slideInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Premium Typography Helper */
.text-subtitle {
  color: var(--accent-cyan);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.glow-text-cyan {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.glow-text-blue {
  color: var(--accent-blue);
  text-shadow: var(--glow-blue);
}

/* Modern Form Element overrides */
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(6, 20, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 255, 218, 0.2);
  background: rgba(11, 44, 90, 0.45);
}

/* Badge System */
.badge-tech {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(0, 183, 235, 0.08);
  border: 1px solid rgba(0, 183, 235, 0.2);
  color: var(--accent-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-tech.accent {
  background: rgba(0, 255, 218, 0.08);
  border-color: rgba(0, 255, 218, 0.2);
  color: var(--accent-cyan);
}

/* Custom Table Layouts */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.tech-table th, .tech-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  font-size: 14px;
}

.tech-table th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  border-bottom-color: rgba(0, 183, 235, 0.2);
}

.tech-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* 4. Ultra-Narrow Viewport Support (Galaxy Fold / Front screens) */
@media (max-width: 360px) {
  .container {
    padding: 0 14px !important;
  }
  .btn-premium {
    padding: 10px 16px !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
  }
  .tech-table th, .tech-table td {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
}

/* Force nested Elementor layouts to fit container card bounds */
.product-content .elementor-section,
.portfolio-entry-content .elementor-section,
.case-content .elementor-section {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-content .elementor-container,
.portfolio-entry-content .elementor-container,
.case-content .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


