/* ========================================
   AROVA AGENCY - Landing Page Styles
   ======================================== */

/* CSS Custom Properties */
:root {
  --dark-navy: #061426;
  --deep-navy: #081B38;
  --electric-blue: #1683FF;
  --bright-blue: #087CFF;
  --white: #FFFFFF;
  --light-bg: #F5F9FF;
  --dark-text: #102A4C;
  --muted-text: #60738F;
  --border-color: #D7E4F3;
  --error-red: #EF4444;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --handwritten: 'Caveat', cursive;
  --max-width: 1200px;
  --hero-padding: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: var(--dark-navy);
  background-image: 
    radial-gradient(ellipse at 70% 50%, rgba(22, 131, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(22, 131, 255, 0.05) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: brightness(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.header-tagline {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* ========================================
   HERO CONTENT
   ======================================== */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 20px 0 40px;
}

/* Left Column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 131, 255, 0.12);
  border: 1px solid rgba(22, 131, 255, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  width: fit-content;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--electric-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Headline */
.hero-headline {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-headline .highlight {
  color: var(--electric-blue);
  display: block;
}

.headline-underline {
  width: 80px;
  height: 3px;
  background: var(--electric-blue);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* Description */
.hero-description {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

/* Founder Info */
.founder-info {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.founder-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-avatar {
  width: 40px;
  height: 40px;
  background: var(--electric-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-avatar svg {
  color: var(--white);
}

.founder-text {
  display: flex;
  flex-direction: column;
}

.founder-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.founder-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.founder-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.founder-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  color: var(--electric-blue);
  display: flex;
  align-items: center;
}

.phone-number {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}

.phone-number:hover {
  color: var(--electric-blue);
}

/* CTA */
.cta-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--electric-blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(22, 131, 255, 0.35);
  white-space: nowrap;
}

.cta-button:hover {
  background: #0a6fe0;
  box-shadow: 0 6px 28px rgba(22, 131, 255, 0.45);
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(22, 131, 255, 0.3);
}

.cta-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(3px);
}

.cta-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* ========================================
   RIGHT COLUMN - FOUNDER IMAGE
   ======================================== */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 20px;
}

.founder-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.founder-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.founder-image-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--dark-navy));
  pointer-events: none;
  z-index: 3;
}

/* Decorative Logo */
.decorative-logo {
  position: absolute;
  top: 10px;
  right: -10px;
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

.decorative-logo-img {
  width: 280px;
  height: 240px;
  object-fit: contain;
  filter: brightness(1.4) saturate(0.7);
}

/* Handwritten Annotation */
.handwritten-annotation {
  position: absolute;
  right: -10px;
  top: 38%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.handwritten-text {
  font-family: var(--handwritten);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  opacity: 0.85;
}

.annotation-arrow {
  margin-top: -2px;
  transform: rotate(-10deg);
}

/* ========================================
   FORM SECTION
   ======================================== */
.form-section {
  background: var(--light-bg);
  padding: 80px 40px 100px;
}

.form-container {
  max-width: 780px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 48px 48px 40px;
  box-shadow: 0 4px 30px rgba(6, 20, 38, 0.06);
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 36px;
}

.form-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.title-highlight {
  color: var(--electric-blue);
}

.title-line-left,
.title-line-right {
  width: 30px;
  height: 2px;
  background: var(--electric-blue);
  border-radius: 1px;
  flex-shrink: 0;
}

.form-subtitle {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.7;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.form-label svg {
  color: var(--muted-text);
  flex-shrink: 0;
}

.required {
  color: var(--error-red);
}

.optional {
  font-weight: 400;
  color: var(--muted-text);
}

/* Inputs */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--dark-text);
  background: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.25s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(22, 131, 255, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--error-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Select */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  color: #94A3B8;
}

.select-wrapper select:valid {
  color: var(--dark-text);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
  pointer-events: none;
}

/* Error Messages */
.error-message {
  display: block;
  font-size: 12px;
  color: var(--error-red);
  margin-top: 6px;
  min-height: 16px;
}

/* Submit Button */
.submit-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--electric-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-family);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(22, 131, 255, 0.3);
}

.submit-button:hover:not(:disabled) {
  background: #0a6fe0;
  box-shadow: 0 6px 24px rgba(22, 131, 255, 0.4);
  transform: translateY(-1px);
}

.submit-button:active:not(:disabled) {
  transform: translateY(0);
}

.submit-button:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}

.submit-button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.submit-button .submit-loading {
  display: none;
  animation: spin 0.8s linear infinite;
}

.submit-button.loading .submit-text,
.submit-button.loading .submit-icon {
  display: none;
}

.submit-button.loading .submit-loading {
  display: inline-flex;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success State */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success[hidden] {
  display: none;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  margin-bottom: 16px;
  color: #22C55E;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.reset-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--electric-blue);
  border: 1.5px solid var(--electric-blue);
  border-radius: 50px;
  transition: all 0.2s;
}

.reset-button:hover {
  background: var(--electric-blue);
  color: var(--white);
}

/* Error Banner */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: #B91C1C;
}

.form-error-banner[hidden] {
  display: none;
}

.form-error-banner a {
  color: var(--error-red);
  font-weight: 600;
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-navy);
  padding: 32px 40px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.1;
}

.footer-logo-sub {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 4px;
}

.footer-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.footer-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--electric-blue);
  margin-top: 2px;
  transition: color 0.2s;
}

.footer-phone:hover {
  color: #4da6ff;
}

.footer-phone svg {
  color: var(--electric-blue);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-left {
    animation: fadeInUp 0.8s ease-out;
  }

  .hero-right {
    animation: fadeInRight 0.8s ease-out 0.2s both;
  }

  .form-card {
    animation: fadeInUp 0.6s ease-out 0.3s both;
  }

  .badge {
    animation: fadeInDown 0.6s ease-out 0.1s both;
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet & below: 1024px */
@media (max-width: 1024px) {
  .hero-container {
    padding: 0 32px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-headline {
    font-size: clamp(28px, 4vw, 44px);
  }

  .decorative-logo-img {
    width: 220px;
    height: 220px;
  }

  .founder-image {
    max-height: 440px;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  :root {
    --hero-padding: 60px;
  }

  .header-tagline {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 20px;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
    min-height: 320px;
    justify-content: center;
  }

  .founder-image-wrapper {
    max-width: 320px;
  }

  .founder-image {
    max-height: 380px;
  }

  .decorative-logo {
    top: -10px;
    right: -20px;
  }

  .decorative-logo-img {
    width: 180px;
    height: 180px;
  }

  .handwritten-annotation {
    right: 10px;
    top: 30%;
  }

  .handwritten-text {
    font-size: 16px;
  }

  .form-section {
    padding: 60px 20px 80px;
  }

  .form-card {
    padding: 36px 28px 32px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .hero-container {
    padding: 0 20px;
  }

  .hero-headline {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  .founder-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .founder-divider {
    width: 100%;
    height: 1px;
  }

  .cta-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-right {
    min-height: 280px;
  }

  .founder-image-wrapper {
    max-width: 280px;
  }

  .founder-image {
    max-height: 320px;
  }

  .form-section {
    padding: 48px 16px 64px;
  }

  .form-card {
    padding: 28px 20px 24px;
    border-radius: 16px;
  }

  .form-title {
    font-size: 22px;
    gap: 8px;
  }

  .title-line-left,
  .title-line-right {
    width: 20px;
  }

  .form-subtitle {
    font-size: 13px;
  }

  .footer {
    padding: 24px 20px;
  }

  .footer-logo-name {
    font-size: 16px;
  }

  .footer-name {
    font-size: 13px;
  }

  .footer-role {
    font-size: 11px;
  }
}

/* Small mobile: 375px */
@media (max-width: 375px) {
  .hero-headline {
    font-size: 24px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  .form-card {
    padding: 24px 16px 20px;
  }

  .form-label {
    font-size: 12px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .submit-button {
    padding: 14px 24px;
    font-size: 15px;
  }
}