
html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
}

/* --- Global Variables & Reset --- */
:root {
    --brand-orange: #FF4500;
    --brand-navy: #001529;
    --light-bg: #d5c6c5; 
    --text-dark: #001529;
    --brand-beige: #d08e75;
    --aqua: #1ebac0;
    --pink: #f20078;
    --bite-blue: #4dace9;
    --card-radius: 36px;
    --inner-radius: 30px;
    --kitty-blue: #262261;
    --logo-bground: #c1b49a;
    --valex-bground: #6d8394;
	}

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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
	}

h1 {
	font-size: 4.4rem;
    letter-spacing: -0.02em; 
    line-height: 1.1;
	}

h2 {
    letter-spacing: -0.02em;
    line-height: 1.1;
	}

p {
    letter-spacing: 0.01em;
	}
	
/* ANIMATION  --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-- */
.animated { 
  background-repeat: no-repeat;
  background-position: left top;
  padding-top:36px;
  margin-bottom:16px;
  animation: infinite, linear;
  -webkit-animation-duration: 10s ; 
  animation-duration: 10s ease; 
  -webkit-animation-fill-mode: both; 
  animation-fill-mode: both; 
  }
  @-webkit-keyframes swing { 
    20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; } 
    20% { -webkit-transform: rotate(15deg); } 
    40% { -webkit-transform: rotate(-10deg); } 
    60% { -webkit-transform: rotate(5deg); } 
    80% { -webkit-transform: rotate(-5deg); } 
    100% { -webkit-transform: rotate(0deg); } 
    }      
  @keyframes swing {
    20% { transform: rotate(15deg); } 
    40% { transform: rotate(-10deg); } 
    60% { transform: rotate(5deg); } 
    80% { transform: rotate(-5deg); } 
    100% { transform: rotate(0deg); } 
    }      
  .swing { 
    -webkit-transform-origin: top center; 
    transform-origin: top center; 
    -webkit-animation-name: swing; 
    animation-name: swing; 
    }

/* --- Content Sections --- */
section {
	padding: 2rem 1rem;
	max-width: 1200px;
	margin: 0 auto;
	}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* This makes the video behave like 'background-size: cover' */
    object-fit: cover;
}

.header {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	}
/* Base Slide Style */
.background-img {
	background: url(images/kitten-drawing-two.png) center no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -1;
	}

.header-card, .header-action {
    position: relative;
    z-index: 1;
	}
        
.header-card {
    background-color: var(--kitty-blue);
    padding: 1.5rem;
    border-radius: 16px;
    color: var(--logo-bground);
    width: 100%;
    max-width: 500px;
    margin-bottom: 0.5rem;
    z-index: 2;
	}

.header h1 {
    font-size: 2.3rem;
    color: white !important;
    line-height: 1;
    margin-bottom: 0.5rem;
	}

.header .tagline {
    font-size: 1.7rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    line-height: 1.2;
	}

.header p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 400;
	}

.intro-text {
	color: var(--kitty-blue);
	font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 400;
    padding: 1.5rem;
	}
	
.intro-text ul {
	font-size: 1rem;
	margin-left: 1.8rem;
	margin-right: 1.0rem;
	}

/* --- Base Mobile Style (Stacking) --- */
.how-it-works {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    justify-items: center;
}

/* --- Product Card Layout --- */
.terracotta-card .card-content-area { background-color: var(--bite-blue); color: white; }
.navy-card .card-content-area { background-color: var(--brand-navy); color: white; }
.orange-card .card-content-area { background-color: var(--pink); color: white; }
.light-card .card-content-area {background-color: var(--brand-orange); color: white;}
.valex-card .card-content-area {background-color: var(--valex-bground); color: white;}

.button-one { background-color: var(--brand-navy); color: var(--bite-blue);}
.button-two { background-color: var(--brand-navy); color: var(--brand-orange);}
.button-three { background-color: var(--brand-navy); color: var(--pink);}
.button-four { background-color: var(--brand-navy); color: var(--valex-bground);}

 .product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  border: 6px solid white;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
  }

.card-image-area {
  width: 100%;
  height: 290px;
  background-color: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 6px solid white;
  border-radius: 0;
  border-bottom-left-radius: var(--inner-radius);
  border-bottom-right-radius: var(--inner-radius);
  }

.card-image-area img {
  width: auto;
  height: 96%;
  object-fit: contain;
  }

/* The Bottom Container */
.card-content-area {
  width: 100%;
  padding: 1.6rem;
  flex-grow: 1;
  border-top-left-radius: var(--inner-radius);
  border-top-right-radius: var(--inner-radius);
  }

.product-content {
  position: relative;
  z-index: 2;
  padding: 1.3rem;
  color: white;
  
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.item-tag {
  background: rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

.product-description {
  font-size: 1rem;
  opacity: 1;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.product-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid white;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.product-btn:hover {
  transform: scale(1.03);
}

 /* ------ Footer Section ------ */   
.site-bottom {
    background: var(--kitty-blue);
    text-align: center;
	}
	
.footer-text {
padding: 0 2rem;
  color: white;
  font-size: 0.9em;
  line-height: 1.4em;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 100;
  text-transform: initial;
  margin-bottom: 1.2rem;
  }

/* --- Tablets and Small Desktops --- */
@media (min-width: 768px) {
    	
    .how-it-works {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
    
/* --- Large Desktops --- */
@media (min-width: 992px) {

    .how-it-works {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px; /* Optional: keeps cards from getting too stretched */
        margin: 0 auto;
    }
}