/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  text-align: center;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-section {
  animation: fadeInUp 0.6s ease-out;
}

.startup-section {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.newsletter-section {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Header / Intro */
.header-section {
  padding: 80px 20px 50px 20px;
  position: relative;
}

.intro {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #000000;
  letter-spacing: -1.3px;
  line-height: 1.2;
}

.wave-emoji {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(14deg);
  }
  20%, 40% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(0deg);
  }
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #000000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.profile:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.role {
  font-size: 1.08rem;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.2px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000000;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.social-links a:hover {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.small-separator {
  width: 100px; 
  margin: 40px auto 35px;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000000, transparent);
  opacity: 0.6;
}

/* Startup Section */
.startup-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 35px;
  text-align: center;
  color: #000000;
  letter-spacing: -1.3px;
}

/* Portfolio Card */
.portfolio-card {
  background: #000000;
  color: #ffffff;
  border-radius: 12px;
  padding: 50px 45px;
  margin-bottom: 40px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.5s ease;
}

.portfolio-card:hover::before {
  left: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.portfolio-logo {
  width: 70px;
  height: 70px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000000;
}

.portfolio-logo-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.portfolio-name {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -1.2px;
}

.portfolio-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.portfolio-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 800px;
  font-weight: 400;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.product-card {
  background: #ffffff;
  color: #000000;
  border-radius: 12px;
  padding: 35px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid #e8e8e8;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #000000, #333333);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: #000000;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.product-card.acquired {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  overflow: visible;
  position: relative;
}

.product-card.acquired::before {
  content: '🏆 ACQUIRED';
  position: absolute;
  top: -12px;
  right: 20px;
  background: #000000;
  color: #ffffff;
  padding: 6px 16px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.product-card.acquired:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border-color: #000000;
  transform: translateY(-8px);
}

.product-icon {
  font-size: 2.8rem;
  margin-bottom: 22px;
}

.product-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 22px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-logo {
  transform: scale(1.12);
}

.product-card.acquired .product-logo {
  width: 52px;
  height: 52px;
}

.product-card.acquired:hover .product-logo {
  transform: scale(1.15);
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #000000;
  letter-spacing: -0.6px;
}

.product-card.acquired .product-name {
  color: #000000;
}

.badge {
  background: #000000;
  color: #ffffff;
  font-size: 0.6rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: none;
}

.product-description {
  font-size: 0.96rem;
  color: #666666;
  margin: 0;
  line-height: 1.65;
  font-weight: 400;
}

.product-card.acquired .product-description {
  color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-card {
    padding: 30px 25px;
  }

  .portfolio-name {
    font-size: 1.5rem;
  }

  .portfolio-description {
    font-size: 1rem;
  }

  .portfolio-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    text-align: center;
  }
}



/* Newsletter Section */
.newsletter-section {
  max-width: 1200px;
  margin: 70px auto 90px;
  padding: 0 20px;
}

.newsletter-container {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-radius: 12px;
  padding: 55px 45px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.newsletter-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.newsletter-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -1.1px;
  position: relative;
  z-index: 1;
}

.newsletter-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 35px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Hide ConvertKit Branding */
.formkit-powered-by-convertkit-container {
  display: none !important;
}

/* ConvertKit Form Styling */
.newsletter-container .formkit-form {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-container .formkit-fields {
  display: flex !important;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-container .formkit-field {
  flex: 1;
  min-width: 300px;
  margin: 0 !important;
}

.newsletter-container .formkit-input {
  width: 100%;
  padding: 17px 26px !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-family: 'Poppins', sans-serif !important;
  outline: none;
  transition: all 0.3s ease;
  background: transparent !important;
  color: #ffffff !important;
}

.newsletter-container .formkit-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.newsletter-container .formkit-input:focus {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1) !important;
}

.newsletter-container .formkit-submit {
  padding: 17px 42px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2) !important;
}

.newsletter-container .formkit-submit:hover {
  background: transparent !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3) !important;
}

.newsletter-container .formkit-submit:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .newsletter-container {
    padding: 40px 25px;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .newsletter-description {
    font-size: 1rem;
  }

  .newsletter-container .formkit-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-container .formkit-field {
    min-width: 100%;
  }

  .newsletter-container .formkit-submit {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .intro {
    font-size: 1.5rem;
  }

  .profile {
    width: 100px;
    height: 100px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .portfolio-card {
    padding: 40px 30px;
  }

  .portfolio-header {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-name {
    font-size: 1.5rem;
  }

  .portfolio-description {
    font-size: 0.95rem;
  }

  .portfolio-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-container {
    padding: 40px 30px;
  }

  .newsletter-title {
    font-size: 1.5rem;
  }

  .newsletter-description {
    font-size: 0.95rem;
  }

  .newsletter-container .formkit-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-container .formkit-field {
    min-width: 100%;
  }

  .newsletter-container .formkit-submit {
    width: 100%;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

/* Product Link Card */
.product-link {
  text-decoration: none;
  display: block;
}

.product-link:hover {
  text-decoration: none;
}

.youtube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #FF0000;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.youtube-link:hover {
  background: #cc0000;
  transform: scale(1.1);
}

.youtube-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF0000;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 4px;
}

.youtube-inline:hover {
  color: #cc0000;
  transform: scale(1.2);
}

/* Coming Soon Product Card */
.product-card.coming-soon {
  background: #fafafa;
  color: #000000;
  border: 2px dashed #d0d0d0;
  position: relative;
}

.product-card.coming-soon .product-name {
  color: #000000;
}

.product-card.coming-soon .product-description {
  color: #666666;
  font-style: italic;
}

.product-card.coming-soon:hover {
  transform: translateY(-10px);
  border-color: #000000;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.badge-soon {
  background: #000000;
  color: #ffffff;
  font-size: 0.6rem;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Large Logo for Featured Products */
.product-logo-large {
  width: 65px !important;
  height: 65px !important;
}

/* ConvertKit Success Message */
.newsletter-container .formkit-alert-success {
  background: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
