/* ==========================================================================
   Akansha Enterprises - Core Design System & Stylesheet
   ========================================================================== */

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Tokens */
  --color-bg-main: #0a0f1d;
  --color-bg-card: rgba(20, 26, 46, 0.7);
  --color-border: rgba(245, 158, 11, 0.15);
  --color-border-hover: rgba(245, 158, 11, 0.4);
  
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  
  --color-solar-gold: #f59e0b;
  --color-solar-gold-hover: #d97706;
  --color-solar-glow: rgba(245, 158, 11, 0.3);
  --color-eco-green: #10b981;
  
  --color-nav-bg: rgba(10, 15, 29, 0.8);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(30, 41, 59, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-secondary);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(6, 9, 18, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.logo svg {
  fill: var(--color-solar-gold);
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--color-solar-glow));
}

.logo span {
  background: linear-gradient(135deg, #fff 0%, var(--color-solar-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-solar-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-solar-gold);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--color-solar-glow);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Call to Action Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-solar-gold) 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 4px 14px var(--color-solar-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 40%, var(--color-solar-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 10px;
  left: 10px;
  border: 2px solid var(--color-solar-gold);
  border-radius: 16px;
  z-index: 1;
  opacity: 0.3;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--color-bg-card);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 60%, var(--color-solar-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.05rem;
}

/* Feature/USP Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.05);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-solar-gold);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

/* Products Section */
.products-section {
  padding: 6rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.08);
}

.product-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #121829;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(16, 185, 129, 0.9);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-capacity {
  color: var(--color-solar-gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.product-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* Process Section */
.process-section {
  padding: 6rem 0;
  background-color: rgba(10, 15, 29, 0.4);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-card {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-solar-gold);
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.9rem;
}

/* Contact Info & Form Section */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}

.contact-info-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-solar-gold);
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* Forms styling */
.form-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: rgba(6, 9, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-solar-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

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

/* Call to Action Banner */
.cta-banner {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(20, 26, 46, 0.9) 0%, rgba(10, 15, 29, 0.9) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* Compliance Legal Content Pages */
.legal-layout {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  gap: 3.5rem;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
}

.legal-menu {
  list-style: none;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
  padding-left: 1.5rem;
}

.legal-menu li {
  margin-bottom: 1.25rem;
}

.legal-menu-link {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  display: block;
}

.legal-menu-link.active, .legal-menu-link:hover {
  color: var(--color-solar-gold);
  font-weight: 600;
}

.legal-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 4rem;
}

.legal-card h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 70%, var(--color-solar-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer Section */
footer {
  background-color: #04070e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about p {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-secondary);
}

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

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.footer-contact-info svg {
  fill: var(--color-solar-gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--color-solar-gold);
}

.copyright {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* Toast Notification (For simulation) */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -300px;
  background-color: var(--color-eco-green);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  font-size: 0.9rem;
  font-weight: 500;
}

.toast.show {
  right: 2rem;
}

/* ==========================================================================
   Media Queries & Responsive Styling
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 550px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-sidebar {
    position: relative;
    top: 0;
  }
  .legal-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 0;
    padding-bottom: 1rem;
  }
  .legal-menu li {
    margin-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #060912;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    overflow-y: auto;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu .btn {
    width: 100%;
    margin-top: 1rem;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .form-card {
    padding: 2rem;
  }
  .legal-card {
    padding: 2rem;
  }
  .legal-card h1 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}
