* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f5f5f0; color: #222; line-height: 1.6; }
a { color: #FF6B00; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header { background: white; border-bottom: 3px solid #FF6B00; padding: 12px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo { font-weight: 800; font-size: 24px; color: #222; }
.logo span { color: #FF6B00; }
.logo small { font-weight: 300; font-size: 12px; color: #888; display: block; }
.header-nav a { margin-left: 20px; font-size: 14px; font-weight: 600; color: #555; }
.header-nav a:hover { color: #FF6B00; text-decoration: none; }

.hero {
  background: linear-gradient(135deg, #222 0%, #444 100%);
  color: white; text-align: center; padding: 60px 20px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -50px; left: -50px;
  width: 200px; height: 200px; background: rgba(255,107,0,0.1);
  border-radius: 50%;
}
.hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 10px; }
.hero h1 span { color: #FF6B00; }
.hero p { font-size: 18px; color: #ccc; max-width: 600px; margin: 0 auto 30px; }
.hero .powered { font-size: 13px; color: #888; margin-top: 20px; }
.hero .powered strong { color: #FF6B00; }

.shortener-box {
  background: white; border-radius: 12px; padding: 30px;
  max-width: 600px; margin: -40px auto 40px; position: relative; z-index: 2;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.shortener-box h2 { font-size: 18px; color: #333; margin-bottom: 15px; text-align: center; }
.input-group { display: flex; gap: 10px; }
.input-group input {
  flex: 1; padding: 14px 18px; border: 2px solid #ddd; border-radius: 8px;
  font-size: 16px; outline: none; transition: border 0.2s;
}
.input-group input:focus { border-color: #FF6B00; }
.input-group button {
  padding: 14px 28px; background: #FF6B00; color: white; border: none;
  border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.input-group button:hover { background: #e06000; transform: translateY(-1px); }
.input-group button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.result-box { display: none; margin-top: 20px; padding: 20px; background: #f0faf0; border-radius: 8px; border: 1px solid #c8e6c9; text-align: center; }
.result-box .short-url { font-size: 20px; font-weight: 700; color: #2e7d32; word-break: break-all; margin-bottom: 10px; }
.result-box .short-url a { color: #2e7d32; }
.result-box .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.result-box .actions button, .result-box .actions a {
  padding: 8px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 5px;
}
.btn-copy { background: #FF6B00; color: white; }
.btn-copy:hover { background: #e06000; }
.btn-outline-dark { background: transparent; border: 2px solid #222; color: #222; }
.btn-outline-dark:hover { background: #222; color: white; text-decoration: none; }
.error-box { display: none; margin-top: 15px; padding: 12px; background: #fff0f0; border-radius: 8px; border: 1px solid #ffcdd2; color: #c62828; text-align: center; font-size: 14px; }

section { padding: 50px 0; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.section-title span { color: #FF6B00; }
.section-subtitle { text-align: center; color: #888; margin-bottom: 30px; font-size: 16px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { background: white; padding: 30px; border-radius: 12px; text-align: center; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: #666; font-size: 14px; }

.cta-section { background: #222; color: white; text-align: center; padding: 60px 20px; }
.cta-section h2 { font-size: 32px; margin-bottom: 10px; }
.cta-section p { color: #aaa; margin-bottom: 25px; }
.cta-btn { display: inline-block; padding: 16px 40px; background: #FF6B00; color: white; border-radius: 8px; font-weight: 700; font-size: 18px; transition: all 0.2s; }
.cta-btn:hover { background: #e06000; transform: translateY(-2px); text-decoration: none; }

footer { background: #111; color: #888; padding: 40px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 20px; }
.footer-grid h4 { color: white; margin-bottom: 10px; font-size: 15px; }
.footer-grid a { display: block; color: #888; margin-bottom: 6px; }
.footer-grid a:hover { color: #FF6B00; }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; }
.footer-bottom a { color: #FF6B00; }

.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,107,0,0.4); } 70% { box-shadow: 0 0 0 15px rgba(255,107,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); } }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.blog-card-body { padding: 20px; }
.blog-card h3 { font-size: 16px; margin-bottom: 8px; }
.blog-card h3 a { color: #222; }
.blog-card h3 a:hover { color: #FF6B00; }
.blog-card p { font-size: 14px; color: #666; margin-bottom: 10px; }
.blog-card .tag { display: inline-block; padding: 3px 8px; background: #fff0e0; color: #FF6B00; border-radius: 4px; font-size: 11px; font-weight: 600; }

@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .input-group { flex-direction: column; }
  .input-group button { width: 100%; }
  .shortener-box { margin: -30px 10px 30px; padding: 20px; }
  .section-title { font-size: 22px; }
  .header-nav a { margin-left: 10px; font-size: 13px; }
}
