/* PhotonStream Website - Pixel Perfect Replica of Segwise.ai Design */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Custom Properties - Extracted from segwise.ai */
:root {
  /* Colors extracted from segwise.ai analysis */
  --primary-gradient: linear-gradient(rgb(225, 255, 110), rgb(255, 255, 255));
  --secondary-gradient: linear-gradient(90deg, rgba(231, 254, 136, 0.3), rgb(231, 254, 137));
  --body-bg: rgb(251, 250, 249);
  --button-bg: rgb(255, 255, 255);
  --button-text: rgb(0, 0, 238);
  --heading-color: rgb(51, 51, 51);
  --text-color: rgb(51, 51, 51);
  --nav-bg: rgba(255, 255, 255, 0.95);
  
  /* Typography - Exact values from segwise.ai */
  --font-family: 'Inter', 'Inter Placeholder', sans-serif;
  --heading-size: 68px;
  --heading-weight: 700;
  --button-radius: 8px;
  --button-padding: 23.1489px 32.6809px;
  --small-button-padding: 4px 12px;
  
  /* Spacing and Layout */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --nav-height: 80px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles - Pixel Perfect Match */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar-brand::before {
  content: "⚡";
  margin-right: 8px;
  font-size: 28px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--button-text);
}

.btn-primary {
  background: var(--button-bg);
  color: var(--button-text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--button-radius);
  padding: var(--small-button-padding);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--button-text);
  color: white;
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--heading-color);
  color: white;
  border: none;
  border-radius: 10px;
  padding: var(--button-padding);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--button-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 238, 0.3);
}

/* Hero Section - Exact Gradient Match */
.hero {
  background: var(--primary-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-business.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: var(--heading-size);
  font-weight: var(--heading-weight);
  color: var(--heading-color);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero p {
  font-size: 20px;
  color: var(--text-color);
  margin-bottom: 40px;
  opacity: 0.8;
}

.hero-cta {
  margin-bottom: 20px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-note::before {
  content: "✓";
  color: green;
}

/* Feature Pills - Exact Match */
.feature-pills {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.feature-pill {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.feature-pill:hover {
  background: var(--secondary-gradient);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 80px;
  opacity: 0.8;
}

/* Cards and Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-color);
  opacity: 0.8;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 2px solid var(--button-text);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--button-text);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.pricing-period {
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--text-color);
}

.pricing-features li::before {
  content: "✓";
  color: green;
  margin-right: 12px;
  font-weight: bold;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-family);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--button-text);
  box-shadow: 0 0 0 3px rgba(0, 0, 238, 0.1);
}

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

/* Footer */
.footer {
  background: var(--heading-color);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .feature-pills {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .feature-card,
  .pricing-card,
  .contact-form {
    padding: 30px 20px;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}
