/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background: #7b7b7b; */
    min-height: 100vh;
    color: #333;
    line-height: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: 100vh;
}
video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* Fallback for devices that don't support backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    footer {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .total-summary {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .calculator-container {
        background: rgba(255, 255, 255, 0.95);
    }
}
/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.068);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
}
.header {
    text-align: center;
    margin-bottom: 1rem;
    color: white;
    flex-shrink: 0;
}


.header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Container */
.calculator-container {
    /* background: #edebeb;
    backdrop-filter: blur(20px); */
    background: rgba(255, 255, 255, 0.068);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Forms Container - Flexbox Layout */
.forms-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.form-wrapper {
    flex: 1;
    background: transparent;
    border-radius: 16px;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #7b7b7b;
}

.form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 1px 4px #8b8b8b;
    border-color: #7b7b7b;
}

.form-wrapper:nth-child(2)::before {
    background: #b9b9b9;
}

.form-wrapper:nth-child(2):hover {
    border-color: #b9b9b9;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.form-header i {
    font-size: 1.5rem;
    color: #7b7b7b;
    background: #7b7b7b;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-wrapper:nth-child(2) .form-header i {
    background: #b9b9b9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.billing-info {
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    color: #7b7b7b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin-left: auto;
}

.billing-info.monthly {
    background: rgba(16, 185, 129, 0.1);
    color: #b9b9b9;
    border-color: rgba(16, 185, 129, 0.2);
}

/* Form Styles */
.pricing-form {
    margin-bottom: 0;
}

.seo-btn {
    background: #b9b9b9;
    /* box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3); */
}

.seo-btn:hover {
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* .form-group label i {
    color: #b9b9b9;
    font-size: 1rem;
} */

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
}

.form-group input:focus {
    outline: none;
    border-color: #7b7b7b;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover {
    border-color: #d1d5db;
}

.input-helper {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: block;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    background: black;
    color: white;
    border: none;
    padding: .5rem;
    margin-top: .5rem !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); */
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.calculate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.calculate-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(239, 74, 62, 0.3);
}

/* Result Sections */
.results-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex: 1;
    min-height: 0;
}

.result-section {
    flex: 1;
    transition: all 0.5s ease;
}

.result-section.hidden {
    display: none;
}

.result-card {
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease;
}

.result-card.success {
    background: #b9b9b9;
    color: white;
}

.result-card.website-result {
    background: rgba(255, 255, 255, 0.068);
    color: white;
}

.result-card.seo-result {
    background: rgba(255, 255, 255, 0.068);
    color: white;
}

.result-card.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.result-card.loading {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.result-header i {
    font-size: 1.5rem;
}

.result-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Price Display */
.price-display {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 300;
    vertical-align: top;
}

.price {
    font-size: 2.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.billing-period {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 0.5rem;
}

/* Price Details */
.price-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    flex: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.detail-item .label {
    font-weight: 500;
    opacity: 0.9;
}

.detail-item .value {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Error Text */
.error-text {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

/* Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Total Summary Section */
.total-summary {
    background: rgba(255, 255, 255, 0.068);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.total-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #7b7b7b 0%, #b9b9b9 100%);
}

.total-summary.hidden {
    display: none;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-header i {
    font-size: 1.25rem;
    color: #b9b9b9;
    background: linear-gradient(135deg, #7b7b7b 0%, #b9b9b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.total-price-display {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: black;
    border-radius: 12px;
    color: white;
}

.total-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.total-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
}

.billing-note {
    font-size: 2rem;
    font-weight: 700;
}

.summary-breakdown {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.breakdown-item {
    flex: 1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-info i {
    font-size: 1rem;
    color: #7b7b7b;
}

.service-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-price {
    font-weight: 700;
    color: #b9b9b9;
    font-size: 1rem;
}

.service-sites {
    font-size: 0.8rem;
    color: #6b7280;
}

.summary-totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.total-item .total-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.total-item .total-value {
    font-weight: 700;
    color: #374151;
    font-size: 0.9rem;
}

/* Samples Section */
.samples-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.samples-section h3 {
    color: #374151;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sample-card {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
}

.sample-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sample-card h4 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sample-details {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.sample-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7b7b7b;
    text-align: center;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }
    
    .header {
        margin-bottom: 1rem;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .calculator-container,
    .samples-section {
        padding: 1rem;
    }
    
    .forms-container {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-wrapper {
        padding: 1rem;
    }
    
    .form-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .form-header h3 {
        font-size: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculate-btn {
        padding: .5rem;
        margin-top: 1rem !important;
        font-size: 0.65rem;
    }
    
    .price {
        font-size: 2.25rem;
    }
    
    .currency {
        font-size: 1.1rem;
    }
    
    .price-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .samples-grid {
        grid-template-columns: 1fr;
    }
    
    .results-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.75rem;
    }
    
    .result-card {
        padding: 1rem;
    }
    
    .result-header {
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .price-display {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .total-summary {
        padding: 1rem;
        margin-top: 0.75rem;
    }
    
    .summary-breakdown {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .summary-totals {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .total-price {
        font-size: 1.5rem;
    }
    
    .billing-note {
        font-size: 1.25rem;
        font-weight: 600;
    }
    
    .total-amount {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    
    .total-price-display {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .header {
        margin-bottom: 0.75rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .calculator-container,
    .samples-section {
        padding: 0.75rem;
    }
    
    .forms-container {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .form-wrapper {
        padding: 0.875rem;
    }
    
    .form-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .form-header h3 {
        font-size: 0.95rem;
    }
    
    .form-header i {
        font-size: 1.1rem;
    }
    
    .calculate-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .results-container {
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .result-card {
        padding: 0.875rem;
    }
    
    .result-header {
        margin-bottom: 0.5rem;
    }
    
    .price-display {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .currency {
        font-size: 1.1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .total-summary {
        padding: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .summary-header h3 {
        font-size: 0.95rem;
    }
    
    .total-price {
        font-size: 1.25rem;
    }
    
    .billing-note {
        font-size: 1.25rem;
        font-weight: 600;
    }
    
    .total-amount {
        /* flex-direction: column; */
        align-items: center;
        gap: 0.1rem;
        line-height: 1.2;
    }
    
    .total-price-display {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .breakdown-item {
        padding: 0.75rem;
    }
    
    .total-item {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .total-item .total-label {
        font-size: 0.8rem;
    }
    
    .total-item .total-value {
        font-size: 0.9rem;
        font-weight: 700;
    }
    
    .summary-totals {
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    .total-price {
        font-size: 1.1rem;
    }
    
    .billing-note {
        font-size: 0.9rem;
    }
    
    .currency {
        font-size: 0.9rem;
    }
    
    .summary-header h3 {
        font-size: 0.9rem;
    }
    
    .total-item .total-label {
        font-size: 0.75rem;
    }
    
    .total-item .total-value {
        font-size: 0.85rem;
    }
    
    .total-amount {
        word-break: break-word;
    }
    
    .billing-note {
        word-break: break-word;
    }
}

/* Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

footer a {
    color: lightgray;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 0.25rem;
}

footer a:hover {
    transform: translateY(-1px);
    color: #fff;
}

@media (max-width: 768px) {
    footer {
        padding: 1rem 0;
        margin-top: 1rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    footer a {
        font-size: 0.9rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 0.75rem 0;
        margin-top: 0.75rem;
    }
    
    footer p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    footer a {
        font-size: 0.85rem;
        padding: 0.15rem 0.3rem;
    }
} 

label,p,span,h3,h2 {
    color: white !important;
}