* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background-color: #ff6b35;
  color: #ffffff;
}

:root {
  --primary: #ffffff;
  --secondary: #f8f9fa;
  --accent: #ff6b35;
  --accent-light: #ff8c42;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --bg-dark: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.05);
  --border: rgba(255, 107, 53, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  border-bottom: 2px solid #ff6b35;
  height: 70px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
  font-family: "racing sans one", serif;
  letter-spacing: 1px;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(108,117,125,0.9)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 1rem;
}

.hero h1 {
  font-family: "racing sans one", serif;
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent);
}

.cta-button.secondary:hover {
  background: var(--accent);
  color: white;
}

/* About Section */
.about {
  padding: 4rem 5%;
  background: var(--bg-dark);
}

.section-title {
  font-family: "racing sans one", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease-in-out;
  transform: skew(30deg);
}

.feature-card:hover::before {
  left: 140%;
}

.feature-icon {
  font-size: 3.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Templates Section */
.templates {
  padding: 4rem 5%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary) 100%);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.template-card {
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.template-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.template-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
  transform: skew(20deg);
}

.template-card:hover::before {
  left: 130%;
}

.template-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.tag{
  position: absolute;
  content: '';
  bottom: 5px;
  right: 5px;
  background-color: #f8f9fa;
  color: #ff6b35;
  font-size: 12px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  font-style: italic;
  border-radius: 1000px;
  padding: 5px 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tag::after{
  position: absolute;
  content: '';
  left: -190%;
  top: 0;
  height: 100%;
  width: 60px;
  background-color: #f8f9fa;
  filter: blur(10px);
  transform: skew(45deg);
  text-shadow: 0 0 25px #fa79299e;
  transition: all ease-in-out 0.5s;
  animation: tag_shine 2s linear infinite;
}

@keyframes tag_shine{
  from{
    left: -200%;
  }
  to{
    left: 160%;
  }
}

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-content {
  padding: 1.5rem;
}

.template-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.template-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.view-btn {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.view-btn::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #ff6b35;
  transition: all ease-in-out 0.35s;
}

.view-btn:hover::after {
  width: 100%;
}

.view-btn:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
  transform: translateX(5px);
}

/* Contact Section */
.contact {
  padding: 4rem 5%;
  background: var(--bg-dark);
  text-align: center;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-item h4 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.contact-item:hover::before {
  left: 100%;
}

/* Footer */
footer {
  background: var(--secondary);
  padding: 2rem 5%;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--accent);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.social-links a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.8rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.2rem;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    height: 100vh;
  }

  .hero {
    margin-top: 70px;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about,
  .templates,
  .contact {
    padding: 3rem 5%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .templates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .template-card {
    max-width: 100%;
  }

  .featuring-card {
    flex-direction: column;
  }

  .featuring-image {
    height: 300px;
    min-height: 300px;
  }

  .featuring-content {
    padding: 2rem;
  }

  .featuring-content h3 {
    font-size: 1.8rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem 3%;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about,
  .templates,
  .contact {
    padding: 2rem 3%;
  }

  .features-grid,
  .templates-grid {
    gap: 0.8rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .template-image {
    height: 200px;
  }

  .featuring {
    padding: 4rem 3%;
  }

  .featuring-card {
    flex-direction: column;
  }

  .featuring-image {
    height: 250px;
    min-height: 250px;
  }

  .featuring-content {
    padding: 1.5rem;
  }

  .featuring-content h3 {
    font-size: 1.5rem;
  }

  .live-demo-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .footer-content {
    padding: 2rem 3%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.coming-soon-marquee {
  background-color: var(--secondary);
  color: var(--text-primary);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.5rem 0;
  margin: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
}
