/* ============================================================
   Renta2 Marketing Website - Styles
   ============================================================ */

/* CSS Variables */
:root {
  --primary-color: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --secondary-color: #0f172a;
  --accent-color: #f97316;
  --text-color: #1e293b;
  --text-light: #475569;
  --text-lighter: #94a3b8;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.01em;
}

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

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

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

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--secondary-color);
}

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

.logo-accent {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

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

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  background-color: var(--bg-alt);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.lang-switch:hover {
  background-color: var(--bg-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* Dashboard Preview */
.dashboard-preview {
  background-color: var(--secondary-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
}

.preview-header {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background-color: #1e293b;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #22c55e; }

.preview-content {
  display: flex;
  min-height: 320px;
}

.preview-sidebar {
  width: 150px;
  background-color: #1e293b;
  padding: 1rem 0;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-item {
  padding: 0.7rem 1.25rem;
  color: var(--text-lighter);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
}

.sidebar-item.active {
  background-color: var(--primary-color);
  color: white;
}

.preview-main {
  flex: 1;
  background-color: #0f172a;
  padding: 1.5rem;
  color: white;
}

.preview-main h3 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background-color: #1e293b;
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.05);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Features Overview */
.features-overview {
  padding: 7rem 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 4rem;
}

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

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Benefits Section */
.benefits {
  padding: 7rem 0;
}

.benefits-content h2 {
  margin-bottom: 2.5rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #ccfbf1;
  color: var(--primary-color);
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1rem;
}

.benefit-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

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

.cta-section .btn-primary:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
  padding: 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-color) 100%);
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* Feature Detail Sections */
.feature-detail {
  padding: 6rem 0;
}

.feature-detail.alt {
  background-color: var(--bg-light);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background-color: #ccfbf1;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.feature-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.feature-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-text ul {
  list-style: none;
  margin-left: 0;
}

.feature-text li {
  margin-bottom: 0.65rem;
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
}

.feature-text li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.feature-visual {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-light) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.visual-placeholder {
  font-size: 7rem;
  opacity: 0.9;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  border-color: var(--primary-light);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.4rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.price {
  margin-bottom: 0.5rem;
}

.price .amount {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.03em;
}

.price .period {
  color: var(--text-light);
  font-size: 1rem;
}

.price-desc {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-features li.included::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.faq-item {
  background-color: white;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.faq-item h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
}

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

.contact-info h2,
.contact-form h2 {
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.contact-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

/* Demo Section */
.demo-section {
  padding: 4rem 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.demo-info h2 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.demo-list {
  list-style: none;
  margin-left: 0;
  margin-bottom: 2.5rem;
}

.demo-list li {
  margin-bottom: 0.85rem;
  color: var(--text-light);
  padding-left: 1.5rem;
  position: relative;
}

.demo-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.demo-testimonial {
  background-color: var(--bg-light);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
}

.demo-testimonial blockquote {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.demo-testimonial cite {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
}

.demo-form {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

.demo-form h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Signup Section */
.signup-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-color) 100%);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.signup-box {
  max-width: 460px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--border-color);
}

.signup-box h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.signup-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.signup-form {
  text-align: left;
}

.signup-footer {
  margin-top: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* About Section */
.about-section {
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background-color: var(--bg-light);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

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

.value-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Legal Section */
.legal-section {
  padding: 4rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.75;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 5rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  color: var(--text-lighter);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-column a {
  color: var(--text-lighter);
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid #334155;
}

.footer-bottom p {
  color: var(--text-lighter);
  text-align: center;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    max-width: 550px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    direction: ltr;
  }

  .contact-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .nav-links {
    display: none;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

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

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

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 3rem 1.5rem;
  }

  .feature-detail,
  .features-overview,
  .benefits {
    padding: 4rem 0;
  }
}
