body {
  margin: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fafbfc;
  color: #222;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

body.dark-mode {
  background: #181a1b;
  color: #f5f5f5;
}

.main-header {
  text-align: left;
  padding: 3rem 0 1.5rem 0;
  background: none;
  border-bottom: 1.5px solid #e0e0e0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.main-header h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  color: #222;
  letter-spacing: -1px;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-mode .main-header h1 {
  color: #fff;
}

.metallic {
  color: #e53935;
  text-shadow: none;
}

.main-header p {
  font-size: 1.2rem;
  color: #444;
  margin: 0;
  font-weight: 400;
}

body.dark-mode .main-header p {
  color: #fff;
}

.cta-info {
  margin-top: 1.2rem;
  background: #fff3e0;
  color: #b71c1c;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 500px;
  box-shadow: 0 2px 8px rgba(229,57,53,0.07);
}
body.dark-mode .cta-info {
  background: #232323;
  color: #ff8a65;
}

.theme-toggle {
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  outline: none;
}
.theme-toggle:hover {
  background: #ffeaea;
  box-shadow: 0 4px 16px rgba(229,57,53,0.12);
}
body.dark-mode .theme-toggle {
  background: #232323;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  margin: 0 auto;
}

.cv-card {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(60,60,60,0.07);
  transition: border 0.2s, box-shadow 0.3s, transform 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 2.75rem 3.5rem 1.88rem 3.5rem;
  min-height: 440px;
  opacity: 0;
  transform: translateY(40px);
  animation: cardFadeIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
.cv-card:nth-child(1) { animation-delay: 0.05s; }
.cv-card:nth-child(2) { animation-delay: 0.1s; }
.cv-card:nth-child(3) { animation-delay: 0.15s; }
.cv-card:nth-child(4) { animation-delay: 0.2s; }
.cv-card:nth-child(5) { animation-delay: 0.25s; }
.cv-card:nth-child(6) { animation-delay: 0.3s; }
.cv-card:nth-child(7) { animation-delay: 0.35s; }
.cv-card:nth-child(8) { animation-delay: 0.4s; }
.cv-card:nth-child(9) { animation-delay: 0.45s; }
.cv-card:nth-child(10) { animation-delay: 0.5s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cv-card:hover {
  border: 1.5px solid #e53935;
  box-shadow: 0 8px 32px rgba(229,57,53,0.13), 0 2px 8px rgba(60,60,60,0.07);
  transform: translateY(-6px) scale(1.025);
  background: #fff7f7;
}
body.dark-mode .cv-card {
  background: #232323;
  border: 1.5px solid #333;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
body.dark-mode .cv-card:hover {
  background: #2d2d2d;
  border: 1.5px solid #e53935;
}

.cv-svg-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-svg-icon svg {
  width: 100%;
  height: 100%;
  stroke: #e53935;
  stroke-width: 2.2;
  fill: none;
}
body.dark-mode .cv-svg-icon svg {
  stroke: #ff8a65;
}

.cv-preview {
  display: none;
}

.cv-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 0 1.2rem 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: #222;
  text-align: left;
  letter-spacing: 0.2px;
  position: relative;
  padding-bottom: 0.3rem;
}
.cv-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: #e53935;
  border-radius: 2px;
  margin-top: 0.4rem;
}
body.dark-mode .cv-title {
  color: #fff;
}
body.dark-mode .cv-title::after {
  background: #ff8a65;
}

.cv-actions {
  margin-top: auto;
}

.cv-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(229,57,53,0.08);
  letter-spacing: 0.5px;
}
.cv-btn:hover {
  background: #b71c1c;
  color: #fff;
  box-shadow: 0 4px 16px rgba(229,57,53,0.18);
  transform: scale(1.04);
}
body.dark-mode .cv-btn {
  background: #ff8a65;
  color: #232323;
}
body.dark-mode .cv-btn:hover {
  background: #e53935;
  color: #fff;
}

footer {
  text-align: left;
  padding: 2rem 0 1.5rem 0;
  background: none;
  border-top: 1.5px solid #e0e0e0;
  color: #888;
  font-size: 1rem;
  letter-spacing: 1px;
  max-width: 1200px;
  margin: 0 auto;
}
body.dark-mode footer {
  border-top: 1.5px solid #333;
  color: #bbb;
}

@media (max-width: 1100px) {
  .cv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .cv-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 0.5rem;
    gap: 1rem;
  }
  .main-header h1 {
    font-size: 1.5rem;
  }
  .main-header, footer {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .cv-create-container {
    max-width: 420px;
    width: 100%;
    margin: 1.2rem auto 1.2rem auto;
    padding: 1.2rem;
    box-sizing: border-box;
  }
  .blog-section {
    padding: 0.7rem;
  }
  .blog-section h2 {
    margin-bottom: 1.2rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 420px;
    margin: 0 auto;
  }
  .blog-card {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 1.2rem;
    margin: 0 auto 1.2rem auto;
  }
  .cv-card {
    min-height: 325px;
    padding: 1.88rem 0.88rem 1.5rem 0.88rem;
  }
}

.create-cv-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: #e53935;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(229,57,53,0.13);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.create-cv-btn:hover {
  background: #b71c1c;
  box-shadow: 0 8px 32px rgba(229,57,53,0.18);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}
body.dark-mode .create-cv-btn {
  background: #ff8a65;
  color: #232323;
}
body.dark-mode .create-cv-btn:hover {
  background: #e53935;
  color: #fff;
}

.cv-create-body {
  background: #fafbfc;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  margin: 0;
  transition: background 0.3s, color 0.3s;
}
.cv-create-container {
  max-width: 520px;
  margin: 3.5rem auto 0 auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(60,60,60,0.09);
  padding: 2.5rem 2rem 2rem 2rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #e53935;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.back-link:hover {
  color: #b71c1c;
}
.cv-create-container h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 2rem 0;
  color: #222;
}
.cv-create-body.dark-mode,
body.dark-mode .cv-create-body {
  background: #181a1b;
  color: #f5f5f5;
}
body.dark-mode .cv-create-container {
  background: #232323;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}
body.dark-mode .cv-create-container h2 {
  color: #fff;
}
.form-row {
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
}
.form-row label {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #e53935;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.form-row input,
.form-row textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.7rem;
  background: #fafbfc;
  color: #222;
  outline: none;
  transition: border 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  border: 1.5px solid #e53935;
  background: #fff7f7;
}
body.dark-mode .form-row input,
body.dark-mode .form-row textarea {
  background: #232323;
  color: #fff;
  border: 1.5px solid #333;
}
body.dark-mode .form-row input:focus,
body.dark-mode .form-row textarea:focus {
  border: 1.5px solid #ff8a65;
  background: #2d2d2d;
}
.repeat-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.5rem 1.3rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.7rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(229,57,53,0.08);
  letter-spacing: 0.5px;
}
.repeat-btn:hover {
  background: #b71c1c;
  box-shadow: 0 4px 16px rgba(229,57,53,0.18);
  transform: scale(1.04);
}
body.dark-mode .repeat-btn {
  background: #ff8a65;
  color: #232323;
}
body.dark-mode .repeat-btn:hover {
  background: #e53935;
  color: #fff;
}
.download-btn {
  width: 100%;
  margin-top: 1.7rem;
  background: #e53935;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.9rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(229,57,53,0.13);
  border: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.download-btn:hover {
  background: #b71c1c;
  box-shadow: 0 8px 32px rgba(229,57,53,0.18);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}
body.dark-mode .download-btn {
  background: #ff8a65;
  color: #232323;
}
body.dark-mode .download-btn:hover {
  background: #e53935;
  color: #fff;
}
.repeat-list {
  margin-bottom: 0.5rem;
}
.repeat-list .repeat-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.repeat-list input {
  flex: 1;
}
.repeat-list .remove-btn {
  background: #eee;
  color: #e53935;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.repeat-list .remove-btn:hover {
  background: #ffeaea;
  color: #b71c1c;
}
body.dark-mode .repeat-list .remove-btn {
  background: #232323;
  color: #ff8a65;
}
body.dark-mode .repeat-list .remove-btn:hover {
  background: #2d2d2d;
  color: #e53935;
}
.hint {
  color: #888;
  font-size: 0.95em;
  font-weight: 400;
  margin-left: 0.3em;
}
body.dark-mode .hint {
  color: #bbb;
}
@media (max-width: 700px) {
  .cv-create-container {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
}

.blog-section {
  margin: 0 auto 3rem auto;
  padding: 0;
}
.blog-section h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #e53935;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(60,60,60,0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(229,57,53,0.13), 0 2px 8px rgba(60,60,60,0.07);
  transform: translateY(-4px) scale(1.025);
}
.blog-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.7rem;
}
.blog-desc {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.blog-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(229,57,53,0.08);
  letter-spacing: 0.5px;
}
.blog-btn:hover {
  background: #b71c1c;
  color: #fff;
  box-shadow: 0 4px 16px rgba(229,57,53,0.18);
  transform: scale(1.04);
}
body.dark-mode .blog-card {
  background: #232323;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
body.dark-mode .blog-title {
  color: #fff;
}
body.dark-mode .blog-desc {
  color: #bbb;
}
body.dark-mode .blog-btn {
  background: #ff8a65;
  color: #232323;
}
body.dark-mode .blog-btn:hover {
  background: #e53935;
  color: #fff;
}
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .blog-section {
    padding: 0 0.5rem;
  }
}

.cv-img-preview {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 0.7rem;
  background: #f5f5f5;
  margin-bottom: 1.5rem;
  border: 1.5px solid #e0e0e0;
  display: block;
}

.seo-section {
  margin: 2.5rem auto;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(60,60,60,0.07);
  max-height: 320px;
  overflow-y: auto;
}
body.dark-mode .seo-section {
  background: #232323;
  border-color: #333;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.seo-section h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #e53935;
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
}
.seo-section p {
  color: #444;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
body.dark-mode .seo-section h2 {
  color: #ff8a65;
}
body.dark-mode .seo-section p {
  color: #bbb;
}
@media (max-width: 700px) {
  .seo-section {
    padding: 0 0.5rem;
  }
  .seo-section h2 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2.2rem 0 1.5rem 0;
  padding: 0 0.2rem;
}
.fields-grid > div {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(60,60,60,0.07);
  padding: 1.1rem 0.5rem;
  text-align: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #e53935;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}
.fields-grid > div:hover {
  background: #ffeaea;
  color: #b71c1c;
  box-shadow: 0 4px 16px rgba(229,57,53,0.13);
}
body.dark-mode .fields-grid > div {
  background: #232323;
  color: #ff8a65;
}
body.dark-mode .fields-grid > div:hover {
  background: #2d2d2d;
  color: #e53935;
}
@media (max-width: 900px) {
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} 