/* Modern CSS Reset */
:root {
  --primary-color: #D3031B;
  --primary-gradient: linear-gradient(120deg, #D3031B, #8C0011);
  --secondary-color: #FF444F;
  --accent-color: #D3031B;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-text: #f8fafc;
  --gray-text: #cbd5e1;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --border-radius: 12px;
}

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

/* Global Styles */
html {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--font-body);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
}

/* Background and animated elements */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
  opacity: 0.9;
}

.animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: var(--primary-gradient);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.shape-1 {
  top: 15%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  animation: float 15s infinite alternate;
}

.shape-2 {
  bottom: -10%;
  right: -5%;
  width: 35vw;
  height: 35vw;
  background: linear-gradient(120deg, var(--accent-color), #FF8A92);
  animation: float 18s 1s infinite alternate-reverse;
}

.shape-3 {
  top: 45%;
  right: 20%;
  width: 25vw;
  height: 25vw;
  background: linear-gradient(120deg, var(--primary-color), #970213);
  animation: float 20s 2s infinite alternate;
}

.shape-4 {
  bottom: 20%;
  left: 15%;
  width: 20vw;
  height: 20vw;
  background: linear-gradient(120deg, #FF444F, var(--primary-color));
  animation: float 17s 1.5s infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Content Layout */
.content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full height */
  padding: 0;
  margin: 0 auto;
  width: 100%;
  justify-content: flex-start; /* Start content from top */
  overflow: hidden; /* Prevent scrolling */
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

/* Main content spacing */

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
  padding: 0;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem; /* Increased for 2K screens */
  margin-bottom: 1.8rem; /* Increased space to prevent text overlap */
  line-height: 1.2; /* Increased line height */
  text-align: center;
  background: linear-gradient(to right, #ffffff, var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(211, 3, 27, 0.1);
}

.subtitle {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem; /* Increased margin */
}

h2 {
  font-size: 1.5rem; /* Increased for 2K screens */
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  max-width: 800px; /* Wider max-width */
  color: var(--gray-text);
}

h3 {
  font-size: 1.25rem; /* Increased for 2K screens */
  font-weight: 600;
  margin-top: 0.75rem;
}

/* Logo */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  width: 100%;
  letter-spacing: 0.5px;
}

.logo i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: 0 0 5px rgba(211, 3, 27, 0.5);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 2.5rem; /* Increased gap */
  margin: 2rem 0; /* Increased margin */
  flex-wrap: wrap;
}

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 1.5rem; /* Increased padding */
  width: 220px; /* Increased width */
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.07);
}

.feature i {
  font-size: 2.5rem; /* Increased icon size */
  color: var(--accent-color);
  margin-bottom: 0.75rem; /* Increased margin */
}

/* Spacing for main section */
.features {
  margin-bottom: 3rem;
}

/* Call to Action */
.cta-container {
  margin-top: 2.5rem; /* Increased margin */
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem; /* Increased gap */
  padding: 0.9rem 2.25rem; /* Increased padding */
  background: var(--primary-gradient);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem; /* Added font size */
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 15px rgba(211, 3, 27, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 3, 27, 0.4);
}

/* Top Navigation */
.top-nav {
  padding: 1.25rem 0; /* Increased padding */
  text-align: center;
  font-size: 1rem; /* Increased font size */
  color: var(--light-text);
  position: relative;
  z-index: 10;
  width: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media screen and (max-width: 1400px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1.3rem;
    max-width: 700px;
  }
  
  .feature {
    width: 200px;
    padding: 1.3rem;
  }
  
  .feature i {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 989px) {
  .top-nav {
    padding: 1rem 0;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.2rem;
    max-width: 600px;
  }
  
  .features {
    gap: 2rem;
  }
  
  .feature {
    width: 190px;
    padding: 1.2rem;
  }
  
  .feature i {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .feature {
    width: 100%;
    max-width: 300px;
  }
  
  h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 550px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  
  h2 {
    font-size: 1rem;
  }
  
  .top-nav {
    font-size: 0.85rem;
    padding: 0.8rem 0;
  }
  
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .feature i {
    font-size: 1.8rem;
  }
}