/* 
  Massroufak Landing Page - Main Styles
*/

/* ===== Font Imports ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
  font-family: "Nunito-Black";
  src: url('../fonts/nunito/Nunito-Black.woff') format('woff'),
       url('../fonts/nunito/Nunito-Black.woff2') format('woff2'),
       url('../fonts/nunito/Nunito-Black.svg#Nunito-Black') format('svg'),
       url('../fonts/nunito/Nunito-Black.eot'),
       url('../fonts/nunito/Nunito-Black.eot?#iefix') format('embedded-opentype'),
       url('../fonts/nunito/Nunito-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito-Bold";
  src: url('../fonts/nunito/Nunito-Bold.woff') format('woff'),
       url('../fonts/nunito/Nunito-Bold.woff2') format('woff2'),
       url('../fonts/nunito/Nunito-Bold.svg#Nunito-Bold') format('svg'),
       url('../fonts/nunito/Nunito-Bold.eot'),
       url('../fonts/nunito/Nunito-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/nunito/Nunito-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito-Regular";
  src: url('../fonts/nunito/Nunito-Regular.woff') format('woff'),
       url('../fonts/nunito/Nunito-Regular.woff2') format('woff2'),
       url('../fonts/nunito/Nunito-Regular.svg#Nunito-Regular') format('svg'),
       url('../fonts/nunito/Nunito-Regular.eot'),
       url('../fonts/nunito/Nunito-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/nunito/Nunito-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito-Light";
  src: url('../fonts/nunito/Nunito-Light.woff') format('woff'),
       url('../fonts/nunito/Nunito-Light.woff2') format('woff2'),
       url('../fonts/nunito/Nunito-Light.svg#Nunito-Light') format('svg'),
       url('../fonts/nunito/Nunito-Light.eot'),
       url('../fonts/nunito/Nunito-Light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/nunito/Nunito-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
  /* Primary Colors */
  --primary-color: #3D09A2;
  --primary-light: #A74DDF;
  --primary-dark: #3E244E;
  
  /* Secondary Colors */
  --light-pink: #F4F7FE;
  --dark-grey: #414141;
  --green-color: #66D3A5;
  --red-color: #F05525;
  
  /* Neutrals */
  --white: #FFFFFF;
  --light-grey: #F5F5F7;
  --medium-grey: #E5E5E5;
  --text-grey: #666666;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  /* Typography */
  --font-body: "Inter", sans-serif;
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  
  /* Layout */
  --container-width: 1200px;
  --container-padding: 2rem;
  --section-spacing: 6rem;
  --element-spacing: 2rem;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-grey);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  font-weight: 900;;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-grey);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
}

ul, ol {
  padding-left: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
}

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 80px;
}

.logo {
  display: block;
  width: 180px;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0 1rem;
}

.nav-links a {
  color: var(--dark-grey);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.cta-buttons {
  display: block;
  gap: 2rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark-grey);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

/* ===== Button Styles ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--medium-grey);
  color: var(--dark-grey);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero {
  padding-top: 140px;
  padding-bottom: 0rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: calc(100vh);
}
.mobile-menu {
  display: none;
}
.hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
  margin:0 auto;
}
.hero-content h1{
  line-height: 100%;
  font-family: var(--font-black);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-grey);
  margin-bottom: 2rem;
}


.hero-image {
  position: absolute;
  bottom: 0;
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.app-screenshot {
  position: relative;
  z-index: 2;
}

.screen-wrapper {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 70%;
    margin: 0 auto;
}

.placeholder-image {
  background-color: var(--light-pink);
  width: 100%;
  padding-top: 200%; /* Placeholder ratio */
  background-image: linear-gradient(45deg, var(--primary-light) 25%, var(--primary-color) 75%);
  border-radius: var(--radius-lg);
}

/* Placeholder images styling */
.placeholder-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.screen-wrapper:hover .placeholder-img {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.floating-image .placeholder-img {
  max-width: 100%;
  height: auto;
}

.feature-card .card-image {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-placeholder-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.feature-card:hover .card-placeholder-img {
  transform: scale(1.05);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-color: var(--primary-light);
}

.shape-2 {
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background-color: var(--primary-color);
}

.shape-3 {
  top: 30%;
  left: 40%;
  width: 300px;
  height: 300px;
  background-color: var(--green-color);
}

/* ===== Features Overview ===== */
.features-overview {
  background-color: var(--light-grey);
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background-color: var(--light-pink);
}

.icon-account, .icon-budget, .icon-dashboard, .icon-share, .icon-split, .icon-share-friend {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.icon-account {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 18v1c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zM19 10H5c-1.1 0-2 .9-2 2v2h18v-2c0-1.1-.9-2-2-2zM21 4v1c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 18v1c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zM19 10H5c-1.1 0-2 .9-2 2v2h18v-2c0-1.1-.9-2-2-2zM21 4v1c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2z'/%3E%3C/svg%3E");
}

.icon-budget {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 13.5h2.5v1.5H14v1.5h4v-4H16v-1.5h2.5V9.5H16V8h-2v1.5h-4v4H14v-1.5zM19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 13.5h2.5v1.5H14v1.5h4v-4H16v-1.5h2.5V9.5H16V8h-2v1.5h-4v4H14v-1.5zM19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z'/%3E%3C/svg%3E");
}

.icon-dashboard {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3,13h8V3H3V13z M3,21h8v-6H3V21z M13,21h8V11h-8V21z M13,3v6h8V3H13z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3,13h8V3H3V13z M3,21h8v-6H3V21z M13,21h8V11h-8V21z M13,3v6h8V3H13z'/%3E%3C/svg%3E");
}

.icon-share {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E");
}

.icon-split {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l1.41 1.41L11.83 7H19v2h-7.17l1.58 1.59L12 12l-4-4 4-4zm0 8l-1.41-1.41L12.17 9H5V7h7.17l-1.58-1.59L12 4l4 4-4 4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l1.41 1.41L11.83 7H19v2h-7.17l1.58 1.59L12 12l-4-4 4-4zm0 8l-1.41-1.41L12.17 9H5V7h7.17l-1.58-1.59L12 4l4 4-4 4z'/%3E%3C/svg%3E");
}

.icon-share-friend {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 12c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5S9 10.07 9 12zm9.5-1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm-1.29 7c.88-.4 1.29-1.5 1.29-2.42 0-1.58-.95-2.93-2.3-3.57.41-.23.85-.35 1.3-.35 1.65 0 3 1.35 3 3s-1.35 3-3 3c-.45 0-.89-.12-1.29-.36zM4 10.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5zm1.29 4.5c.4.24.84.36 1.29.36 1.65 0 3-1.35 3-3s-1.35-3-3-3c-.45 0-.89.12-1.3.35C3.95 10.57 3 11.92 3 13.5c0 .92.41 2.02 1.29 2.42zM12 9c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0-2c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM9.35 21.01c.62.46 1.36.7 2.15.74.79-.04 1.54-.28 2.15-.74.09-.07.18-.13.27-.2.15-.12.29-.27.43-.41.01 0 .01 0 .01-.01.12-.12.24-.26.34-.39l.03-.05c.33-.5.51-1.07.51-1.7 0-1.86-1.5-3.47-3.5-3.97-.71.23-1.47.37-2.27.37-.8 0-1.57-.14-2.28-.37-2 .5-3.5 2.11-3.5 3.97 0 .63.18 1.21.51 1.7l.08.11c.29.39.65.71 1.08.98z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 12c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5S9 10.07 9 12zm9.5-1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm-1.29 7c.88-.4 1.29-1.5 1.29-2.42 0-1.58-.95-2.93-2.3-3.57.41-.23.85-.35 1.3-.35 1.65 0 3 1.35 3 3s-1.35 3-3 3c-.45 0-.89-.12-1.29-.36zM4 10.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5zm1.29 4.5c.4.24.84.36 1.29.36 1.65 0 3-1.35 3-3s-1.35-3-3-3c-.45 0-.89.12-1.3.35C3.95 10.57 3 11.92 3 13.5c0 .92.41 2.02 1.29 2.42zM12 9c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm0-2c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM9.35 21.01c.62.46 1.36.7 2.15.74.79-.04 1.54-.28 2.15-.74.09-.07.18-.13.27-.2.15-.12.29-.27.43-.41.01 0 .01 0 .01-.01.12-.12.24-.26.34-.39l.03-.05c.33-.5.51-1.07.51-1.7 0-1.86-1.5-3.47-3.5-3.97-.71.23-1.47.37-2.27.37-.8 0-1.57-.14-2.28-.37-2 .5-3.5 2.11-3.5 3.97 0 .63.18 1.21.51 1.7l.08.11c.29.39.65.71 1.08.98z'/%3E%3C/svg%3E");
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===== Feature Highlight Sections ===== */
.feature-highlight {
  position: relative;
}

.feature-highlight.alt-bg {
  background-color: var(--light-grey);
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-content.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.feature-content.reverse .feature-text {
  direction: ltr;
}

.feature-text {
  max-width: 500px;
}

.feature-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-grey);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background-color: var(--green-color);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.feature-image {
  position: relative;
}

.floating-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== Coming Soon Features ===== */
.coming-soon-features {
  background-color: var(--light-grey);
  text-align: center;
}

.coming-soon-features .features-grid {
  max-width: 650px;
  margin: 0 auto;
}

/* ===== CTA Section ===== */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape-4 {
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--primary-light);
  opacity: 0.3;
}

.shape-5 {
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background-color: var(--primary-dark);
  opacity: 0.3;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--light-grey);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo img {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-logo p {
  margin-bottom: 0;
  color: var(--text-grey);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-column a {
  display: block;
  color: var(--text-grey);
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--medium-grey);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-grey);
}

/* ===== Local Placeholder Styling with Gradients ===== */
.local-placeholder {
  width: 100%;
  /* height: 0;
  padding-bottom: 178%; /* Mobile app aspect ratio */
  /* border-radius: var(--radius-lg);  */
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.screen-wrapper:hover .local-placeholder,
.floating-image:hover .local-placeholder {
  /* transform: translateY(-5px); */
  box-shadow: var(--shadow-lg);
}

/* Hero dashboard placeholder */
.hero-placeholder {
  background: linear-gradient(135deg, #3D09A2 0%, #A74DDF 100%);
  position: relative;
}

/* .hero-placeholder::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 10%;
  right: 10%;
  height: 30%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
} */

/* .hero-placeholder::after {
  content: '';
  position: absolute;
  top: 46%;
  left: 10%;
  right: 10%;
  height: 40%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
} */

/* Account listing placeholder */
.account-placeholder {
  background: linear-gradient(135deg, #66D3A5 0%, #3D09A2 100%);
  position: relative;
}

.account-placeholder::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  height: 15%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

.account-placeholder::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 10%;
  right: 10%;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.account-placeholder::after {
  box-shadow: 
    0 0 0 15px rgba(255, 255, 255, 0.1),
    0 50px 0 15px rgba(255, 255, 255, 0.1),
    0 100px 0 15px rgba(255, 255, 255, 0.1),
    0 150px 0 15px rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* Budget planner placeholder */
.budget-placeholder {
  background: linear-gradient(135deg, #3E244E 0%, #A74DDF 100%);
  position: relative;
}

.budget-placeholder::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 50%;
  height: 5%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
}

.budget-placeholder::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  right: 10%;
  bottom: 15%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Dashboard placeholder */
.dashboard-placeholder {
  background: linear-gradient(135deg, #3D09A2 0%, #A74DDF 100%);
  position: relative;
  overflow: hidden;
}

.dashboard-placeholder::before {
  content: '';
  position: absolute;
  width: 35%;
  height: 35%;
  top: 10%;
  left: 10%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.dashboard-placeholder::after {
  content: '';
  position: absolute;
  width: 35%;
  height: 35%;
  top: 10%;
  right: 10%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* Adding charts to dashboard placeholder */
.dashboard-placeholder {
  background-image: 
    radial-gradient(circle at 20% 65%, rgba(255, 255, 255, 0.15) 30px, transparent 31px),
    radial-gradient(circle at 40% 65%, rgba(255, 255, 255, 0.15) 20px, transparent 21px),
    radial-gradient(circle at 60% 65%, rgba(255, 255, 255, 0.15) 35px, transparent 36px),
    radial-gradient(circle at 80% 65%, rgba(255, 255, 255, 0.15) 15px, transparent 16px),
    linear-gradient(135deg, #3D09A2 0%, #A74DDF 100%);
}

/* Coming soon feature placeholders */
.split-placeholder, .share-placeholder {
  padding-bottom: 70%;
  margin-top: 20px;
}

.split-placeholder {
  background: linear-gradient(135deg, #66D3A5 0%, #3D09A2 100%);
  position: relative;
}

.split-placeholder::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 2px;
  height: 60%;
  background: rgba(255, 255, 255, 0.5);
}

.split-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.share-placeholder {
  background: linear-gradient(135deg, #3E244E 0%, #F05525 80%);
  position: relative;
}

.share-placeholder::before {
  content: '';
  position: absolute;
  width: 30%;
  height: 30%;
  top: 20%;
  left: 35%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.share-placeholder::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 20%;
  right: 20%;
  height: 15%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* ===== App Showcase with Vertical Tabs ===== */
.app-showcase-section {
  padding: var(--section-spacing) 0;
  background-color: var(--white);
  position: relative;
  
}
.app-showcase-section .section-heading{
text-align: center;
}

.vertical-tabs-container {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  align-items: flex-start;
}

.tabs-navigation {
  display: flex;
  flex-direction: column;
  width: 300px;
  min-width: 300px;
  gap: 0.5rem;
  position: sticky;
  top: 100px;
}

.tab-button {
  padding: 1.2rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  border-right: 3px solid var(--medium-grey);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-grey);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: var(--primary-color);
  border-right-color: var(--primary-light);
  background-color: rgba(61, 9, 162, 0.05);
}

.tab-button.active {
  color: var(--primary-color);
  border-right-color: var(--primary-color);
  background-color: rgba(61, 9, 162, 0.08);
  font-weight: 600;
}

.tabs-content {
  flex: 1;
  padding-bottom: 100px;
}

.tab-pane {
  display: none;
  width: 100%;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content-inner {
  display: flex;
  flex-direction: column;
}

.tab-screenshot {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  top: 0px;
  transform: translate(calc(100% - 380px), -20px);
}

/* .tab-screenshot:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 15px 35px rgba(61, 9, 162, 0.2);
} */

.feature-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.tab-description {
  transform: translate(0, 100px);
  padding: 1.5rem;
  z-index: 1;
  background-color: #fff ;
  border-radius: 30px;
  width: 500px;
}

.tab-description h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.tab-description p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.coming-soon-label {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    text-align: center;
    padding: 3px 0px;
    font-size: 12px !important;
    font-style: italic;
    border-color:#A74DDF;
    border-width: 3px;
    border-style: dotted;
}
small.coming-soon-label {
  font-size: 9px !important;
  border-width: 1px;
  padding:0 5px
}
/* Animations for tab content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive styles for vertical tabs */
@media (max-width: 992px) {
  .vertical-tabs-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .tabs-navigation {
    width: 100%;
    min-width: auto;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
    position: relative;
    top: 0;
  }
  
  .tab-button {
    border-left: none;
    border-bottom: 3px solid var(--medium-grey);
    white-space: nowrap;
    padding: 1rem 1.2rem;
  }
  
  .tab-button.active {
    border-bottom-color: var(--primary-color);
    border-right-color: transparent;
  }
  
  .tab-button:hover {
    border-bottom-color: var(--primary-light);
    border-left-color: transparent;
  }
  
  .tab-content-inner {
    gap: 1.5rem;
  }
  .tab-screenshot {
    position: static;
    transform: translate(0, 0);
    margin-bottom: 0;
  }
  .tab-screenshot img{
    width: 100%;
    height: auto;
  }
  .tab-description {
      transform: translate(0, 0px);
      padding: .5rem;
      z-index: 1;
      background-color: transparent;
      border-radius: 30px;
      width: 100%;
  }
  .tabs-content{
    padding-bottom: 0;
  }
}
@media (max-width: 1190px) {
  .screen-wrapper {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .tabs-navigation {
    justify-content: flex-start;
    gap: 0;
  }
  
  .tab-button {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
  .hero-buttons a{
    margin-bottom: 20px;
  }
  .btn{
    font-size: 14px;
    padding: 0.8rem 1rem;
  }
  .cookie-text{
    font-size: 14px;
  }
  .cookie-buttons{
    gap: 2px !important;
  }
  .hero {
    height: auto;
  }
  .hero-content p{
    font-size: 1rem;
  }
  .hero-image {
    display: none;
  }
}

/* ===== Get Started Section ===== */
.get-started-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 3rem auto;
  max-width: 95%;
}

.get-started-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.get-started-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.get-started-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.get-started-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape-primary {
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0.3;
}

.shape-secondary {
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0.3;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
    display: block; /* Visible by default, hidden via JS if already consented */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text {
    flex: 2;
}

.cookie-text h3 {
    margin-bottom: 10px;
    color: var(--color-primary);
}

.cookie-text p {
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.language-selector {
    margin-left: 10px;
}

.language-selector select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* ===== Cookie Settings Modal ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none; /* Hidden by default, shown via JS */
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--color-primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text);
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-option-header h4 {
    margin: 0;
}

.cookie-option p {
    margin: 0;
    color: var(--color-text-light);
}

.cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Toggle Switch ===== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Style for disabled but checked toggles */
input:disabled:checked + .slider {
    background-color: var(--primary-color);
    opacity: 0.8;
}

/* Ensure disabled toggle doesn't look too faded */
input:disabled + .slider {
    cursor: not-allowed;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        margin-left: 0;
    }
}