/* Zedly.ai Stylesheet */

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f7;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header Styles */
header {
  background: #0b0f19;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo-img {
  height: 40px;
  width: auto;
}

header nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

header nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

header nav a:hover {
  color: #fff;
}

header nav a.cta-btn {
  background: #4f8bff;
  padding: 10px 20px;
  color: #fff;
  border-radius: 6px;
  transition: background 0.3s;
}

header nav a.cta-btn:hover {
  background: #3c6ed6;
}

/* Hamburger Menu Button - Hidden by default on desktop */
.hamburger {
  display: none !important;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
  width: 35px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hamburger Animation */
.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, -6px);
}

/* Hero Section */
.hero {
  background: #0b0f19;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
}

.hero p {
  margin: 15px 0 30px;
  font-size: 1.2rem;
  color: #ccc;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-btn {
  background: #4f8bff;
  padding: 14px 28px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.3s;
}

.hero .cta-btn:hover {
  background: #3c6ed6;
}

/* Section Styles */
.section {
  padding: 60px 20px;
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #0b0f19;
}

.section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.feature-box h3 {
  margin-top: 0;
  color: #0b0f19;
  font-size: 1.3rem;
}

.feature-box p {
  color: #666;
  font-size: 1rem;
}

/* Pricing Boxes */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-box {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.pricing-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-color: #4f8bff;
}

.pricing-box h3 {
  margin: 0 0 15px 0;
  color: #0b0f19;
  font-size: 1.8rem;
}

.pricing-box p {
  color: #666;
  font-size: 1rem;
  margin: 10px 0;
}

.pricing-box strong {
  font-size: 2rem;
  color: #0b0f19;
  display: block;
  margin: 20px 0;
}

.pricing-box button {
  padding: 12px 30px;
  font-size: 1rem;
  background: #4f8bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 15px;
  width: 100%;
  max-width: 200px;
}

.pricing-box button:hover {
  background: #3c6ed6;
}

/* Form Styles */
form {
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #4f8bff;
  box-shadow: 0 0 0 3px rgba(79, 139, 255, 0.1);
}

button[type="submit"] {
  padding: 14px 28px;
  font-size: 1rem;
  background: #0b0f19;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background: #1d2536;
}

/* Footer Styles */
footer {
  background: #0b0f19;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.3s;
}

footer a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex !important;
  }

  /* Hide regular nav by default on mobile - push off screen */
  header nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #0b0f19;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
    visibility: hidden;
  }

  /* Show nav when active */
  header nav.active {
    right: 0;
    visibility: visible;
  }

  /* Style nav links for mobile */
  header nav a {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  header nav a.cta-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    border-bottom: none;
  }

  /* Overlay when menu is open */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Other responsive styles */
  header {
    padding: 15px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

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

  .pricing-container {
    grid-template-columns: 1fr;
  }
}

/* Tablet adjustments */
@media (max-width: 992px) and (min-width: 769px) {
  header nav {
    gap: 15px;
  }

  header nav a {
    font-size: 0.95rem;
  }

  header nav a.cta-btn {
    padding: 8px 16px;
  }
}


/* Enterprise Section */
.enterprise-section {
  background: linear-gradient(135deg, #0b0f19 0%, #1a1f2e 100%);
  color: #fff;
  max-width: 100%;
  padding: 60px 20px;
}

.enterprise-section h2 {
  color: #fff;
}

.enterprise-section p {
  color: #ccc;
}

.enterprise-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
}

.enterprise-features ul {
  list-style: none;
  text-align: left;
  padding: 0;
}

.enterprise-features li {
  padding: 10px 0;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.enterprise-cta {
  background: rgba(255,255,255,0.1);
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
}

.enterprise-cta strong {
  font-size: 2rem;
  color: #4f8bff;
  display: block;
  margin-bottom: 10px;
}

.enterprise-cta p {
  margin-bottom: 20px;
}

.enterprise-cta button {
  background: #4f8bff;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.enterprise-cta button:hover {
  background: #3c6ed6;
}

/* Custom / On-Prem Section */
.custom-section {
  background: #f0f4f8;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #22C55E;
  font-weight: 600;
  margin-top: -10px;
}

.custom-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 1000px;
  margin: 30px auto 0;
  border: 2px solid #22C55E;
}

.custom-price {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.custom-price strong {
  font-size: 2rem;
  color: #0b0f19;
}

.custom-price p {
  color: #666;
  margin-top: 5px;
}

.custom-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.feature-column h4 {
  font-size: 1.2rem;
  color: #0b0f19;
  margin-bottom: 15px;
}

.feature-column ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.feature-column li {
  padding: 8px 0;
  color: #444;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.feature-column li:last-child {
  border-bottom: none;
}

.custom-cta {
  text-align: center;
  margin-top: 20px;
}

.custom-cta button {
  background: #22C55E;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-cta button:hover {
  background: #16a34a;
}

/* Responsive for new sections */
@media (max-width: 768px) {
  .enterprise-box {
    flex-direction: column;
  }
  
  .enterprise-features ul {
    text-align: center;
  }
  
  .custom-box {
    padding: 25px;
  }
  
  .custom-features {
    grid-template-columns: 1fr;
  }
  
  .feature-column {
    text-align: center;
  }
  
  .feature-column ul {
    text-align: center;
  }
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  margin: 20px 0 10px;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.3);
}

.trust-badge .badge-icon {
  font-size: 1.2rem;
}

/* Pricing box styles */
.pricing-box {
  position: relative;
}

.pricing-box .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4f8bff;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-box.popular {
  border-color: transparent;
}

.pricing-box.popular:hover {
  border-color: #4f8bff;
}

.pricing-box.custom {
  border-color: transparent;
}

.pricing-box.custom:hover {
  border-color: #22C55E;
}

.pricing-box.custom .badge {
  background: #22C55E;
}

.pricing-box .target-audience {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-style: italic;
}

.pricing-box .user-limit {
  font-size: 1rem;
  color: #444;
  margin: -10px 0 15px;
  font-weight: 500;
}

.pricing-box .seat-note {
  font-size: 0.8rem;
  color: #888;
  font-weight: 400;
}

.pricing-box .price-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: -15px;
  margin-bottom: 15px;
}

/* Storage Info */
.storage-info {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
  margin: 15px 0;
}

.storage-item {
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.storage-item.vault {
  color: #065f46;
}

.storage-item.desk {
  color: #b45309;
}

/* Features list */
.pricing-box .features-list {
  margin: 15px 0;
  text-align: left;
}

.pricing-box .feature-item {
  padding: 10px 0;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-box .feature-item:last-child {
  border-bottom: none;
}

.pricing-box .feature-item.highlight {
  background: linear-gradient(90deg, #fef3c7 0%, #fff 100%);
  margin: 0 -15px;
  padding: 12px 15px;
  border-radius: 6px;
  border-bottom: none;
}

.pricing-box .feature-item.highlight-security {
  color: #065f46;
  font-weight: 600;
}

.feature-badge {
  display: inline-block;
  background: #0b0f19;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 8px;
  vertical-align: middle;
}

/* Definitions Section */
.definitions-section {
  background: #f0f4f8;
  max-width: 100%;
  padding: 60px 20px;
}

.definitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto 0;
}

.definition-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.definition-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.definition-icon {
  font-size: 2rem;
}

.definition-header h3 {
  margin: 0;
  color: #0b0f19;
  font-size: 1.3rem;
}

.definition-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.definition-item {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 8px;
}

.definition-item:last-child {
  margin-bottom: 0;
}

.definition-item h4 {
  margin: 0 0 10px;
  color: #0b0f19;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.definition-item p {
  margin: 0;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag.free {
  background: #d1fae5;
  color: #065f46;
}

.tag.hot {
  background: #fef3c7;
  color: #b45309;
}

.code-agent-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.agent-tag {
  background: #0b0f19;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive for definitions */
@media (max-width: 768px) {
  .definitions-grid {
    grid-template-columns: 1fr;
  }
  
  .definition-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .definition-item h4 {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .code-agent-features {
    justify-content: center;
  }
  
  .trust-badge {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 600px;
  font-size: 1rem;
  text-align: center;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Data Lifecycle Page Styles */
.lifecycle-section {
  max-width: 900px;
}

.lifecycle-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.lifecycle-step {
  display: flex;
  gap: 25px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.lifecycle-step:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4f8bff 0%, #3c6ed6 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  margin: 0 0 15px 0;
  color: #0b0f19;
  font-size: 1.3rem;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-content li {
  padding: 8px 0;
  color: #555;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 20px;
}

.step-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4f8bff;
  font-weight: bold;
}

.step-content li:last-child {
  border-bottom: none;
}

/* Security One-Pager Section */
.security-onepager {
  background: linear-gradient(135deg, #0b0f19 0%, #1a1f2e 100%);
  color: #fff;
  max-width: 100%;
  padding: 60px 20px;
}

.security-onepager h2 {
  color: #fff;
}

.security-onepager > p {
  color: #ccc;
}

.security-onepager .section-subtitle {
  color: #4f8bff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.security-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s, background 0.3s;
}

.security-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.card-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #4f8bff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
}

.card-intro {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.security-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.security-card li {
  padding: 10px 0;
  color: #e0e0e0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.security-card li:last-child {
  border-bottom: none;
}

/* Responsive for Data Lifecycle */
@media (max-width: 768px) {
  .lifecycle-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .security-grid {
    grid-template-columns: 1fr;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===========================================
   LEGAL PAGES (Terms & Privacy)
   =========================================== */

.legal-section {
  padding: 60px 20px;
  background: #f7f7f7;
  min-height: calc(100vh - 160px);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.legal-container h1 {
  font-size: 2.2rem;
  color: #0b0f19;
  margin: 0 0 10px;
  text-align: center;
}

.legal-updated {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: #0b0f19;
  margin: 35px 0 15px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

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

.legal-content h4 {
  font-size: 1.1rem;
  color: #0b0f19;
  margin: 20px 0 10px;
}

.legal-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid #4f8bff;
}

.legal-box h4 {
  margin: 0 0 10px;
  color: #0b0f19;
}

.legal-box p {
  margin: 0;
}

.legal-warning {
  background: #fef3c7;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid #f59e0b;
}

.legal-warning h4 {
  margin: 0 0 10px;
  color: #92400e;
}

.legal-warning p {
  margin: 0;
  color: #78350f;
}

.legal-highlight {
  background: #fee2e2;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #ef4444;
}

.legal-highlight h4 {
  margin: 0 0 10px;
  color: #991b1b;
}

.legal-highlight p {
  margin: 0;
  color: #7f1d1d;
}

.legal-highlight.trust {
  background: #d1fae5;
  border-left-color: #22C55E;
}

.legal-highlight.trust h2 {
  margin: 0 0 15px;
  padding: 0;
  border: none;
  color: #065f46;
}

.legal-highlight.trust p,
.legal-highlight.trust li {
  color: #064e3b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.legal-table th {
  background: #0b0f19;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.legal-table td {
  color: #555;
  font-size: 0.95rem;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: #f8fafc;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.right-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.right-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.right-card h4 {
  margin: 0 0 10px;
  color: #0b0f19;
}

.right-card p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.legal-footer p {
  color: #888;
}

.legal-footer a {
  color: #4f8bff;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

/* Responsive Legal */
@media (max-width: 768px) {
  .legal-container {
    padding: 30px 20px;
    border-radius: 0;
  }
  
  .legal-container h1 {
    font-size: 1.8rem;
  }
  
  .legal-table {
    font-size: 0.85rem;
  }
  
  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
  }
}

/* Lifecycle Link on Pricing Page */
.lifecycle-link {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.lifecycle-link p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.lifecycle-link .cta-btn {
  background: #0b0f19;
  padding: 14px 28px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.3s;
}

.lifecycle-link .cta-btn:hover {
  background: #1d2536;
}

/* ===========================================
   AUTHENTICATION STYLES
   =========================================== */

.auth-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f7f7f7;
}

.auth-container {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.auth-title {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #0b0f19;
  text-align: center;
  margin-bottom: 30px;
}

.auth-subtitle {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #0b0f19;
  text-align: center;
  margin-bottom: 10px;
}

.auth-description {
  color: #666;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}

.auth-email-display {
  color: #666;
  text-align: center;
  margin-bottom: 25px;
}

.auth-email-display span {
  font-weight: 600;
  color: #0b0f19;
}

/* Social Login Buttons */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.social-btn:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

.social-icon {
  flex-shrink: 0;
}

.apple-btn .social-icon {
  color: #000;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #999;
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.auth-divider span {
  padding: 0 15px;
}

/* Auth Form */
.auth-form {
  margin-top: 0;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.auth-form input:focus {
  outline: none;
  border-color: #4f8bff;
  box-shadow: 0 0 0 3px rgba(79, 139, 255, 0.15);
}

/* Password Input with Toggle */
.password-input-wrapper {
  position: relative;
}

.password-input-wrapper input {
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password:hover {
  color: #333;
}

.password-hint {
  font-size: 0.8rem;
  color: #888;
  margin-top: 6px;
}

/* Auth Buttons */
.auth-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 20px;
}

.primary-btn {
  background: #4f8bff;
  color: #fff;
}

.primary-btn:hover {
  background: #3c6ed6;
}

.secondary-btn {
  background: #f0f0f0;
  color: #333;
}

.secondary-btn:hover {
  background: #e0e0e0;
}

/* Links */
.back-link {
  display: inline-block;
  color: #0b0f19;
  text-decoration: underline;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.back-link:hover {
  color: #4f8bff;
}

.forgot-link {
  display: block;
  color: #4f8bff;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 15px;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Remember Me */
.remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.remember-me input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4f8bff;
  cursor: pointer;
}

.remember-me label {
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

/* Auth Alert */
.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
}

.auth-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.auth-alert.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* Terms */
.auth-terms {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin-top: 25px;
  line-height: 1.5;
}

.auth-terms a {
  color: #4f8bff;
  text-decoration: none;
}

.auth-terms a:hover {
  text-decoration: underline;
}

/* Verification Pages */
.verify-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 20px;
}

.verify-icon.success {
  width: 80px;
  height: 80px;
  background: #22C55E;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}

.verify-tips {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  text-align: left;
}

.verify-tips p {
  margin-bottom: 10px;
}

.verify-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.verify-tips li {
  padding: 6px 0;
  color: #666;
  font-size: 0.9rem;
}

.verify-tips li::before {
  content: "•";
  color: #4f8bff;
  margin-right: 10px;
}

.auth-success {
  text-align: center;
}

.auth-success h2 {
  margin: 15px 0 10px;
  color: #0b0f19;
}

.auth-success p {
  color: #666;
  margin-bottom: 20px;
}

/* ===========================================
   DASHBOARD STYLES
   =========================================== */

.dashboard-section {
  padding: 30px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.dashboard-welcome h1 {
  font-size: 2rem;
  color: #0b0f19;
  margin: 0 0 5px;
}

.user-email {
  color: #666;
  font-size: 1rem;
}

.logout-btn {
  background: #f0f0f0;
  color: #333;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.logout-btn:hover {
  background: #e0e0e0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.dashboard-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.dashboard-card h3 {
  font-size: 1.3rem;
  color: #0b0f19;
  margin: 0 0 8px;
}

.dashboard-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 15px;
}

.plan-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 10px 0;
}

.plan-badge.free {
  background: #f0f0f0;
  color: #666;
}

.plan-badge.premium, .plan-badge.pro, .plan-badge.business {
  background: linear-gradient(135deg, #4f8bff 0%, #3c6ed6 100%);
  color: #fff;
}

.plan-info {
  font-size: 0.9rem;
  color: #888;
}

.card-link {
  color: #4f8bff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.card-link:hover {
  text-decoration: underline;
}

.storage-meter {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin: 15px 0 10px;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #22C55E 0%, #16a34a 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.meter-fill.hot {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.storage-text {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 15px;
}

.project-count {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0b0f19;
  margin: 15px 0;
}

.card-btn {
  background: #4f8bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.card-btn:hover:not(:disabled) {
  background: #3c6ed6;
}

.card-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Getting Started */
.getting-started {
  background: linear-gradient(135deg, #0b0f19 0%, #1a1f2e 100%);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}

.getting-started h2 {
  font-size: 1.5rem;
  margin: 0 0 30px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.step-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.step-card .step-number {
  width: 40px;
  height: 40px;
  background: #4f8bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Auth */
@media (max-width: 480px) {
  .auth-container {
    padding: 30px 20px;
    border-radius: 0;
    box-shadow: none;
  }
  
  .auth-title {
    font-size: 1.5rem;
  }
  
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .getting-started {
    padding: 25px;
  }
}
