@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Space+Grotesk:wght@300..700&display=swap');

/* Global variables for consistent styling */
:root {
  --black: #000;
  --white: #fff;
  --primary-blue: #007bff;
  --text-main: #1a1a1a;
  --text-gray: #555;
  --failed-bg: #fedddf;
  --failed-text: #4a1b24;
  --accent-red: #db232a;
  --bg-gray: #ddd;
  --font-medium: 600;
  --font-bold: 800;
  --font-main: 'Space Grotesk', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base body layout and typography */
body {
  font-family: var(--font-main);
  background-color: #f5f5f5;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
}

/* Main wrapper for the application */
.container {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  width: 90%;
  max-width: 550px;
  text-align: center;
}

/* Headings and subheadings styling */
.title {
  font-size: clamp(2rem, 8vw, 3.5rem); 
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.title span {
  color: var(--primary-blue);
}

.subtitle {
  font-size: clamp(0.9rem, 4vw, 1.2rem);
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.5;
  opacity: 0.8;
}