/* ====================================================
   ALI SOFTWARE STUDIO - Main Stylesheet
   ==================================================== */

/* ========== CSS VARIABLES ========== */
:root {
  --primary-dark: #0D2818;
  --primary: #1B5E2E;
  --primary-light: #2D8A47;
  --primary-lighter: #E8F5E9;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #B8942E;
  --dark: #0A0E17;
  --dark-secondary: #111827;
  --dark-tertiary: #1A2332;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E5E7EB;
  --gray: #9CA3AF;
  --text: #1F2937;
  --text-light: #6B7280;
  --success: #22C55E;
  --gradient-primary: linear-gradient(135deg, #0D2818, #1B5E2E);
  --gradient-dark: linear-gradient(135deg, #0A0E17, #1A2332);
  --gradient-gold: linear-gradient(135deg, #C9A84C, #E8D48B);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.loader-bar-container {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  animation: loaderProgress 1.5s ease-in-out forwards;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  50% { width: 60%; }
  100% { width: 100%; }
}

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title .gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.divider-line {
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.divider-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #22C55E;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-submit i {
  transition: var(--transition);
}

.btn-submit:hover i {
  transform: translateX(5px) rotate(-45deg);
}

/* ========== NAVIGATION ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.3rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.btn-nav {
  padding: 10px 24px;
  background: var(--gradient-gold);
  color: var(--dark) !important;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  font-size: 0.9rem !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(27, 94, 46, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 40, 24, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 6px;
  font-weight: 400;
}

/* ----- Phone Mockup ----- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(201, 168, 76, 0.2),
    0 0 60px rgba(201, 168, 76, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.4);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0D2818 0%, #1B5E2E 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 8px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.screen-icons {
  display: flex;
  gap: 6px;
  font-size: 0.7rem;
  opacity: 0.7;
}

.screen-body {
  flex: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-app-content {
  text-align: center;
  color: white;
}

.screen-logo {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--gold);
}

.screen-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.screen-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.screen-stat {
  text-align: center;
}

.screen-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.screen-stat-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.screen-list {
  text-align: left;
}

.screen-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.screen-list-item i {
  font-size: 0.7rem;
  width: 14px;
}

.screen-footer {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 16px;
}

.screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.screen-dot.active {
  background: var(--gold);
}

.phone-home-button {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  animation: float 6s ease-in-out infinite;
  z-index: 5;
}

.floating-badge i {
  font-size: 0.9rem;
}

.badge-1 {
  top: 15%;
  right: -30px;
  animation-delay: 0s;
}

.badge-1 i { color: var(--gold); }

.badge-2 {
  bottom: 20%;
  left: -40px;
  animation-delay: 3s;
}

.badge-2 i { color: var(--primary); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ========== ABOUT SECTION ========== */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-paragraph strong {
  color: var(--dark);
  font-weight: 700;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.about-feature i {
  color: var(--primary);
  font-size: 1rem;
}

/* About Image Grid */
.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 320px;
}

.grid-box {
  width: 150px;
  height: 150px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.grid-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.grid-box:hover::before {
  opacity: 1;
}

.grid-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.grid-box i {
  font-size: 2rem;
  color: var(--gold);
}

.grid-box span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.grid-box.gold-box {
  background: var(--gradient-gold);
  color: var(--dark);
}

.grid-box.gold-box i {
  color: var(--dark);
}

.about-experience-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--gradient-gold);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 3s ease-in-out infinite;
}

.exp-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.exp-text {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--dark);
  position: relative;
}

.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(27, 94, 46, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.services .section-subtitle {
  color: var(--gold);
}

.services .section-title {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon-wrapper {
  margin-bottom: 24px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-gold);
  color: var(--dark);
  transform: rotateY(180deg);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

.service-list li i {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ========== APPS / FEATURED APPLICATIONS ========== */
.apps {
  background: var(--off-white);
}

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

.app-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
  position: relative;
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.app-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.app-badge {
  padding: 4px 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.app-badge-new {
  background: var(--gradient-gold);
  color: var(--dark);
}

.app-description {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.app-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary-lighter);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary);
}

.app-feature i {
  font-size: 0.7rem;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.app-platform {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.app-platform i {
  color: var(--primary);
  margin-right: 4px;
}

/* ========== UPCOMING PROJECTS ========== */
.projects {
  background: var(--dark);
  position: relative;
}

.projects .section-title {
  color: var(--white);
}

.projects-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: -40px auto 50px;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.05), transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.project-card:hover .project-card-bg {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-icon {
  width: 55px;
  height: 55px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
}

.project-card:hover .project-icon {
  background: var(--gradient-gold);
  color: var(--dark);
  transform: scale(1.1);
}

.project-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ========== WHY CHOOSE US ========== */
.why-us {
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: var(--white);
}

.why-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  transition: var(--transition);
}

.why-card:hover .why-number {
  color: rgba(201, 168, 76, 0.1);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== CONTACT SECTION ========== */
.contact {
  background: var(--dark);
  position: relative;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(27, 94, 46, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact .section-title {
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.contact-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-intro i {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
  margin-top: -4px;
}

.contact-intro p {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.contact-link {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  margin-top: 4px;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.availability-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.contact-availability span {
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-secondary);
  padding: 60px 0 0;
  position: relative;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.03), transparent 70%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo i {
  color: var(--gold);
  font-size: 1.4rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-gold);
  color: var(--dark);
  transform: translateY(-3px);
}

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

.footer-links-col h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* ========== FADE IN ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.4s; }

/* ========== RESPONSIVE - TABLET ========== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .hero-container { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-secondary);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: all 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
  }

  .btn-nav {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    width: 100%;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-title { font-size: 2rem; }
  .hero-description { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .stat-item:not(:last-child)::after { display: none; }

  .phone-mockup {
    width: 220px;
    height: 440px;
    padding: 8px;
    border-radius: 30px;
  }

  .phone-notch { width: 90px; height: 22px; }
  .phone-screen { border-radius: 22px; }
  .screen-header { padding: 12px 16px 6px; font-size: 0.65rem; }
  .screen-body { padding: 12px; }
  .screen-logo { width: 45px; height: 45px; font-size: 1.3rem; }
  .screen-title { font-size: 0.9rem; }
  .screen-stats { gap: 12px; }
  .screen-stat-value { font-size: 1.1rem; }

  .floating-badge { display: none; }

  /* About */
  .about-content { grid-template-columns: 1fr; gap: 50px; }
  .about-image-grid { width: 260px; }
  .grid-box { width: 120px; height: 120px; }
  .grid-box i { font-size: 1.5rem; }
  .about-experience-badge { width: 80px; height: 80px; }
  .exp-number { font-size: 1.3rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Apps */
  .apps-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Why Us */
  .why-us-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-container { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px; }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ========== RESPONSIVE - SMALL MOBILE ========== */
@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .phone-mockup { width: 190px; height: 380px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .about-features { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ========== SCREEN READER ONLY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========== SELECTION STYLING ========== */
::selection {
  background: var(--gold);
  color: var(--dark);
}

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

::-webkit-scrollbar-track {
  background: var(--dark);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
