/* Main Styles */
:root {
    --bg-color: #0E0E16;
    --card-bg: #1a1a28;
    --primary-gradient: linear-gradient(135deg, #FFE043 0%, #ffd700 100%);
    --accent-yellow: #FFE043;
    --accent-gold: #ffd700;
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --border-radius: 12px;
    --shadow: 0 10px 30px -5px rgba(255, 224, 67, 0.2), 0 4px 10px -2px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(255, 224, 67, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.6;
    padding: 2rem 1rem;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 224, 67, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 224, 67, 0.05) 0%, transparent 50%);
}

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

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 224, 67, 0.3);
    box-shadow: 0 0 20px rgba(255, 224, 67, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Calculator Container */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.inputs-card, .results-card, .monthly-data-card, .summary-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow), var(--glow);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 224, 67, 0.1);
    position: relative;
    overflow: hidden;
}

.inputs-card::before, .results-card::before, .monthly-data-card::before, .summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

/* Input Styles */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.input-with-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 224, 67, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 224, 67, 0.05);
    color: var(--text-white);
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 224, 67, 0.1);
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(255, 224, 67, 0.2), 0 2px 10px rgba(255, 224, 67, 0.2);
}

input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 224, 67, 0.15);
    border-radius: 3px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 0 10px rgba(255, 224, 67, 0.4);
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 224, 67, 0.6);
}

/* Button Styles */
.calculate-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #0E0E16;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 224, 67, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 224, 67, 0.5), 0 0 30px rgba(255, 224, 67, 0.2);
}

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

/* Chart Styles */
.chart-container {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
}

/* Metrics Styles */
.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.metric-box {
    background-color: rgba(255, 224, 67, 0.05);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 224, 67, 0.15);
    box-shadow: 0 2px 10px rgba(255, 224, 67, 0.1);
}

.metric-box p {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 224, 67, 0.3);
}

/* Summary Styles */
.summary-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.summary-box {
    background-color: rgba(255, 224, 67, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 224, 67, 0.15);
    box-shadow: 0 4px 15px rgba(255, 224, 67, 0.1);
}

.summary-box h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-white);
}

.summary-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 224, 67, 0.15);
}

.metric-label {
    font-weight: 500;
    color: var(--text-light);
}

.metric-value {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 224, 67, 0.3);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 224, 67, 0.15);
}

th {
    font-weight: 600;
    color: var(--accent-yellow);
    background-color: rgba(255, 224, 67, 0.08);
    text-shadow: 0 0 10px rgba(255, 224, 67, 0.2);
}

td {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

tbody tr:hover {
    background-color: rgba(255, 224, 67, 0.05);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 1rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow), var(--glow);
    border: 1px solid rgba(255, 224, 67, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0.9;
}

.cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.calendly-container {
    background-color: rgba(255, 224, 67, 0.05);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    min-height: 700px;
    border: 1px solid rgba(255, 224, 67, 0.2);
    box-shadow: 0 4px 20px rgba(255, 224, 67, 0.15), inset 0 1px 0 rgba(255, 224, 67, 0.1);
}

.calendly-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.calendly-inline-widget {
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background-color: white;
}

/* Social Media Section */
.social-media-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 224, 67, 0.2);
    box-shadow: 0 -1px 0 rgba(255, 224, 67, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 224, 67, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 224, 67, 0.2);
    box-shadow: 0 2px 10px rgba(255, 224, 67, 0.15);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 224, 67, 0.3), 0 0 20px rgba(255, 224, 67, 0.2);
}

.social-icon.youtube:hover {
    background-color: #ff0000;
    color: white;
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.social-icon.twitter:hover {
    background-color: #000000;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

/* Email Input Styles */
.email-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 224, 67, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 224, 67, 0.05);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(255, 224, 67, 0.1);
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(255, 224, 67, 0.2), 0 2px 10px rgba(255, 224, 67, 0.2);
}

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

.email-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.email-message.success {
    color: #4ade80;
}

.email-message.error {
    color: #f87171;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--accent-yellow);
}

.checkbox-group label {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.terms-link {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid rgba(255, 224, 67, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 224, 67, 0.2);
    position: relative;
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-yellow);
}

.modal-content h2 {
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 224, 67, 0.2);
}

.terms-body h3 {
    color: var(--accent-yellow);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.terms-body h4 {
    color: var(--text-light);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.terms-body p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.terms-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--text-light);
}

.terms-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.terms-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 224, 67, 0.2);
    font-weight: 500;
    color: var(--accent-yellow) !important;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 1rem;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hide results until email submitted */
.results-hidden {
    display: none;
}

.results-visible {
    display: block;
}

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

.results-card, .monthly-data-card, .summary-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}
