/* 
 * Advanced Clipboard Manager - Marketing Website
 * Main Stylesheet
 */

:root {
  /* Color Scheme */
  --primary-color: #1f7d8e;
  --primary-light: #6b89ff;
  --primary-dark: #ed971c;
  --secondary-color: #ff6b00;
  --secondary-dark: #e05e00;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-fast);
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

a.install-btn {
    color: #fff;
    background-color: var(--secondary-color);
}

a.install-btn:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-primary i, .btn-secondary i, .btn-outline i {
  margin-right: 0.5rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo img {
  height: 75px;
  margin-right: 0.75rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.install-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

a.install-btn {
    color: #fff;
}

.install-btn:hover {
  background-color: #ed971c;
  color: #fff !important;
}

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

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin-bottom: 5px;
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.browser-support {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.browser-support span {
  margin-right: 1rem;
}

.browser-icons {
  display: flex;
  gap: 0.75rem;
}

.browser-icons img {
  height: 24px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.browser-icons img:hover {
  opacity: 1;
}

.hero-image {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
  background-size: 16px 16px;
  top: -30px;
  right: -30px;
  z-index: 1;
  opacity: 0.3;
}

/* Counter Section */
.counter {
  padding: 3rem 0;
  background-color: var(--primary-color);
  color: white;
}

.counter .container {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.counter-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.counter-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

/* Features Section */
.features {
  background-color: var(--bg-primary);
}

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

.feature-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(74, 108, 247, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* How It Works */
.how-it-works {
  background-color: var(--bg-secondary);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
}

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

.step-arrow {
  font-size: 2rem;
  color: var(--primary-color);
  padding: 0 1rem;
}

/* Premium Features */
.premium-features {
  background-color: var(--bg-primary);
}

.premium-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.premium-text {
  flex: 1;
}

.premium-text h2 {
  margin-bottom: 1rem;
}

.premium-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.premium-list {
  list-style: none;
  margin-bottom: 2rem;
}

.premium-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.premium-list i {
  color: var(--secondary-color);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.premium-image {
  flex: 1;
}

.premium-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing {
  background-color: var(--bg-secondary);
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  flex: 1;
  max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-normal);
}

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

.pricing-card.popular {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing-features i {
  margin-right: 0.75rem;
  font-size: 1rem;
}

.pricing-features i.fa-check {
  color: var(--secondary-color);
}

.pricing-features i.fa-times {
  color: var(--text-light);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-primary);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  padding: 1.5rem;
}

.testimonial-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 20px;
  height: 20px;
  background-color: var(--bg-secondary);
  transform: rotate(45deg);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonial-rating {
  margin-left: auto;
  color: #ffc107;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.testimonial-dots span.active {
  background-color: var(--primary-color);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-toggle.active {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

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

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta .btn-primary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--bg-tertiary);
}

.cta .btn-secondary {
  color: white;
  border-color: white;
}

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

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(74, 108, 247, 0.1);
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  margin-bottom: 0;
}

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

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

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

.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom .fa-heart {
  color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .browser-support {
    justify-content: center;
  }
  
  .counter .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .premium-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}