body {
  font-family: 'Inter', sans-serif;
  width: 100%;
  height: 100%;
  background: #000000;
  --gap: 5em;
  --line: 1px;
  --color: rgba(255, 255, 255, 0.2);
  background-image: linear-gradient(
      -90deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    ),
    linear-gradient(
      0deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    );
  background-size: var(--gap) var(--gap);
}

.hero {
    text-align: center;
    padding: 120px 20px 120px; /* Increased vertical padding */
    position: relative;
    z-index: 1;
    background: none;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 72px; /* Increased font size */
    font-weight: 700; /* Bold font weight */
    margin: 0;
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: #FFFFFF;
}

.hero h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #ec4899, #fec195);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.75s ease-in-out;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -0px;
    left: 0;
    background-color: #fec195;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hero h1:hover::before {
    clip-path: inset(0 0 0 0);
}

.hero h1:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (min-width: 769px) {
    .hero h1::before {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero h1::before {
        clip-path: inset(0 100% 0 0); /* Hide gradient text by default in mobile */
        transition: none; /* No transition in mobile */
    }

    .hero h1:hover::before {
        clip-path: inset(0 100% 0 0); /* Disable hover effect for gradient text in mobile */
    }

    .hero h1::after {
        display: none; /* Hide underline in mobile */
    }

    .hero h1:hover::after {
        transform: scaleX(0); /* Disable hover effect for underline in mobile */
    }
}


.hero h2 {
    font-size: 40px;
    margin: 15px 0 30px;
    font-weight: 400; /* Regular font weight */
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px; /* Added letter-spacing */
}

.hero p {
    font-size: 21px;
    margin: 20px auto 40px;
    max-width: 800px;
    font-weight: 300; /* Lighter font weight */
    line-height: 1.7; /* Increased line height */
    color: #FFFFFF;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    position: relative;
    padding: 12px 35px;
    background: #fec195;
    font-size: 17px;
    font-weight: 500;
    color: #181818;
    border: 3px solid #fec195;
    border-radius: 8px;
    box-shadow: 0 0 0 #fec1958c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: transparent;
    color: #fec195;
    box-shadow: 0 0 25px #fec1958c;
}

.security-compliance {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(48, 25, 84, 0.2) 100%);
    margin: 40px 0;
    text-align: center;
}

.security-compliance h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-compliance p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.engineered-section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.engineered-section h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.engineered-section .subtitle {
    font-size: 20px;
    color: #a1a1a1;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-align: center;
}

.engineered-section .feature-grid {
    display: grid;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.card {
    position: relative;
    background-color: #000;
    border-radius: 24px;
    padding: 20px; /* more padding for text space */
    box-sizing: border-box; /* ensures padding doesn’t overflow */
    overflow-wrap: break-word; /* prevent text overflow */
    word-break: break-word;
    min-height: 300px; /* consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid #333;
}

.card-content {
    position: relative;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
}

.icon-container {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container svg {
    width: 24px;
    height: 24px;
    color: #a1a1a1;
}

.card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    color: #a1a1a1;
    margin: 0;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .engineered-section .feature-grid {
        grid-template-columns: 1fr;
    }

    .engineered-section h2 {
        font-size: 36px;
    }

    .engineered-section .subtitle {
        font-size: 18px;
    }
}

.product-showcase {
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(24, 24, 24, 0.95) 0%, rgba(48, 25, 84, 0.2) 100%);
    margin: 40px 0;
}

.showcase-intro {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.product-showcase .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 40px;
    max-width: 1300px; /* Narrower container */
    margin: 0 auto;
    align-items: stretch;
}

.product-showcase .benefit-card {
    background: rgba(20, 20, 22, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 25px; /* Reduced padding */
    text-align: center; /* Centered text */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    backdrop-filter: blur(10px);
}

.product-showcase .benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.1);
}

.product-showcase .benefit-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.product-showcase .benefit-card .highlight {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #fec195;
    margin-bottom: 10px;
}

.product-showcase .benefit-card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.get-started-section {
    padding: 80px 20px;
    background: #000;
    margin: 40px 0 80px;
    text-align: center;
}

.get-started-section h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-end-spacer {
    height: 50px;
}
