/* ========== 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-14: 14px;
  --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: "outfit",sans-serif;
  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: var(--container-xl);
  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: 1rem;
  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: 5rem;
  font-weight: var(--font-weight-bold);
  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);
}

/* Flip card specific styles for protection-features */
.protection-features .flip-container {
  perspective: 1200px;
  /* min-height: 320px; */
  /* height: auto; */
  padding: 0;
}

.protection-features .flip-inner {
  transition: transform 0.6s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 320px;
}

.protection-features .flip-container:hover .flip-inner,
.protection-features .flip-container:focus-within .flip-inner {
  transform: rotateY(180deg);
}

.protection-features .flip-front, 
.protection-features .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: var(--space-24);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.protection-features .flip-front .feature-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-20);
}

.protection-features .flip-back {
  background: #FFF0DA;
  transform: rotateY(180deg);
  color: var(--color-primary);
  text-align: center;
}

.protection-features .flip-back h4 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-12);
  color: var(--color-primary);
}

.protection-features .flip-back p {
  color: var(--color-primary);
  line-height: var(--line-height-normal);
  font-size: 0.9rem;
  margin: 0;
}

.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;
}

/* ========== 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;
}

.upper .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;
  padding: 1rem;
  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: 80px;
  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;
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5vh auto;
  padding: var(--space-32) 0;
  text-align: center;
}

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


.feature-item {
  background: var(--color-white);
  padding: var(--space-24);
  height: 36vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-standard);
  text-align: center;
  justify-content: space-evenly;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.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);
}

/* ========== 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: 350px;
  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: 50vh;
  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;
}

.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%;
  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-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: 4rem;
  font-weight: var(--font-weight-bold);
  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: 40vh;
  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: space-evenly;
  align-items: center;
}

.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: 15px;
}

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

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

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
  .hero-container {
    padding: 0 8vw;
  }
  
  .hero-content h1 {
    font-size: 4.5rem;
  }
  
  .hero-content p {
    font-size: 1.6rem;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 3.5rem;
    font-weight: 500;
  }
  
  .section-subtitle {
    font-size: 1.8rem;
  }
  
  .products-text h2 {
    font-size: 3.5rem;
  }
  
  .products-text p {
    font-size: 22px;
  }
  
  .product-btn span {
    font-size: 2.2rem;
  }
}
@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: -75rem;
  overflow-x: hidden; 
  }
}
/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
  .hero-container {
    padding: 0 6vw;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1.4rem;
    width: 75%;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 4.5rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
  }
  
  .products-text h2 {
    font-size: 3.2rem;
  }
  
  .products-text p {
    font-size: 20px;
  }
  
  .product-btn span {
    font-size: 2rem;
  }
}

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .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;
    font-size: 1.3rem;
  }
  
  .hero-image img {
    width: 500px;
    max-width: 100%;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 4rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
  }
  
  .products-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 10vh 5vw;
  }
  
  .products-text {
    max-width: 80%;
  }
  
  .products-text h2 {
    font-size: 3rem;
  }
  
  .products-text p {
    font-size: 18px;
    width: 100%;
  }
  
  .product-btn {
    width: 80%;
    margin: 0 auto 12px;
  }
  
  .product-btn span {
    font-size: 1.8rem;
  }
  
  .products-image img {
    width: 400px;
  }
  
  .protection-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-24);
  }
  

  .features-d {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-24);
  }
  
  .flip-container {
    height: 35vh;
    min-height: 260px;
  }

}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .hero {
    margin: 4rem 0;
    padding: var(--space-20) 0;
  }
  
  .hero-container {
    padding: 0 var(--space-16);
    gap: var(--space-24);
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-image img {
    width: 400px;
    max-width: 100%;
  }
  
  .floating-elements {
    display: none;
  }
  
  .account-protection {
    margin: 3vh auto;
    padding: var(--space-24) 0;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 2.8rem;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-24);
  }
  
  .protection-features {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  

  .features-d {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  
  .flip-container {
    height: auto;
    min-height: 220px;
  }
  

  
  .flip-inner {
    min-height: 200px;
  }
  

  

  
  .feature-card h3 {
    font-size: 22px;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  .products-section {
    padding: 6vh 4vw;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .products-text {
    max-width: 100%;
  }
  
  .products-text h2 {
    font-size: 2.2rem;
  }
  
  .products-text p {
    width: 100%;
    font-size: 16px;
  }
  
  .product-btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .product-btn span {
    font-size: 1.3rem;
  }
  
  .product-btn img {
    height: 70px;
    width: 80px;
    padding: 18px;
  }
  
  .products-image img {
    width: 320px;
  }
  
  .why-choose {
    padding: 10vh 0;
  }
  
  .container {
    padding: 0 var(--space-16);
  }
}

/* Mobile Portrait (320px - 480px) */
/* Mobile Portrait (320px - 480px) - Completely Fixed Version */
@media (max-width: 480px) and (min-width: 321px) {
  /* Base Container */
  .container {
    padding: 0 15px; /* Increased from var(--space-12) for better spacing */
    max-width: 100%;
  }
  
  /* Hero Section - Complete Overhaul */
  .hero {
    margin: 2rem 0; /* Reduced margin */
    padding: 1rem 0; /* Reduced padding */
    min-height: auto; /* Remove fixed height */
  }
  
  .hero-container {
    width: 100%;
    padding: 0 15px; /* Better padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem; /* Manageable gap */
    max-width: 100%;
  }
  
  .hero-content {
    width: 100%;
    order: 2; /* Text comes after image on mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2rem; /* Reduced from 2.2rem for better fit */
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
  }
  
  .hero-content .highlight {
    display: block; /* Ensure highlight is on new line */
    margin-top: 0.5rem;
  }
  
  .hero-content p {
    font-size: 1rem; /* Slightly larger for readability */
    text-align: center;
    line-height: 1.5;
    width: 100%;
    margin: 1rem 0 1.5rem 0;
    padding: 0 5px;
  }
  
  .hero-image {
    width: 100%;
    order: 1; /* Image comes first on mobile */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image img {
    width: 100%;
    max-width: 300px; /* Constrain image size */
    height: auto;
  }
  
  .cta-button {
    padding: 12px 24px; /* Better padding */
    font-size: 0.9rem;
    width: auto;
    max-width: 280px;
    min-width: 200px;
    border-radius: 8px;
  }
  
  /* Account Protection Section */
  .account-protection {
    margin: 2rem auto;
    padding: 2rem 1rem; /* Reduced padding */
  }
  
  .account-protection h2 {
    font-size: 2rem; /* Reduced from 2.2rem */
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1rem; /* Reduced for better fit */
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
  }
  
  /* Protection Features Grid */
  .protection-features {
    display: flex;
    flex-direction: column;
    gap: 5rem; /* Reduced from excessive spacing */
    align-items: center;
    width: 100%;
  }
  
  .protection-features .flip-container {
    width: 100%;
    max-width: 320px; /* Constrain width */
    height: auto;
    min-height: 250px; /* Reasonable minimum height */
  }
  
  .protection-features .flip-inner {
    min-height: 250px;
    width: 100%;
  }
  
  .protection-features .flip-front,
  .protection-features .flip-back {
    padding: 1.5rem; /* Better padding */
  }
  
  .protection-features .flip-front .feature-icon {
    width: 100px; /* Reduced size */
    height: 100px;
    margin-bottom: 1rem;
  }
  
  .protection-features .flip-front h3 {
    font-size: 1.2rem; /* Manageable size */
    margin-bottom: 0.8rem;
    text-align: center;
  }
  
  .protection-features .flip-front p {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
  }
  
  .protection-features .flip-back h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .protection-features .flip-back p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Products Section */
  .products-section {
    padding: 3rem 1rem; /* Reduced padding */
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
  }
  
  .products-text {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .products-text h2 {
    font-size: 1.8rem; /* Manageable size */
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .products-text p {
    font-size: 0.9rem; /* Better readability */
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.4;
  }
  
  .product-btn {
    width: 100%;
    max-width: 320px; /* Constrain width */
    margin: 0 auto 0.8rem auto;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .product-btn span {
    font-size: 1rem; /* Reduced font size */
    flex-grow: 1;
    text-align: left;
    padding-left: 1rem;
  }
  
  .product-btn img {
    height: 50px; /* Smaller images */
    width: 60px;
    padding: 10px;
  }
  
  .arrow {
    padding: 0 1rem;
    font-size: 1.2rem;
  }
  
  .products-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .products-image img {
    width: 100%;
    max-width: 280px; /* Constrain image size */
  }
  
  /* Why Choose Section */
  .why-choose {
    padding: 3rem 0; /* Reduced padding */
  }
  
  .why-choose h2 {
    font-size: 2rem; /* Reduced size */
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  /* Features Grid */
 
  .features-d {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap */
    align-items: center;
    margin-top: 2rem;
    width: 100%;
  }
  

  

  
  .feature-card h3 {
    font-size: 1.1rem; /* Readable size */
    margin-bottom: 0.8rem;
    text-align: center;
    line-height: 1.3;
  }
  
  .feature-card p {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
    margin: 0;
  }
  

  /* Floating elements - hide on mobile */
  .floating-elements {
    display: none;
  }
  
  /* Key benefits section adjustments if present */
  .key-benefits__container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .key-benefits__display,
  .key-benefits__tabs {
    width: 100%;
    max-width: 100%;
  }
  
  .benefits-tablist {
    width: 100%;
  }
  
  .benefits-tab {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Success spotlight if present */
  .success-spotlight {
    padding: 3rem 0;
  }
  
  .success-spotlight h2 {
    font-size: 2rem;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: auto;
    min-height: 200px;
  }
  
  /* Ensure no horizontal overflow */
  body {
    overflow-x: hidden;
  }
  
  /* Fix any remaining spacing issues */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Image responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Text wrapping */
  h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Extra Small Mobile (up to 320px) - Enhanced */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }
  
  .hero {
    margin: 1.5rem 0;
    padding: 0.8rem 0;
  }
  
  .hero-container {
    padding: 0 10px;
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .hero-image img {
    max-width: 260px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 0.85rem;
    max-width: 240px;
  }
  
  .account-protection {
    padding: 1.5rem 0.8rem;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    padding: 0 5px;
  }
  
  .protection-features .flip-container,
  .flip-container,
  .flipy {
    max-width: 280px;
    min-height: 220px;
  }


  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .products-section {
    padding: 2rem 0.8rem;
  }
  
  .products-text h2 {
    font-size: 1.5rem;
  }
  
  .products-text p {
    font-size: 0.8rem;
  }
  
  .product-btn {
    max-width: 280px;
    padding: 0.7rem;
  }
  
  .product-btn span {
    font-size: 0.9rem;
  }
  
  .product-btn img {
    height: 45px;
    width: 55px;
  }
  
  .products-image img {
    max-width: 240px;
  }
  
  .why-choose {
    padding: 2rem 0;
  }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  .hero {
    margin: 2rem 0;
    padding: var(--space-12) 0;
  }
  
  .hero-container {
    padding: 0 var(--space-8);
    gap: var(--space-12);
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 0.85rem;
    text-align: center;
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-image img {
    width: 240px;
    max-width: 100%;
  }
  
  .cta-button {
    padding: var(--space-12) var(--space-16);
    font-size: 0.8rem;
    width: 100%;
    max-width: 220px;
  }
  
  .account-protection {
    margin: 1.5vh auto;
    padding: var(--space-16) 0;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-16);
  }
  
  .protection-features {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
 
  .features-d {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .flip-container {
    height: auto;
    min-height: 220px;
  }
  
  .flipy {
    height: auto;
    min-height: 200px;
  }
  
  .flip-inner {
    min-height: 220px;
  }
  
  .feature-card {
    height: auto;
    min-height: 200px;
    padding: var(--space-12);
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
  }
  
  .feature-card h3 {
    font-size: 18px;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .products-section {
    padding: 4vh 2vw;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .products-text {
    max-width: 100%;
  }
  
  .products-text h2 {
    font-size: 1.6rem;
  }
  
  .products-text p {
    font-size: 13px;
  }
  
  .product-btn {
    width: 100%;
    margin-bottom: 6px;
  }
  
  .product-btn span {
    font-size: 1rem;
  }
  
  .product-btn img {
    height: 45px;
    width: 55px;
    padding: 10px;
  }
  
  .products-image img {
    width: 200px;
  }
  
  .why-choose {
    padding: 6vh 0;
  }
  
}

/* Ultra Small Mobile (up to 240px) */
@media (max-width: 240px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-container {
    padding: 0 var(--space-4);
    gap: var(--space-8);
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.8rem;
  }
  
  .hero-image img {
    width: 200px;
  }
  
  .cta-button {
    padding: var(--space-8) var(--space-12);
    font-size: 0.75rem;
    max-width: 180px;
  }
  
  .account-protection h2,
  .why-choose h2 {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  

  
  .feature-card h3 {
    font-size: 16px;
  }
  
  .feature-card p {
    font-size: 0.8rem;
  }
  
  .products-text h2 {
    font-size: 1.4rem;
  }
  
  .products-text p {
    font-size: 12px;
  }
  
  .product-btn span {
    font-size: 0.9rem;
  }
  
  .product-btn img {
    height: 40px;
    width: 50px;
    padding: 8px;
  }
  
  .products-image img {
    width: 180px;
  }
}

/* FLIP CARD EFFECT for Why Choose section */

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

.flipy {
  perspective: 1200px;
  min-height: 280px;
  height: auto;
  padding: 0;
}





/* Responsive adjustments for flip cards */
@media (max-width: 900px) {
  .features-grid { 
    grid-template-columns: 1fr; 
    gap: 7rem;
    margin: 4rem 0rem;
  }
  
  .features-d {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }
  
  .flip-container { 
    height: 30vh; 
    min-height: 220px;
  }
  
  .flipy {
    height: auto;
    min-height: 200px;
  }

  
  /* Protection features flip cards responsive */
  .protection-features .flip-container { 
    height: 30vh; 
    min-height: 220px;
  }
  

  .protection-features .flip-front,
  .protection-features .flip-back {
    padding: var(--space-16);
  }
  
  .protection-features .flip-back h4 {
    font-size: 16px;
  }
  
  .protection-features .flip-back p {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {

  
  .flipy {
    min-height: 180px;
  }
  


  

  
  .protection-features .flip-container {
    min-height: 200px;
  }
  
  .protection-features .flip-inner {
    /* min-height: 200px; */
  }
  
  .protection-features .flip-front,
  .protection-features .flip-back {
    padding: var(--space-14);
  }
  
  .protection-features .flip-back h4 {
    font-size: 15px;
  }
  
  .protection-features .flip-back p {
    font-size: 0.8rem;
  }
}
/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .flip-container:active .flip-inner { 
    transform: rotateY(180deg); 
  }
  
  .flip-container {
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .flip-container:active {
    transform: scale(0.98);
  }
  
  .cta-button:active {
    transform: scale(0.95);
  }
  
  .product-btn:active {
    transform: scale(0.98);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .flip-back {
    background: #000;
    color: #fff;
  }
  
  .flip-back h4,
  .flip-back p {
    color: #fff;
  }
  
  .cta-button {
    border: 2px solid var(--color-primary);
  }
  
  .product-btn {
    border: 2px solid #fff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .flip-inner {
    transition: none;
  }
  
  .flip-container:hover .flip-inner,
  .flip-container:focus-within .flip-inner {
    transform: none;
  }
  
  .cta-button:hover,
  .product-btn:hover {
    transform: none;
  }
  
  .feature-card:hover {
    transform: none;
  }
}

/* ========== 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;
}

/* ========== PRODUCTS SECTION RESPONSIVE DESIGN ========== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .products-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .products-text {
    max-width: 80%;
  }
}

/* Mobile Landscape (481px - 768px) */
@media (max-width: 768px) {
  .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;
  }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
  .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;
  }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .products-text h2 {
    font-size: 1.8rem;
  }
  .products-text p {
    font-size: 14px;
  }
  .product-btn span {
    font-size: 1rem;
  }
}
