/* =========================================
   Base & Variables
   ========================================= */
:root {
  --color-primary: #1234F0;
  --color-primary-hover: #0E29C1;
  --color-secondary: #0A2540;
  --color-background-dark: #07192C; /* Darker navy */
  --color-background-light: #F8FAFC;
  --color-text-dark: #0f172a;
  --color-text-light: #64748b;
  --color-white: #FFFFFF;
  --color-highlight: #60A5FA;
  --color-border: #E2E8F0;
  --font-sans: 'Inter', sans-serif;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* =========================================
   Typography & Buttons
   ========================================= */
h1, h2, h3, h4 {
  color: var(--color-secondary);
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(18, 52, 240, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 52, 240, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: #051626;
}

.w-100 {
  width: 100%;
}

.arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
  background: radial-gradient(136.21% 141.01% at 50% 10%, #0A2540 0%, #061524 100%);
  padding: 100px 0 80px;
  color: var(--color-white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--color-highlight);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 24px;
}

.highlight {
  color: var(--color-highlight);
}

.hero-subtitle {
  font-size: 18px;
  color: #94A3B8;
  max-width: 700px;
  margin: 0 auto 32px;
}

.value-prop {
  font-size: 15px;
  color: #E2E8F0;
  margin-bottom: 40px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
}

.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.trust-text {
  font-size: 13px;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* =========================================
   Trust Shield (Banking Pattern)
   ========================================= */
.security-shield {
  background-color: #020617; /* Slate 950 - very deep background */
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  margin-top: -30px; /* Slight overlap */
}

.security-card {
  background-color: #0F172A; /* Slate 900 - distinct and clear solid card */
  border: 1px solid #1E293B; /* Slate 800 */
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

/* Animated Security Gradient Border */
.security-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #3B82F6, #10B981);
  background-size: 200% auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  animation: gradientPan 4s linear infinite;
}

@keyframes gradientPan {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.security-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #10B981; /* Emerald */
  margin-bottom: 40px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 clean columns */
  gap: 32px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  /* Trust Animation Pulse */
  animation: pulseGlow 3s infinite ease-in-out;
}

.security-icon svg {
  width: 26px;
  height: 26px;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.security-details h4 {
  color: var(--color-white);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.security-details p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   Layout Grids
   ========================================= */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.align-center {
  align-items: center;
}

/* =========================================
   Sneak Peek
   ========================================= */
.sneak-peek-section {
  padding: 100px 0;
  background-color: var(--color-background-light);
}

.sneak-peek-section h2, .how-it-works-section h2, .about-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sneak-peek-section p {
  color: var(--color-text-light);
  font-size: 18px;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text-light);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231234F0"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat;
}

.feature-list.no-bullet li {
  padding-left: 0;
}
.feature-list.no-bullet li::before {
  display: none;
}
.feature-list.no-bullet li strong {
  color: var(--color-secondary);
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--color-border);
}

.image-wrapper img {
  width: 100%;
  display: block;
}

/* =========================================
   How It Works
   ========================================= */
.how-it-works-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: #EFF6FF;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* =========================================
   About Architect
   ========================================= */
.about-section {
  padding: 100px 0;
  background-color: var(--color-background-light);
}

.avatar-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  border: 8px solid white;
}

.avatar-placeholder .initials {
  font-size: 80px;
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
}

/* =========================================
   Form Section
   ========================================= */
.form-section {
  padding: 100px 0;
  background-color: white;
}

.form-container {
  max-width: 600px;
  margin: 60px auto 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  padding: 40px;
  position: relative;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.required {
  color: #ef4444;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #F8FAFC;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(18, 52, 240, 0.1);
  background-color: #FFF;
}

/* Custom File Upload */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background-color: #F8FAFC;
  transition: all 0.2s ease;
}

.file-upload-wrapper:hover {
  border-color: var(--color-primary);
  background-color: #EFF6FF;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-trigger {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-weight: 500;
}

.file-note {
  font-size: 12px;
  color: #64748B;
  margin-top: 8px;
}

/* Loading State for Button */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  text-align: center;
}

.form-message.error {
  background-color: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* Success State */
.success-state {
  text-align: center;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.success-state h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.success-state p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.pdf-preview {
  background: #F1F5F9;
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
}

.pdf-header {
  background: var(--color-secondary);
  color: white;
  padding: 8px 12px;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.pdf-thumbnail {
  width: 100%;
  display: block;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

/* Footer */
.main-footer {
  background-color: var(--color-background-dark);
  color: #94A3B8;
  padding: 40px 0;
  font-size: 14px;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 40px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; }
  .form-container { padding: 24px; }
}
