/* ==========================================================================
   ALGENZA - Page Layouts & Specific Section Styling
   Matte Obsidian & Cyber Sunset (Cyan + Rose Gold)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section (Landing Page)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  position: relative;
  background: var(--gradient-hero);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

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

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-title {
  margin-bottom: var(--space-5);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-muted);
}

.trust-icon {
  color: var(--accent-cyan);
}

/* Hero Media / Executive Founder Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--accent-cyan-subtle);
  position: relative;
  width: 100%;
  max-width: 360px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  backdrop-filter: blur(16px);
}

.hero-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 40px var(--accent-rose-subtle);
  border-color: var(--accent-rose-border);
}

.hero-founder-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #171b26 0%, #0c0e14 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
}

.hero-founder-img-frame .hero-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-founder-card:hover .hero-founder-img-frame .hero-profile-image {
  transform: scale(1.03);
}

.hero-founder-status-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--accent-cyan-border);
}

.hero-founder-details {
  margin-top: 16px;
  text-align: center;
}

.hero-founder-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.hero-founder-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 10px 0;
}

.hero-founder-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.founder-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
}

.founder-social-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.25s ease;
}

.founder-social-btn:hover {
  transform: translateY(-2.5px);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent-cyan-subtle);
}

.founder-social-btn:hover svg {
  transform: scale(1.1);
}

/* GitHub Hover Style */
.founder-social-btn.founder-social-github:hover {
  background: #181b22;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* LinkedIn Hover Style */
.founder-social-btn.founder-social-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

/* Fiverr Hover Style */
.founder-social-btn.founder-social-fiverr:hover {
  background: #1dbf73;
  color: #ffffff;
  border-color: #1dbf73;
}

/* Hero Profile Card (Used on About Page) */
.hero-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-profile-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.hero-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-cyan-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-online-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: var(--accent-cyan);
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-profile-info h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.hero-profile-info p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. Products Grid & Product Cards
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  backdrop-filter: blur(16px);
}

.product-card:hover {
  border-color: var(--accent-cyan-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.product-badge-group {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

.product-tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-4);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
}

.product-billing {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.product-features-list {
  list-style: none;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.product-features-list li {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.product-features-list li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.product-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   3. Services Grid & Service Cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
}

.service-card:hover {
  border-color: var(--accent-rose-border);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-rose-subtle);
  transform: translateY(-4px);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background-color: var(--bg-tertiary);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   4. Portfolio / Case Studies Grid
   -------------------------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-8);
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  backdrop-filter: blur(16px);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-cyan-border);
  transform: translateY(-4px);
}

.portfolio-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: var(--space-4) 0;
  text-align: center;
}

.port-metric-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: var(--font-bold);
  color: var(--accent-cyan);
}

.port-metric-lbl {
  font-size: 0.68rem;
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   5. Reviews & Testimonials Grid
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
}

.review-stars {
  color: var(--accent-rose);
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
}

.review-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-xs);
}

.review-author-name {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.review-author-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. Contact / Strategy Brief Page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-12);
  align-items: flex-start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.channel-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-tertiary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--accent-cyan);
  background-color: var(--bg-surface-hover);
  box-shadow: var(--shadow-sm), 0 0 15px var(--accent-cyan-subtle);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0c10;
  font-size: 1.25rem;
  flex-shrink: 0;
  font-weight: bold;
}

.channel-icon.wa { background-color: #25D366; color: #ffffff; }
.channel-icon.email { background: var(--gradient-accent); color: #0a0c10; }
.channel-icon.calendar { background-color: var(--bg-surface-elevated); color: var(--accent-cyan); border: 1px solid var(--accent-cyan-border); }

.channel-details h4 {
  font-size: var(--text-sm);
  margin-bottom: 2px;
  color: var(--text-primary);
}

.channel-details p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}
