/* styles.css */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: #1a1a1a;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 2vw, 24px) clamp(20px, 5vw, 80px);
    position: relative;
}

.logo {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 600;
    z-index: 10;
}

.main-nav {
    display: none;
    gap: clamp(20px, 2vw, 32px);
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(13px, 1vw, 14px);
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.header-actions {
    display: none;
    gap: clamp(16px, 1.5vw, 24px);
    align-items: center;
}

.login-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(13px, 1vw, 14px);
}

.cta-link {
    background-color: #ffc107;
    color: #1a1a1a;
    text-decoration: none;
    padding: clamp(8px, 1vw, 12px) clamp(16px, 1.5vw, 24px);
    border-radius: 6px;
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #ffb300;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 10;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    display: block;
}

/* Hero Section */
.hero {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: clamp(400px, 60vh, 600px);
    display: flex;
    align-items: center;
    margin: 0 10px;
    border-radius: 10px;
    background-position: 301px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(10, 10, 12, 0.95) 0%, rgba(15, 15, 17, 0.85) 40%, rgba(20, 20, 22, 0.6) 70%, rgba(26, 26, 26, 0.3) 100%);
    z-index: 1;
    border-radius: 10px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 700;
    margin-bottom: clamp(16px, 2.5vw, 24px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #e0e0e0;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
}

.hero-image {
    display: none;
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .hero {
        background-position: 70% center;
    }
    
    .hero::before {
        background: linear-gradient( to bottom, rgba(8, 8, 10, 0.12) 0%, rgb(26, 26, 26) 0%, rgba(12, 12, 14, 0.4) 105%, rgba(18, 18, 20, 0.5) 0% );    }
    
    .hero-title br {
        display: inline;
    }
    
    .hero-subtitle br {
        display: inline;
    }
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .hero {
        min-height: clamp(450px, 65vh, 650px);
        padding: clamp(70px, 9vw, 130px) clamp(40px, 6vw, 100px);
        background-position: 60% center;
    }
    
    .hero::before {
        background: linear-gradient(to right, rgb(26, 26, 26) 20%, rgb(26, 26, 26) 40%, rgba(18, 18, 20, 0.75) 50%, rgba(24, 24, 26, 0.5) 70%, rgba(26, 26, 26, 0.2) 90%);    }
    
    .hero-text {
        max-width: 55%;
    }
    
    .hero-title {
        font-size: clamp(48px, 6vw, 64px);
    }
    
    .hero-subtitle {
        font-size: clamp(15px, 1.6vw, 17px);
    }

    .hero {
        background-position: 114px;
      }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {

#capsule-header {
    background-position: 360px 0;
}

    .hero {
        min-height: clamp(500px, 70vh, 700px);
        padding: clamp(80px, 10vw, 140px) clamp(60px, 8vw, 120px);
        background-position: center right;
    }
    
    .hero::before {
        background: linear-gradient(to right, rgb(26, 26, 26) 20%, rgb(26, 26, 26) 40%, rgba(18, 18, 20, 0.75) 50%, rgba(24, 24, 26, 0.5) 70%, rgba(26, 26, 26, 0.2) 90%);    }
    
    .hero-text {
        max-width: 50%;
    }
    
    .hero-title {
        font-size: 72px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 500px;
    }
    .hero {
        background-position: 301px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .hero {
        padding: 120px 120px;
        min-height: 700px;
        background-position: center right;
    }
    
    .hero-title {
        font-size: 80px;
    }
    
    .hero-subtitle {
        font-size: 19px;
    }

    .hero {
        background-position: 301px;
    }
}



/* Intro Section */
.intro {
    padding: clamp(30px, 5vw, 80px) clamp(20px, 5vw, 80px) clamp(20px, 3vw, 40px);
    text-align: center;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.intro-text {
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: clamp(12px, 2vw, 20px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-instruction {
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: clamp(16px, 2vw, 30px);
}

/* Carousel */
.carousel-wrapper {
    overflow: hidden;
    position: relative;
    transition: height 0.4s ease-in-out;
    padding: 0;
}

.carousel-container {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
    align-items: flex-start; /* prevent stretching to tallest slide */
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 clamp(20px, 5vw, 80px);
    box-sizing: border-box;
    overflow: hidden;
    height: auto; /* ensure slide height is driven by content */
}

/* Eliminate bottom whitespace inside slides */
.carousel-slide > :last-child {
    margin-bottom: 0 !important;
    padding-bottom: 100px!important;
}

.carousel-slide .promise-section,
.carousel-slide .examples-section {
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 767px) {
  .carousel-slide .promise-section,
  .carousel-slide .examples-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Category Section */
.category {
    padding: clamp(20px, 3vw, 40px) 0;
}

.category-title {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 600;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-align: center;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 1.5vw, 20px);
    justify-content: center;
}

.option-card {
    background-color: #ffffff;
    border: none;
    border-radius: clamp(12px, 1.5vw, 16px);
    padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    color: #1a1a1a;
    font-size: clamp(12px, 1.2vw, 14px);
    min-height: clamp(100px, 12vw, 140px);
    flex: 1 1 calc(50% - clamp(6px, 0.75vw, 10px));
    max-width: calc(50% - clamp(6px, 0.75vw, 10px));
    position: relative;
    z-index: 0; /* create stacking context for shadow */
    box-shadow: 0 0 0 rgba(0,0,0,0); /* base, no glow */
}

/* Disable overlay pseudo glow to avoid shining over content */
.option-card::before {
    content: none;
}

.option-card:hover {
    background-color: #ffffff;
    transform: scale(1.08);
    /* warm glow BEHIND only */
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10), 0 0 36px rgba(255, 208, 120, 0.22);
    z-index: 1;
}

/* no pseudo overlay on hover */

.option-card:hover .icon {
    transform: rotate(-8deg);
}

.option-card.selected {
    background-color: #FFD078;
    color: #1a1a1a;
    transform: scale(1.08);
    /* stronger glow behind when selected */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 0 44px rgba(255, 208, 120, 0.30);
    z-index: 1;
}

/* no pseudo overlay when selected */

.option-card.selected .icon {
    transform: rotate(-8deg);
}

.icon {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: clamp(8px, 1vw, 12px);
    transition: transform 0.4s ease;
    display: inline-block;
}

.option-text {
    font-size: clamp(11px, 1.1vw, 13px);
    line-height: 1.4;
    font-weight: 500;
}

/* Promise Section */
.promise-section {
    padding: clamp(20px, 3vw, 40px) 0;
}

.promise-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-align: center;
}

.promise-description {
    font-size: clamp(14px, 1.6vw, 20px);
    color: #b0b0b0;
    margin-bottom: clamp(30px, 3vw, 40px);
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.textarea-container {
    position: relative;
    margin-bottom: clamp(40px, 5vw, 80px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.promise-textarea {
    width: 100%;
    min-height: clamp(160px, 22vw, 200px);
    background-color: #f5f5f5;
    border: none;
    border-radius: clamp(16px, 2vw, 24px);
    padding: clamp(20px, 2.5vw, 32px);
    font-size: clamp(14px, 1.5vw, 18px);
    font-family: inherit;
    color: #1a1a1a;
    resize: vertical;
}

.promise-textarea::placeholder {
    color: #999999;
}

.promise-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px #4a7cc7;
}

.arrow-indicator {
    position: absolute;
    top: clamp(16px, 2vw, 24px);
    right: clamp(16px, 2vw, 24px);
    font-size: clamp(20px, 2.5vw, 32px);
    color: #666666;
}

/* Examples Section */
.examples-section {
    margin-top: clamp(40px, 5vw, 80px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.examples-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: clamp(24px, 3vw, 40px);
    text-align: center;
}

.examples-container {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 30px);
    padding: clamp(20px, 3vw, 40px) 0;
}

.bubble-wrapper {
    position: relative;
    display: flex;
}

.bubble-wrapper-left {
    align-self: flex-start;
}

.bubble-wrapper-right {
    align-self: flex-end;
}

.bubble-shadow {
    position: absolute;
    background-color: #2d4a6e;
    border-radius: clamp(20px, 2.5vw, 28px);
    z-index: 0;
}

.bubble-shadow-left {
    top: 10px;
    left: -10px;
    width: 100%;
    height: 100%;
}

.bubble-shadow-right {
    top: 10px;
    right: -10px;
    width: 100%;
    height: 100%;
}

.example-bubble {
    background-color: #f5f5f5;
    color: #1a1a1a;
    padding: clamp(20px, 2.5vw, 30px) clamp(28px, 3.5vw, 42px);
    border-radius: clamp(20px, 2.5vw, 28px);
    font-size: clamp(13px, 1.5vw, 18px);
    line-height: 1.5;
    position: relative;
    font-weight: 400;
    min-height: clamp(80px, 10vw, 120px);
    z-index: 1;
}

.bubble-left {
    max-width: 100%;
}

.bubble-right {
    max-width: 100%;
}

/* Individual bubble wrapper sizes and positions */
.bubble-wrapper:nth-child(1) {
    margin-left: clamp(0px, 2vw, 20px);
    max-width: 62%;
}

.bubble-wrapper:nth-child(1) .bubble-shadow {
    transform: rotate(-3deg);
}

.bubble-wrapper:nth-child(2) {
    margin-right: clamp(0px, 2vw, 20px);
    max-width: 70%;
}

.bubble-wrapper:nth-child(2) .bubble-shadow {
    transform: rotate(2deg);
}

.bubble-wrapper:nth-child(3) {
    margin-left: clamp(0px, 3vw, 30px);
    max-width: 55%;
}

.bubble-wrapper:nth-child(3) .bubble-shadow {
    transform: rotate(-4deg);
}

.bubble-wrapper:nth-child(4) {
    margin-right: clamp(0px, 2.5vw, 25px);
    max-width: 65%;
}

.bubble-wrapper:nth-child(4) .bubble-shadow {
    transform: rotate(3deg);
}

.bubble-wrapper:nth-child(5) {
    margin-left: clamp(0px, 1.5vw, 15px);
    max-width: 75%;
}

.bubble-wrapper:nth-child(5) .bubble-shadow {
    transform: rotate(-2deg);
}

/* Form Section */
.form-section {
    padding: clamp(20px, 3vw, 40px) 0;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 4vw, 50px);
    align-items: center;
}

.form-title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
}

.contact-form {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: clamp(20px, 2.5vw, 30px);
    padding: clamp(24px, 3vw, 40px);
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: clamp(14px, 1.8vw, 20px);
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: clamp(14px, 1.8vw, 18px) clamp(18px, 2.2vw, 24px);
    border: none;
    border-radius: clamp(12px, 1.5vw, 14px);
    font-size: clamp(14px, 1.4vw, 16px);
    font-family: inherit;
    background-color: #ffffff;
    color: #1a1a1a;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.phone-group {
    flex-direction: row;
    gap: clamp(10px, 1.5vw, 16px);
}

.country-selector {
    background-color: #ffffff;
    border-radius: clamp(12px, 1.5vw, 14px);
    padding: clamp(14px, 1.8vw, 18px) clamp(14px, 1.8vw, 18px);
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 8px);
    cursor: pointer;
    flex-shrink: 0;
}

.flag {
    font-size: clamp(18px, 2vw, 22px);
}

.country-code {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 600;
    color: #1a1a1a;
}

.dropdown-arrow {
    font-size: clamp(10px, 1vw, 12px);
    color: #666666;
    margin-left: clamp(2px, 0.5vw, 4px);
}

.phone-input {
    flex: 1;
    min-width: 0;
}

.submit-btn {
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: clamp(12px, 1.5vw, 14px);
    padding: clamp(16px, 2vw, 20px) clamp(28px, 3.5vw, 40px);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 600;
    cursor: pointer;
    margin-top: clamp(8px, 1vw, 12px);
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #2a2a2a;
}

.disclaimer {
    font-size: clamp(10px, 1vw, 12px);
    color: #1a1a1a;
    text-align: center;
    line-height: 1.5;
    margin-top: clamp(16px, 2vw, 20px);
    opacity: 0.8;
}

/* Next Button */
.next-btn {
    background-color: #ffc107;
    color: #1a1a1a;
    border: none;
    border-radius: clamp(8px, 1vw, 10px);
    padding: clamp(14px, 1.8vw, 18px) clamp(32px, 4vw, 50px);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 600;
    display: block;
    margin: clamp(30px, 4vw, 60px) auto clamp(20px, 2.5vw, 30px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-btn:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

/* Page Indicator */
.page-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    padding: clamp(20px, 2.5vw, 30px);
}

.dot {
    width: clamp(8px, 1vw, 10px);
    height: clamp(8px, 1vw, 10px);
    border-radius: 50%;
    background-color: #444444;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #ffc107;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .option-card {
        flex: 1 1 calc(33.333% - clamp(8px, 1vw, 14px));
        max-width: calc(33.333% - clamp(8px, 1vw, 14px));
        height: 200px;

        font-weight: 700;
        line-height: var(--line-height-header-64, 60px);
    }
    
    .option-card::before {
        inset: -28px;
        filter: blur(10px);
    }
    
    .option-card:hover {
        transform: scale(1.12);
    }
    
    .option-card.selected {
        transform: scale(1.12);
    }
    
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .hero-text {
        max-width: 50%;
    }
    
    .hero-image {
        max-width: 45%;
    }
    
    /* Tablet bubbles */
    .examples-container {
        padding: clamp(30px, 4vw, 60px) 0;
        gap: clamp(24px, 3vw, 36px);
    }
    
    .example-bubble {
        font-size: clamp(14px, 1.6vw, 19px);
        padding: clamp(22px, 2.8vw, 32px) clamp(30px, 3.8vw, 44px);
        min-height: clamp(90px, 11vw, 130px);
    }
    
    .bubble-shadow-left {
        top: 15px;
        left: -18px;
    }

    .bubble-shadow-right {
        top: 15px;
        right: -18px;
    }
    
    .bubble-wrapper:nth-child(1) {
        margin-left: clamp(10px, 3vw, 40px);
        max-width: 58%;
    }

    .bubble-wrapper:nth-child(1) .bubble-shadow {
        transform: rotate(-8deg);
    }

    .bubble-wrapper:nth-child(2) {
        margin-right: clamp(10px, 3vw, 40px);
        max-width: 66%;
    }

    .bubble-wrapper:nth-child(2) .bubble-shadow {
        transform: rotate(6deg);
    }

    .bubble-wrapper:nth-child(3) {
        margin-left: clamp(20px, 5vw, 70px);
        max-width: 52%;
    }

    .bubble-wrapper:nth-child(3) .bubble-shadow {
        transform: rotate(-10deg);
    }

    .bubble-wrapper:nth-child(4) {
        margin-right: clamp(15px, 4vw, 60px);
        max-width: 62%;
    }

    .bubble-wrapper:nth-child(4) .bubble-shadow {
        transform: rotate(7deg);
    }

    .bubble-wrapper:nth-child(5) {
        margin-left: clamp(5px, 2vw, 30px);
        max-width: 70%;
    }

    .bubble-wrapper:nth-child(5) .bubble-shadow {
        transform: rotate(-6deg);
    }
    
    /* Form tablet layout */
    .form-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: clamp(40px, 6vw, 80px);
        padding: 0;
    }
    
    .form-title {
        text-align: left;
        flex: 1;
        max-width: 45%;
        font-size: clamp(28px, 4vw, 48px);
    }
    
    .contact-form {
        flex: 1;
        max-width: 50%;
        min-width: 400px;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .menu-btn {
        display: none;
    }
    
    .main-nav {
        display: flex;
    }
    
    .header-actions {
        display: flex;
    }
    
    .container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .option-card {
        flex: 1 1 calc(20% - 16px);
        max-width: calc(20% - 16px);
        min-height: 120px;
    }
    
    .option-card::before {
        inset: -32px;
        filter: blur(12px);
    }
    
    .option-card:hover {
        transform: scale(1.18);
    }
    
    .option-card.selected {
        transform: scale(1.18);
    }
    
    .option-card:hover .icon {
        transform: rotate(-10deg);
    }
    
    .option-card.selected .icon {
        transform: rotate(-10deg);
    }
    
    .category {
        padding: 30px 0;
    }
    
    .hero-image img {
        max-width: 450px;
    }
    
    /* Desktop Promise Section */
    .promise-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 0;
    }
    
    .promise-title {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .promise-description {
        font-size: 18px;
        color: #b0b0b0;
        margin-bottom: 50px;
        line-height: 1.6;
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .textarea-container {
        position: relative;
        margin-bottom: 80px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .promise-textarea {
        width: 100%;
        min-height: 180px;
        background-color: #f5f5f5;
        border: none;
        border-radius: 24px;
        padding: 30px;
        font-size: 16px;
        font-family: inherit;
        color: #1a1a1a;
        resize: vertical;
    }
    
    .arrow-indicator {
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 28px;
        color: #666666;
    }
    
    /* Desktop Examples Section */
    .examples-section {
        margin-top: 60px;
        max-width: 100%;
        padding-bottom: 60px;
    }
    
    .examples-title {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .examples-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        position: relative;
        min-height: 600px;
    }
    
    /* Bubble Wrappers - Absolute positioning for desktop */
    .bubble-wrapper {
        position: absolute;
        display: flex;
    }
    
    /* First bubble - top left */
    .bubble-wrapper:nth-child(1) {
        top: 19px;
        left: 0;
        max-width: 320px;
        width: 320px;
        transform: rotate(11deg);
    }
    
    .bubble-wrapper:nth-child(1) .bubble-shadow {
        transform: rotate(-4deg);
        top: 25px;
        left: -30px;
    }
    
    /* Second bubble - top right */
    .bubble-wrapper:nth-child(2) {
        top: 20px;
        right: 40px;
        max-width: 340px;
        width: 340px;
        transform: rotate(4deg);
    }
    
    .bubble-wrapper:nth-child(2) .bubble-shadow {
        transform: rotate(6deg);
        top: 20px;
        right: -35px;
    }
    
    /* Third bubble - middle left */
    .bubble-wrapper:nth-child(3) {
        top: 220px;
        left: 60px;
        max-width: 240px;
        width: 240px;
        transform: rotate(-8deg);
    }
    
    .bubble-wrapper:nth-child(3) .bubble-shadow {
        transform: rotate(-10deg);
        top: 20px;
        left: -40px;
    }
    
    /* Fourth bubble - middle right */
    .bubble-wrapper:nth-child(4) {
        top: 250px;
        right: 20px;
        max-width: 330px;
        width: 330px;
        transform: rotate(6deg);
    }
    
    .bubble-wrapper:nth-child(4) .bubble-shadow {
        transform: rotate(8deg);
        top: 22px;
        right: -38px;
    }
    
    /* Fifth bubble - bottom center-left */
    .bubble-wrapper:nth-child(5) {
        top: 450px;
        left: 50%;
        transform: translateX(-50%) rotate(-5deg);
        max-width: 360px;
        width: 360px;
    }
    
    .bubble-wrapper:nth-child(5) .bubble-shadow {
        transform: rotate(-7deg);
        top: 28px;
        left: -32px;
    }
    
    /* Desktop Bubble styling - more square */
    .example-bubble {
        background-color: #f5f5f5;
        color: #1a1a1a;
        padding: 26px 32px;
        border-radius: 20px;
        font-size: 17px;
        line-height: 1.4;
        font-weight: 400;
        position: relative;
        z-index: 2;
        width: 100%;
        min-height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Desktop Shadow styling */
    .bubble-shadow {
        position: absolute;
        background-color: #2d4a6e;
        border-radius: 20px;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    /* Form desktop layout */
    .form-title {
        font-size: 48px;
        max-width: 40%;
    }
    
    .contact-form {
        max-width: 500px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .option-card {
        min-height: 140px;
    }
    
    .option-card::before {
        inset: -36px;
        filter: blur(14px);
    }
    
    .option-card:hover {
        transform: scale(1.2);
    }
    
    .option-card.selected {
        transform: scale(1.2);
    }
    
    .form-wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .hero-subtitle br {
        display: none;
    }
}

/* Mobile layout overrides for the Time Capsule header */
@media (max-width: 767px) {
  /* Container sizing and background to match mock */
  #capsule-header.hero {
    padding: 36px 16px 24px;
    min-height: 640px;
    background-size: cover;
    border-radius: 16px;
    margin: 0 10px;
  }

  /* Stronger top-to-bottom overlay for readability */
  #capsule-header.hero::before {
    /* Strong dark band behind text fading to transparent over the image */
    background: linear-gradient(
      to bottom,
      rgba(10,10,12,0.98) 0%,
      rgba(12,12,14,0.95) 22%,
      rgba(18,18,20,0.75) 45%,
      rgba(26,26,26,0.00) 70%
    );
    top: 0;
  }

  /* Center content and text like the mock */
  #capsule-header .hero-content {
    align-items: center;
    text-align: center;
    padding-top: 4px;
  }

  #capsule-header .hero-text {
    max-width: 90%;
    margin: -294px;
  }

  #capsule-header .hero-title {
    font-size: clamp(72px, 8vw, 40px);
        line-height: 1.15;
    margin-bottom: 12px;
    margin-top: 0;
  }

  #capsule-header .hero-subtitle {
    font-size: clamp(14px, 4vw, 16px);
    color: #e6e6e6;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure the line break in subtitle is visible on mobile for the mock layout */
  #capsule-header .hero-subtitle br {
    display: inline;
  }
  /* Ensure no conflicting later override: keep the strong dark-to-transparent gradient */
  #capsule-header.hero::before {
    background: linear-gradient(
      to bottom,
      rgba(10,10,12,0.98) 0%,
      rgba(12,12,14,0.95) 22%,
      rgba(18,18,20,0.75) 45%,
      rgba(26,26,26,0.00) 70%
    );
  }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero-title {
    font-family: var(--font-display, Gramatika);
    font-size: var(--size-header-72, 72px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-header-72, 68px);
}

.hero-subtitle {
    color: white;
        /* Sans/Header 20/Medium */
    font-family: var(--font-default, Suisse Intl);
    font-size: var(--size-header-20, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--line-height-header-20, 24px);
}

.intro-text,
.intro-instruction,
.promise-description {
    color: white;
        /* Sans/Header 20/Medium */
    font-family: var(--font-default, Suisse Intl);
    font-size: var(--size-header-20, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--line-height-header-20, 24px);
}

.section-title, .promise-title {
    /* Sans/Header 56/Display */
    font-family: Gramatika;
    font-size: var(--size-header-56, 56px);
    font-style: normal;
    font-weight: 700;
        line-height: var(--line-height-header-56, 56px);
}

.category-title, .examples-title {
    font-family: font/display;
    font-weight: 400;
    font-style: Regular;
    font-size: size/header-48;
    line-height: line-height/header-48;
    letter-spacing: 0%;
    text-align: center;
    font-size: 42px;
}

.option-text {
      /* Sans/Header 24/Medium */
    font-family: var(--font-default, Suisse Intl);
    font-size: var(--size-header-24, 21px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--line-height-header-24, 28px);
    /* 116.667% */
}

.example-bubble {
    /* Sans/Header 24/Medium */
  font-family: var(--font-default, Suisse Intl);
  font-size: var(--size-header-24, 24px);
  font-style: normal;
  font-weight: 450;
  line-height: var(--line-height-header-24, 28px);
  /* 116.667% */
  min-height: 178px;
  min-width: 287px;
  background-color: #F2F1EE;
}

.examples-section {
    max-width: 846px;
}


#capsule-header {
    background-position: -288px 135px;
}


@media (min-width: 50px) {

    #capsule-header {
        background-position: -288px 135px;
    }
    
}



/* Tablet Breakpoint */
@media (min-width: 768px) {

    #capsule-header {
        background-position: center 60%;
        background-position: 145px 0;
    }
}


@media (min-width: 765px) {
    #capsule-header {
        background-position: center 60%;
        background-position: 10px 0;
    }
}
@media (min-width: 900px) {
    #capsule-header {
        background-position: 152px 0;
    }
}
@media (min-width: 1100px) {

    #capsule-header {
    background-position: 220px 0;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {

    #capsule-header {
        background-position: 360px 0;
    }
}

@media (min-width: 1500px) {

    .option-card {
        max-width: calc(20% - 65px);
    }
    
    .options-grid {
        gap: clamp(12px, 1.5vw, 12px);
    }

    #capsule-header {
        background-position: 372px -183px;
        }
}

