/* Custom font faces for Creato Display fonts */
@font-face {
    font-family: 'Creato Display Medium';
    src: url('https://framerusercontent.com/assets/ATauLcvFKpYgrXGmbBvoKadQKQ.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Creato Display Regular';
    src: url('https://framerusercontent.com/assets/BjVITzJzSoiWMhXQ1BhubBVXwm8.woff2') format('woff2');
    font-display: swap;
}

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

body {
    font-family: 'Creato Display Regular', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #484848;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    margin: 0;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Lead Capture Form Styles */
.lead-capture {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: auto;
    border: 1px solid #e8e8e8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    max-height: calc(100vh - 40px);
}

.lead-capture h1 {
    font-family: 'Creato Display Medium', sans-serif;
    font-size: 56px;
    margin-bottom: 16px;
    color: #484848;
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.1;
    position: relative;
}

.lead-capture h1 span {
    background: linear-gradient(135deg, #8733c7 0%, #b969ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-capture p {
    color: #979797;
    margin-bottom: 40px;
    font-size: 20px;
    font-family: 'Creato Display Regular', sans-serif;
    line-height: 1.4;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
}

.trust-badge-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8733c7 0%, #b969ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafbfc;
    font-family: 'Manrope', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #8733c7;
    background: white;
    box-shadow: 0 0 0 4px rgba(135, 51, 199, 0.1);
}

.submit-btn {
    background: radial-gradient(46.045196134530876% 97.08827980363553% at 3.1% 0%, rgb(174, 104, 227) 0%, rgb(135, 51, 199) 100%);
    color: white;
    border: 1px solid rgb(182, 113, 235);
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-family: 'Creato Display Medium', sans-serif;
    letter-spacing: 0px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(135, 51, 199, 0.3);
}

.security-note {
    margin-top: 16px;
    font-size: 12px;
    color: #979797;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Manrope', sans-serif;
}

/* Calculator Styles */
.calculator {
    display: none;
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.calculator-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(135, 51, 199, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calculator-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s;
    font-family: 'Creato Display Medium', sans-serif;
}

.tab.active {
    background: white;
    color: #8733c7;
    border-bottom: 3px solid #8733c7;
    margin-bottom: -2px;
}

.calculator-content {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.input-section {
    margin-bottom: 40px;
}

.input-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-family: 'Creato Display Medium', sans-serif;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-family: 'Creato Display Regular', sans-serif;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Manrope', sans-serif;
}

.input-group input:focus {
    outline: none;
    border-color: #8733c7;
}

.input-prefix, .input-suffix {
    position: absolute;
    color: #6c757d;
    font-weight: 600;
    pointer-events: none;
}

.input-prefix {
    left: 12px;
}

.input-suffix {
    right: 12px;
}

.input-with-prefix {
    padding-left: 32px !important;
}

.input-with-suffix {
    padding-right: 32px !important;
}

.results-section {
    background: linear-gradient(135deg, #8733c7 0%, #b769ff 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
    margin-top: 40px;
}

.results-section h3 {
    margin-bottom: 20px;
    font-family: 'Creato Display Medium', sans-serif;
    font-size: 20px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.result-label {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 8px;
    font-family: 'Creato Display Regular', sans-serif;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Creato Display Medium', sans-serif;
    letter-spacing: -1px;
}

.result-subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
    font-family: 'Creato Display Regular', sans-serif;
}

.roi-highlight {
    background: white;
    color: #8733c7;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(135, 51, 199, 0.1);
}

.roi-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Creato Display Regular', sans-serif;
}

.roi-value {
    font-size: 64px;
    font-weight: 700;
    font-family: 'Creato Display Medium', sans-serif;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #8733c7 0%, #b769ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-period {
    font-size: 16px;
    color: #6c757d;
    margin-top: 10px;
    font-family: 'Creato Display Regular', sans-serif;
}

.sensitivity-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    border: 2px solid #e9ecef;
}

.sensitivity-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #495057;
    font-family: 'Creato Display Medium', sans-serif;
    text-align: center;
}

.sensitivity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sensitivity-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.sensitivity-item:hover {
    box-shadow: 0 4px 12px rgba(135, 51, 199, 0.1);
    border-color: #8733c7;
}

.sensitivity-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    font-family: 'Creato Display Regular', sans-serif;
    font-weight: 600;
}

.sensitivity-value {
    font-size: 28px;
    font-weight: 700;
    color: #8733c7;
    font-family: 'Creato Display Medium', sans-serif;
    letter-spacing: -1px;
}

.breakdown-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.breakdown-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
    font-family: 'Creato Display Medium', sans-serif;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-label {
    color: #6c757d;
    font-family: 'Creato Display Regular', sans-serif;
}

.breakdown-value {
    font-weight: 600;
    color: #495057;
    font-family: 'Creato Display Medium', sans-serif;
}

.breakdown-value.positive {
    color: #28a745;
}

.breakdown-value.negative {
    color: #dc3545;
}

.assumptions-note {
    margin-top: 20px;
    padding: 15px;
    background: #f0f4ff;
    border-left: 4px solid #8733c7;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
    font-family: 'Manrope', sans-serif;
}

.assumptions-note strong {
    font-family: 'Creato Display Medium', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .lead-capture {
        padding: 40px 30px;
        min-height: 400px;
        max-height: none;
    }
    
    .calculator-content {
        padding: 20px;
    }

    .roi-value {
        font-size: 48px;
    }

    .input-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .sensitivity-grid {
        grid-template-columns: 1fr;
    }

    .tab {
        font-size: 14px;
        padding: 15px 10px;
    }

    .lead-capture h1 {
        font-size: 42px;
    }

    .lead-capture p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .calculator-content {
        padding: 15px;
    }

    .roi-value {
        font-size: 36px;
    }

    .result-value {
        font-size: 24px;
    }

    .lead-capture h1 {
        font-size: 36px;
    }

    .lead-capture {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lead-capture {
    animation: fadeInUp 0.6s ease-out;
}

.calculator-card {
    animation: fadeInUp 0.6s ease-out;
}

