/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Core Colors */
  --color-primary: #FA743E;
  --color-primary-hover: #db5f27;
  --color-text: #151F4C;
  --color-text-secondary: #151f4cbb;
  --color-text-light: #7b8aa0;
  --color-white: #ffffff;
  --color-background: #f5f5f5;
  --color-surface: #ffffff;
  --color-border: #e1e5e9;
  
  /* Typography */
  --font-family-base: "Outfit", sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;
  
  /* Spacing */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  
  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: ease;
  
  /* Layout */
  --container-xl: 1280px;
  
  /* Key Benefits Section Colors */
  --color-panel-bg: #151F4C;
  --color-tab-bg: #fff;
  --color-tab-text: #13293b;
  --color-tab-text-active: #FA743E;
  --color-tab-bg-active: #fff7f2;
  --color-tab-border: #efd8cc;
}

/* ========== RESET & BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-image: url("images/background.png");
  background-size: cover;
  /* background-color: var(--color-background); */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin: 0 0 var(--space-16) 0;
  line-height: var(--line-height-normal);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

/* ========== LAYOUT UTILITIES ========== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--space-20);
}

/* ========== HERO SECTION ========== */
.hero {
  margin: 7rem 0;
  display: flex;
  align-items: center;
  padding: var(--space-32) 0;
}

.hero-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 12vw;
  display: flex;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-32);
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 300;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-20);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

.hero-content .highlight {
  color: var(--color-primary);
  font-weight: 600;
}

.hero-content p {
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: var(--space-32);
  line-height: var(--line-height-normal);
  width: 70%;
}

.cta-button {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: var(--space-16) var(--space-32);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 600px;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* Floating Elements Animation */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--color-surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  font-size: 1.2rem;
  animation: float 3s ease-in-out infinite;
  border: 1px solid var(--color-border);
}

.icon-1 { top: 20%; right: 10%; animation-delay: 0s; }
.icon-2 { bottom: 30%; right: 5%; animation-delay: 1s; }
.icon-3 { top: 60%; left: 10%; animation-delay: 2s; }

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

/* ========== ACCOUNT PROTECTION SECTION ========== */
.account-protection {
  margin: 5vh auto;
  padding: var(--space-32) 0;
  text-align: center;
}

.account-protection h2 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: var(--space-20);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-32);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-normal);
}

.protection-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}



.feature-card h3 {
  font-size: 25px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-16);
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text);
  line-height: var(--line-height-normal);
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("images/360\ Monetization\ Solutions.png");
  background-size: cover;
  padding: 11vh 10vw;
  color: var(--color-white);
}

.products-text {
  max-width: 50%;
}

.products-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--color-white);
}

.products-text p {
  font-size: 20px;
  width: 60%;
  margin-bottom: 20px;
  color: #d0c8f1;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-white);
  margin-bottom: 12px;
  transition: 0.3s;
  border: 1px solid #ccc;
  width: 60%;
  font-family: var(--font-family-base);
}

.product-btn img {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  height: 100px;
  width: 90px;
  padding: 20px;
  margin-right: 10px;
  background-color: var(--color-white);
}

.product-btn:hover {
  transform: translateY(-2px);
}

.product-btn span {
  flex-grow: 1;
  font-size: 2rem;
}

.arrow {
  font-size: 18px;
  text-align: right;
  padding: 0 2rem;
}

.products-image img {
  width: 350px;
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose {
  padding: 15vh 0;
  text-align: center;
}

.why-choose h2 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: var(--space-20);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.feature-item {
  background: var(--color-white);
  padding: var(--space-24);
  height: auto;
  min-height: 300px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  text-align: center;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-item .feature-icon {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-20);
}

.feature-item h3 {
  font-size: 25px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

.feature-item p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ========== KEY BENEFITS SECTION ========== */
.key-benefits {
  background: var(--color-white);
}

.key-benefits__container {
  width: 100%;
  display: flex;
  gap: 64px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

/* Left Display Panel */
.key-benefits__display {
  flex: 1 1 370px;
  background: var(--color-panel-bg);
  padding: 3rem;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: auto;
  position: relative;
  transition: box-shadow 0.29s;
}

.benefit-panel {
  color: var(--color-white);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35em;
  animation: fadePanel 0.35s;
  height: auto;
  min-height: 350px;
  width: 80%;
}

.benefit-panel.active { 
  display: flex; 
}

@keyframes fadePanel {
  0% { 
    opacity: 0; 
    transform: translateY(12px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0);
  }
}

.benefit-logo {
  width: 100px; 
  height: 100px; 
  margin-bottom: 0.7em;
  object-fit: contain;
}

.benefit-panel h3 {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.61em;
}

.benefit-panel ul {
  margin: 0 0 0 0.2em;
  padding-left: 1.1em;
  color: var(--color-white);
  font-size: 1.04rem;
  display: flex; 
  flex-direction: column; 
  gap: 0.33em;
  list-style: none;
}

.benefit-panel ul li {
  margin-bottom: 0;
}

.benefit-panel p {
  margin-bottom: 0.4em; 
  color: var(--color-text-light);
}

/* Right Tabs Panel */
.key-benefits__tabs {
  flex: 1 1 320px;
  width: 60%;
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.key-benefits__tabs h3 {
  color: var(--color-text); 
  font-size: 4rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.4rem;
}

.benefits-tablist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; 
  flex-direction: column; 
  gap: 0.45em;
  width: 80%;
}
.benefits-tablist  li::before {
  content: "";
  display: inline-block;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  margin-right: 50px;
}
.benefits-tab {
  background: var(--color-tab-bg);
  color: var(--color-tab-text);
  font-weight: var(--font-weight-medium);
  padding: 1.1em 1.4em;
  margin-left: 0;
  border-radius: 9px;
  border: 1.5px solid var(--color-tab-border);
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  transition: background 0.19s, color 0.17s, border-color 0.2s;
  margin-bottom: 0.41em;
  box-shadow: 0 1px 8px 0 rgba(190,168,140,0.06);
  text-align: left;
  position: relative;
}

.benefits-tab.active,
.benefits-tab[aria-selected="true"] {
  color: var(--color-tab-text-active);
  background: var(--color-tab-bg-active);
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 16px 0 rgba(250,116,62,0.03);
}

.benefits-tab:focus {
  box-shadow: 0 0 0 3px #ffd5b06c;
  border-color: var(--color-primary);
}

.benefits-tab:last-child { 
  margin-bottom: 0;
}

.benefits-tab:hover:not(.active) {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ========== SUCCESS SPOTLIGHT SECTION ========== */
.success-spotlight {
  padding: 10vh 0;
  text-align: center;
}

.success-spotlight .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.success-spotlight h2 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: var(--space-20);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

.success-spotlight p {
  font-size: 25px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-32);
  margin-top: var(--space-32);
}

.testimonial-card {
  background: var(--color-white);
  height: auto;
  min-height: 350px;
  width: 20vw;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-12);
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-20);
}

.testimonial-header img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 30px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.testimonial-info span {
  color: black;
  font-size: 20px;
}

.testimonial-card p {
  color: #141E4B;
  line-height: var(--line-height-normal);
  font-size: 15px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Better spacing for card content */
.feature-card > *:not(:last-child),
.feature-item > *:not(:last-child) {
  margin-bottom: var(--space-16);
}

.testimonial-card > *:not(:last-child) {
  margin-bottom: var(--space-12);
}

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

/* Height-based media queries for better card handling */
@media (max-height: 972px) {

  
  .feature-item {
    min-height: 280px;
  }
  
  .testimonial-card {
    min-height: 320px;
  }
  
  .benefit-panel {
    min-height: 320px;
  }
  
  .key-benefits__display {
    min-height: 350px;
  }
}

@media (max-height: 800px) {

  
  .feature-item {
    min-height: 260px;
    padding: var(--space-20);
  }
  
  .testimonial-card {
    min-height: 300px;
  }
  
  .benefit-panel {
    min-height: 300px;
  }
  
  .key-benefits__display {
    min-height: 320px;
    padding: 2rem;
  }
}

@media (max-height: 600px) {

  .feature-item,
  .testimonial-card {
    min-height: auto;
    padding: var(--space-16);
  }
  
  .benefit-panel {
    min-height: auto;
  }
  
  .key-benefits__display {
    min-height: auto;
    padding: 1.5rem;
  }
  
  .feature-card h3,
  .feature-item h3 {
    font-size: 22px;
  }
  
  .testimonial-info h4 {
    font-size: 26px;
  }
  
  .benefit-panel h3 {
    font-size: 1.9rem;
  }
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-32);
    padding: 0 5vw;
  }
  .hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content p {
    width: 80%;
    text-align: center;
  }
  
  .account-protection h2,
  .why-choose h2,
  .success-spotlight h2 {
    font-size: 3.5rem;
  }
  
  .section-subtitle {
    font-size: 1.8rem;
  }
  
  .products-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .products-text {
    max-width: 80%;
  }
  
  .key-benefits__container {
    flex-direction: column;
    gap: 2.3em;
  }
  
  .key-benefits__display, 
  .key-benefits__tabs {
    max-width: 100vw;
    min-width: 0;
    flex: none;
    width: 100%;
  }
  
  .key-benefits__tabs h3 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  body{
    transform: scale(0.8);
  margin: 0 auto;
  transform-origin: top left;
  width: 125.11%;    /* compensate for scale (1 / 0.9 ≈ 111%) */
  margin-bottom: -74rem;
  overflow-x: hidden; 
  }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
  .hero {
    margin: 5rem 0;
    padding: var(--space-24) 0;
  }
  
  .hero-container {
    padding: 0 var(--space-16);
    gap: var(--space-24);
  }
  
  .hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    width: 100%;
  }
  
  .hero-image {
    order: -1;
  }
  
  .floating-elements {
    display: none;
  }
  
  .account-protection h2,
  .why-choose h2,
  .success-spotlight h2 {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
  
  .protection-features,
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .feature-item {
    min-height: 280px;
    padding: var(--space-24);
  }
  
  .products-section {
    padding: 8vh 5vw;
  }
  
  .products-text {
    max-width: 100%;
  }
  
  .products-text h2 {
    font-size: 2.5rem;
  }
  
  .products-text p {
    width: 100%;
    font-size: 18px;
  }
  
  .product-btn {
    width: 100%;
  }
  
  .product-btn span {
    font-size: 1.5rem;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .testimonial-card {
    width: 100%;
    min-height: 280px;
  }
  
  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }
  
  .key-benefits__tabs h3 {
    font-size: 2.5rem;
  }
  
  .benefits-tablist {
    width: 100%;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-16);
  }
  
  .hero {
    margin: 3rem 0;
    padding: var(--space-20) 0;
  }
  
  .hero-container {
    gap: var(--space-20);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: var(--space-16) var(--space-24);
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }
  
  .account-protection,
  .why-choose,
  .success-spotlight {
    padding: 8vh 1rem;
  }
  
  .account-protection h2,
  .why-choose h2,
  .success-spotlight h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--space-24);
  }
  
  .success-spotlight p {
    font-size: 18px;
  }
  
  .protection-features,
  .features-grid,
  .testimonials {
    gap: var(--space-20);
  }
  
 
  .feature-item,
  .testimonial-card {
    padding: var(--space-20);
    min-height: 250px;
  }
  
  .feature-icon {
    width: 100px;
    height: 100px;
  }
  
  .feature-item .feature-icon {
    width: 80px;
    height: 80px;
  }
  
  .products-section {
    padding: 6vh 3vw;
  }
  
  .products-text h2 {
    font-size: 2rem;
  }
  
  .products-text p {
    font-size: 16px;
  }
  
  .product-btn span {
    font-size: 1.2rem;
  }
  
  .product-btn img {
    height: 60px;
    width: 70px;
    padding: 15px;
  }
  
  .products-image img {
    width: 280px;
  }
  
  .key-benefits__display {
    padding: 2rem;
  }
  
  .key-benefits__tabs h3 {
    font-size: 2rem;
  }
  
  .benefits-tab {
    font-size: 0.95rem;
    padding: 0.9em 1.1em;
  }
  
  .benefit-panel h3 {
    font-size: 1.8rem;
  }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-12);
  }
  
  .hero-container {
    padding: 0 var(--space-12);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .account-protection h2,
  .why-choose h2,
  .success-spotlight h2 {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .success-spotlight p {
    font-size: 16px;
  }
  
  .products-text h2 {
    font-size: 1.8rem;
  }
  
  .products-text p {
    font-size: 14px;
  }
  
  .product-btn span {
    font-size: 1rem;
  }
  
  .feature-card h3,
  .feature-item h3 {
    font-size: 20px;
  }
  
  .testimonial-info h4 {
    font-size: 24px;
  }
  
  .key-benefits__tabs h3 {
    font-size: 1.8rem;
  }
  
  .benefit-panel h3 {
    font-size: 1.5rem;
  }
}