/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-light: #EEF0F2;
    --color-muted: #C6C7C4;
    --color-mid: #A2999E;
    --color-accent: #846A6A;
    --color-dark: #353B3C;
    --gradient-primary: linear-gradient(135deg, #846A6A 0%, #353B3C 100%);
    --gradient-accent: linear-gradient(135deg, #A2999E 0%, #846A6A 100%);
}

html {
    background-color: #353B3C !important;
    scroll-behavior: smooth;
}

body {
    font-family: 'Teko', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.3rem;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Match main site */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(238, 240, 242, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.4rem 0;
    box-shadow: 0 1px 8px rgba(166, 170, 171, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo h2 {
    color: var(--color-accent);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.pricing-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23EEF0F2" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    color: var(--color-light);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--color-muted);
    font-weight: 300;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0 6rem;
    background: var(--color-light);
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, rgba(132, 106, 106, 0.1) 0%, rgba(53, 59, 60, 0.05) 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(53, 59, 60, 0.08);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--color-light);
}

.info-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.info-content p {
    color: var(--color-accent);
    line-height: 1.6;
    font-size: 1.2rem;
}

.inline-link {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--color-accent);
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(53, 59, 60, 0.12);
    border: 1px solid rgba(198, 199, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-muted);
}

.header-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(132, 106, 106, 0.3);
}

.header-icon i {
    font-size: 1.8rem;
    color: var(--color-light);
}

.card-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--color-dark);
    letter-spacing: 2px;
}

/* Form Styles */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1.3rem;
}

.form-group label i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 1.3rem 1.5rem;
    border: 2px solid var(--color-muted);
    border-radius: 12px;
    font-size: 1.2rem;
    font-family: 'Teko', sans-serif;
    background: var(--color-light);
    color: var(--color-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(132, 106, 106, 0.1);
    transform: translateY(-2px);
}

.input-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.input-wrapper input:focus + .input-decoration {
    width: 100%;
}

.url-feedback {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.url-feedback::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.url-feedback.success {
    color: var(--color-accent);
}

.url-feedback.success::before {
    content: "\f058";
}

.url-feedback.error {
    color: #dc3545;
}

.url-feedback.error::before {
    content: "\f06a";
}

.url-feedback.warning {
    color: var(--color-mid);
}

.url-feedback.warning::before {
    content: "\f071";
}

/* Discount Card */
.discount-card {
    background: linear-gradient(135deg, rgba(162, 153, 158, 0.1) 0%, rgba(198, 199, 196, 0.1) 100%);
    border: 2px dashed var(--color-accent);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(132, 106, 106, 0.3);
}

.discount-badge i {
    font-size: 0.8rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-dark);
    line-height: 1.5;
}

#testimonial-consent {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.2rem;
    background: white;
}

.checkmark i {
    color: var(--color-light);
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

#testimonial-consent:checked ~ .checkmark {
    background: var(--gradient-primary);
    border-color: var(--color-accent);
    transform: scale(1.1);
}

#testimonial-consent:checked ~ .checkmark i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    flex: 1;
}

/* Calculate Button */
.btn-calculate {
    padding: 1.5rem 3rem;
    background: var(--gradient-primary);
    color: var(--color-light);
    border: none;
    border-radius: 50px;
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(132, 106, 106, 0.3);
    margin-top: 1rem;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(132, 106, 106, 0.4);
}

.btn-calculate:active {
    transform: translateY(0);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.btn-content i {
    font-size: 1.2rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-calculate:hover .btn-shine {
    left: 100%;
}

/* Result Display */
.result-container,
.error-container {
    margin-top: 2.5rem;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    background: var(--gradient-accent);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--color-light);
    box-shadow: 0 10px 40px rgba(132, 106, 106, 0.3);
}

.result-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.result-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.result-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* AI Thinking Animation */
.ai-thinking {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ai-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.ai-dots .dot {
    width: 10px;
    height: 10px;
    background: var(--color-light);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.ai-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Price Display */
.final-price {
    font-size: 4rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    margin: 2rem 0;
    color: var(--color-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.discount-applied {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.original-price {
    font-size: 2rem;
    color: var(--color-light);
    text-decoration: line-through;
    opacity: 0.7;
    font-family: 'Bebas Neue', sans-serif;
}

.discount-label {
    font-size: 1.1rem;
    color: var(--color-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

.price-disclaimer {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-disclaimer p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--color-light);
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

/* Error Display */
.error-card {
    background: var(--color-dark);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--color-light);
    box-shadow: 0 10px 40px rgba(53, 59, 60, 0.3);
}

.error-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.error-icon i {
    font-size: 2.5rem;
    color: #dc3545;
}

.error-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.error-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(53, 59, 60, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(53, 59, 60, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--color-light);
}

.feature-item h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 1rem;
    color: var(--color-accent);
    line-height: 1.4;
}

/* Footer - Match main site */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-light);
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--color-mid);
    line-height: 1.6;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.footer-contact-item i {
    font-size: 0.85rem;
    color: var(--color-mid);
    width: 16px;
}

.footer-contact-item span {
    color: var(--color-muted) !important;
    text-decoration: none !important;
}

.footer-contact-item a {
    color: var(--color-muted) !important;
    text-decoration: none !important;
}

.footer-bottom {
    border-top: 1px solid var(--color-mid);
    padding-top: 1rem;
    text-align: center;
    color: var(--color-muted);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: var(--color-light);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px var(--color-mid);
        padding: 1.5rem 0;
        gap: 0.25rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .pricing-hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .calculator-section {
        padding: 3rem 0 4rem;
    }

    .info-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .calculator-card {
        padding: 2rem 1.5rem;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .card-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-section:first-child {
        display: none;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .calculator-card {
        padding: 1.5rem 1rem;
    }

    .btn-calculate {
        padding: 1.2rem 2rem;
        font-size: 1.2rem;
    }

    .final-price {
        font-size: 3rem;
    }

    .features-grid {
        margin-top: 2rem;
    }
}
