/* KryptoMindz Common Styles */

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

:root {
  --primary: #583E94;
  --secondary: #7a5ba8;
  --accent: #FFD45C;
  --success: #10b981;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --bg-light: #F7F7FF;
  --navy: #072546;
  --error: #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: white;
  line-height: 1.6;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 2rem; 
}

/* HEADER & NAVIGATION */
header {
  background: white;
  border-bottom: 2px solid var(--accent);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-link img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.nav.active .cta-button {
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  margin: 1rem;
}

/* BUTTONS */
.cta-button {
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #FFB81C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 212, 92, 0.3);
}

.cta-button-white {
  background-color: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.cta-button-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button-secondary:hover {
  background-color: var(--primary);
  color: white;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease-out 0.3s both;
  margin: 0 1rem;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: #FFB81C;
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* SERVICES SECTION */
.services {
  padding: 5rem 0;
  background: white;
}

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

.service-card {
  background: white;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(255, 212, 92, 0.15);
  transform: translateY(-8px);
}

.service-icon {
  width: 100%;
  height: 200px;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  flex-shrink: 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3,
.service-card p,
.service-card ul {
  padding: 0 2.5rem;
}

.service-card h3 {
  padding-top: 1.5rem;
}

.service-card ul {
  padding-bottom: 2.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  text-align: left;
  margin: 1.5rem 0;
}

.service-features li {
  list-style: none;
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* WHY CHOOSE US */
.why-us {
  padding: 5rem 0;
  background: var(--bg-light);
}

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

.why-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-top: 4px solid var(--accent);
  text-align: center;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.why-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* TESTIMONIALS */
.testimonials {
  padding: 5rem 0;
  background: white;
}

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

.testimonial-card {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--success);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  quotes: """;
}

.testimonial-quote::before {
  content: open-quote;
  font-size: 2rem;
  color: var(--accent);
  margin-right: 0.5rem;
}

.testimonial-quote::after {
  content: close-quote;
  font-size: 2rem;
  color: var(--accent);
  margin-left: 0.5rem;
}

.testimonial-author {
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* STATS SECTION */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* CTA SECTION */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 5rem 0;
}

.final-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* INCLUDED GRID - PoC Section */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
}

/* PARTNERS SECTION */
.partners {
  padding: 3rem 0;
  background: white;
  border-top: 1px solid #e2e8f0;
}

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

.partners-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.partner-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(255, 212, 92, 0.1);
  transform: translateY(-4px);
}

.partner-logo {
  margin-bottom: 1rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.partner-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.partner-solutions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.solution-tag {
  background: var(--bg-light);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* CLIENTS SECTION */
.clients {
  padding: 5rem 0;
  background: white;
}

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

.clients-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 1rem;
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  opacity: 1;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  transform: scale(1.15);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .final-cta h2 { font-size: 1.75rem; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  
  .nav { 
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
  }
  
  .nav.active {
    max-height: 500px;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .nav a {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .hamburger { display: flex; }
  .header-content { flex-direction: row; justify-content: space-between; }
  .hero { padding: 3rem 0; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { padding: 0.75rem 1.5rem; font-size: 0.9rem; margin: 0.5rem; }
  .hero-buttons { gap: 0.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .header-content { flex-direction: row; }
  .partners-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .nav { top: 65px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-tagline { font-size: 0.95rem; }
  .hero-cta { padding: 0.65rem 1.2rem; font-size: 0.85rem; margin: 0.35rem; }
  .services-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 2rem 1rem; }
  .footer-content { grid-template-columns: 1fr; }
}
