/* 
   Goldsparplan Page Styles
   Dedicated styles for goldsparplan.html
*/

.tp-hero-area-new {
  background: var(--tp-gradient-primary);
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden;
  text-align: center;
}

.tp-hero-content-new {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.tp-hero-title-new {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.tp-hero-subtitle-new {
  font-size: 16px;
  color: var(--gold-primary);
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
}

.tp-hero-description-new {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

#hero-three-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .tp-hero-title-new {
    font-size: 32px;
  }
  .tp-hero-area-new {
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .tp-hero-title-new {
    font-size: 26px;
  }
  .tp-hero-description-new {
    font-size: 16px;
  }
}

/* --- CTA PREMIUM BOX BACKGROUND EFFECT --- */
.cta-premium-box {
    position: relative;
    overflow: hidden;
    padding: 100px 60px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #16243E 0%, #06101f 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4) !important;
    z-index: 1;
}

.cta-gold-decor {
    position: absolute;
    top: 50%;
    width: 240px;
    height: auto;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.cta-gold-decor.left {
    left: -70px;
    mask-image: linear-gradient(to right, black 40%, transparent 90%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 90%);
    animation: floatGoldLeft 10s infinite ease-in-out;
}

.cta-gold-decor.right {
    right: -70px;
    transform: translateY(-50%) scaleX(-1);
    mask-image: linear-gradient(to right, black 40%, transparent 90%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 90%);
    animation: floatGoldRight 10s infinite ease-in-out;
}

.cta-content-wrapper h2 {
    font-size: 36px !important;
    font-weight: 600;
}

.cta-content-wrapper p {
    font-size: 16px !important;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.tp-btn-gold {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ffcc33 0%, #e6ac00 100%);
    color: #16243E !important;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(255, 204, 51, 0.3);
    transition: 0.3s;
    text-decoration: none;
    font-size: 14px;
}

.tp-btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 204, 51, 0.5);
    background: linear-gradient(135deg, #ffe066 0%, #ffcc33 100%);
}

.tp-btn-ghost {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

.tp-btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

@keyframes floatGoldLeft {
    0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
    50% { transform: translateY(-53%) rotate(3deg) scale(1.04); }
}

@keyframes floatGoldRight {
    0%, 100% { transform: translateY(-50%) scaleX(-1) rotate(0deg) scale(1); }
    50% { transform: translateY(-47%) scaleX(-1) rotate(-3deg) scale(1.04); }
}

@media (max-width: 991px) {
    .cta-gold-decor { width: 150px; opacity: 0.3; }
    .cta-gold-decor.left { left: -40px; }
    .cta-gold-decor.right { right: -40px; }
    .cta-premium-box { padding: 60px 20px !important; }
    .cta-content-wrapper h2 { font-size: 28px !important; }
}

/* --- CURVED STEPS SECTION --- */
.starten-section-premium {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #0a3d62;
    position: relative;
    overflow: hidden;
}

.starten-header .tp-section-title-pre {
    color: var(--gold-primary);
    display: block;
}

.starten-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.starten-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Vertical Falling Lines Effect */
.vertical-lines-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    z-index: 0;
}

.vertical-lines-bg span {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
    position: relative;
}

.vertical-lines-bg span::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 1px;
    height: 6%;
    background: linear-gradient(to bottom, transparent, rgba(183, 142, 77, 0.4), transparent);
    animation: dropLines 6s infinite linear;
}

.vertical-lines-bg span:nth-child(2)::after { animation-delay: 1.2s; }
.vertical-lines-bg span:nth-child(3)::after { animation-delay: 3s; }
.vertical-lines-bg span:nth-child(4)::after { animation-delay: 0.5s; }
.vertical-lines-bg span:nth-child(5)::after { animation-delay: 4.2s; }

@keyframes dropLines {
    0% { top: -20%; }
    100% { top: 120%; }
}

.curved-steps-container {
    position: relative;
    padding: 20px 0;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.curved-steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03), transparent);
    z-index: 0;
}

.steps-scroll-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px 0;
}

.step-curved-item {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.45;
    transform: scale(0.9);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    filter: blur(1px);
}

.step-curved-item.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
    filter: blur(0);
}

.step-card-premium {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 30px 45px;
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-curved-item.active .step-card-premium {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    border-color: rgba(183, 142, 77, 0.25);
}

.step-dot {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -54px;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.step-curved-item.active .step-dot {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0a3d62;
    box-shadow: 0 0 20px var(--gold-primary);
}

.step-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-info p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.starten-image-wrapper img {
    max-width: 100%;
    height: auto;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-element {
    animation: floating 4s infinite ease-in-out;
}

@media (max-width: 991px) {
    .curved-steps-container {
        min-height: auto;
    }
    .step-curved-item {
        opacity: 1;
        transform: none !important;
        filter: none;
        margin-bottom: 20px;
    }
    .step-dot {
        display: none;
    }
    .curved-steps-container::before {
        display: none;
    }
    .step-card-premium {
        padding: 25px;
    }
}
