/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #e5322d;
  --primary-hover: #c42b26;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f5f5fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary-color);
}

.logo i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login {
  font-weight: 600;
  color: var(--text-dark);
}

.btn-signup {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
}

.btn-signup:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: var(--background-light);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Tools Grid */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  flex: 1;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(229, 50, 45, 0.2);
}

.tool-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tool-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.tool-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Tool Badges (New, Popular) */
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #e0f7fa;
  color: #006064;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.popular {
  background-color: #fff3e0;
  color: #e65100;
}

/* Footer */
footer {
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Tool Page Specifics */
.tool-page-hero {
  background-color: var(--background-light);
  padding: 6rem 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.tool-page-hero h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.tool-page-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.upload-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn-upload {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 4rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.btn-upload:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cloud-providers {
  display: flex;
  gap: 1rem;
}

.btn-drive,
.btn-dropbox {
  background-color: var(--white);
  color: var(--text-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.btn-drive:hover,
.btn-dropbox:hover {
  background-color: var(--background-light);
  transform: translateY(-2px);
}

.tool-description-section {
  padding: 4rem 2rem;
  background-color: var(--white);
  text-align: center;
}

.tool-description-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 1rem;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffebee; /* Very light red */
  margin-bottom: 1rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    width: 100%;
  }

  .auth-buttons {
    display: none; /* Can be moved inside nav-links in a real implementation */
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
}
