@import url('variables.css');

/* Base Typography */
body,
p {
  font-family: var(--pyri-font-inter);
  font-weight: 400;
  color: var(--pyri-text-primary);
  font-size: 0.9375rem;
}

h1, h2, h3, h4, h6 {
  font-family: var(--pyri-font-jakarta);
  font-weight: 600;
  color: var(--pyri-text-primary) !important;
}

h2 {
    font-size: 2.5rem;
}

.h5, h5 {
    font-size: 1.125rem;
}

.font-12 {
    font-size: 0.75rem;
}

.font-20 {
  font-size: 1.25rem;
}

.small {
  font-size: .875rem !important;
}

.font-15,
.dropdown-item,
.form-select,
.text-link {
  font-size: 0.9375rem;
}

.text-muted {
  color: var(--pyri-text-muted) !important;
}

.text-pyri-blue {
    color: var(--pyri-primary);
}

.text-primary { 
  color: var(--pyri-text-primary); 
}

.text-orange {
  color: var(--pyri-orange) !important;
}

.text-link { 
  color: var(--pyri-primary); 
  text-decoration: underline; 
  cursor: pointer; 
}

.text-link:hover { 
  color: var(--pyri-primary-hover); 
}

/* Background Classes */
.bg-gray-light {
  background-color: var(--pyri-bg-light);
}

.bg-blue-light {
    background-color: var( --pyri-blue-light);
}

.bg-primary-blue.bg-opacity-10 {
    background: rgba(59, 130, 246, 0.1)
}

.mw-480 {
    max-width: 480px;
}

.mw-540 {
    max-width: 540px;
}

/* Button Styles */
.btn-pyri {
  font-family: var(--pyri-font-jakarta);
  font-weight: 400;
  cursor: pointer;
}

.btn-pyri[disabled] {
    background: var(--pyri-bg-white) !important;
    color: var(--pyri-text-light-gray) !important;
    border: 1px solid var(--pyri-border-gray) !important;
    opacity: 1 !important;
}

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


.btn-primary.btn-pyri:hover {
  background: var(--pyri-primary-hover);
  border-color: var(--pyri-primary-hover);
  color: #fff;
}

.btn-primary.btn-pyri i {
  color: #fff;
}

.nav-link {
    color: var(--pyri-text-primary);
}

.hamburger-menu {
    position: relative;
    width: 30px;
    height: 30px;
    border: 0;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: var(--pyri-text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand:focus-visible {
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger-line:nth-child(1) {
    top: 8px;
}

.hamburger-line:nth-child(2) {
    top: 14px;
}

.hamburger-line:nth-child(3) {
    top: 20px;
}

/* X animacija */
.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 14px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    top: 14px;
    transform: translateX(-50%) rotate(-45deg);
}

.hero-title-main {
    font-family: var(--pyri-font-inter), system-ui, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    max-width: 735px;
}

.input-group-custom {
    display: flex;
    background: var(--pyri-bg-white);
    border: 2px solid var(--pyri-gray-light);
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    max-width: 480px;
}

.input-group-custom:focus-within {
    border-color: var(--pyri-primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.email-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--pyri-text-primary);
    outline: none;
}

.email-input::placeholder {
    color: var(--pyri-text-gray);
}

/* Card Styles */
.card {
  border: 1px solid var(--pyri-gray-light);
  box-shadow: var(--pyri-shadow-card);
}

.card-header {
  background-color: var(--pyri-bg-white);
  border-bottom: 1px solid var(--pyri-gray-light);
  padding: 0 0 1rem 0;
}

.card.p-4 .card-body {
  padding: 1rem 0 0;
}
  
.card-hover {
    transition: all 0.3s ease;
}
  
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

div#problems img {
    width: 50px;
}

.outcome-section img {
    height: 80px;
    margin-bottom: 2rem;
}
  
.step-number {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.25rem;
}
  
.timeline-connector {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--pyri-blue-light);
    transform: translateX(-50%);
}
  
  .outcome-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.5rem;
  }
  
  .img-hover {
    transition: all 0.3s ease;
  }
  
  .img-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,.2) !important;
  }
  
.sticky-top {
    z-index: 1030;
}
  
.border-start-primary {
    border-left: 3px solid var(--pyri-primary);
}

footer p,
footer h3,
footer a {
    color: var(--pyri-gray-light) !important;
}

/****** Index test *******/
.index-test .card,
.index-test .rounded-3 {
    border-radius: 20px !important;
}

.index-test .card-body {
    padding: 30px;
}

.index-test .card-body p {
    margin-bottom: 0;
}

.index-test .border-start-primary {
    border-left: 0;
    position: relative;
    overflow: hidden;
}

.index-test .border-start-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;  
    width: 3px;  
    background: linear-gradient(180deg, #3B82F6, #3B82F6);
}

.index-test .mission {
    padding: 80px 0;
    margin: 30px 0;
}

.index-test .divider {
    position: relative;
    height: 2px;
    border: none;
    background: none;
    margin: 40px 0 60px;
}

.index-test .divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.4) 20%, 
        rgba(59, 130, 246, 0.4) 80%, 
        transparent 100%
    );
}

.index-test .divider::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 20%, 
        rgba(255, 255, 255, 0.6) 80%, 
        transparent 100%
    );
}

.index-test .mission h3 {
    margin-top: 15px;
    margin-bottom: 20px;
}

.content-constrained {
    max-width: 400px;
    margin: 0 auto;
}

.content-constrained img {
    height: 45px;
}

.content-constrained p {
    line-height: 1.8;
}

/****** Responsive *******/
@media (min-width: 1400px) {
    .hero-text-wrapper {
        padding-right: 60px;
    }
}

@media (max-width: 767.98px) {
    .hero-title-main,
    .hero-title-accent {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        max-width: 720px;
        margin: auto;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        max-width: 540px;
        margin: auto;
    }
}

@media (max-width: 575.98px) {
    .input-group-custom {
        flex-direction: column;
        gap: 12px;
        padding: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
    }
    
    .email-input {
        border-radius: 8px;
        border: 1px solid var(--pyri-gray-light);
    }
    
    .btn-get-access {
        width: 100%;
        border-radius: 8px;
        padding: .75rem;
    }
}

