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

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

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

.header {
    text-align: center;
    color: #1E293B;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
    padding: 16px 0;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header p {
    font-size: 1.1em;
    opacity: 0.95;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    animation: fadeInUp 0.8s ease;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card h2 {
    color: #1E293B;
    margin-bottom: 24px;
    font-size: 1.6em;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 12px;
    font-weight: 700;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

input[type="text"][inputmode="numeric"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

input[type="text"][inputmode="numeric"]:focus {
    border-color: #1E293B;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 138, 255, 0.2);
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"], select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #1E293B;
}

input[type="number"]:focus, select:focus {
    border-color: #1E293B;
    box-shadow: 0 0 0 3px rgba(79, 138, 255, 0.2);
    outline: none;
}

.btn {
    background: #0067fd;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px rgba(79, 138, 255, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.result-item:hover {
    background: #e9ecef;
}

.result-label {
    color: #666;
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    color: #333;
}

.highlight {
    background: linear-gradient(135deg, rgba(79, 138, 255, 0.1) 0%, rgba(0, 193, 212, 0.1) 100%);
    color: #1E293B;
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid #E2E8F0;
    backdrop-filter: blur(5px);
}

.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tax-table th, .tax-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tax-table th {
    background: #F1F5F9;
    color: #1E293B;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.tax-table tr:hover {
    background: #f8f9fa;
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
}

.faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.faq-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-header h2::before {
    content: '❓';
    font-size: 1.2em;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1E293B;
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #F1F5F9;
}

.faq-question::after {
    content: '\25BC';
    font-size: 0.8em;
    color: #64748B;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: #1E40AF;
    background: #EFF6FF;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: #1E40AF;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px;
    border-top: 1px solid #E2E8F0;
}

.faq-answer p {
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-answer .reference {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
    font-size: 0.9em;
    color: #64748B;
}

.faq-answer .reference a {
    color: #3B82F6;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s ease;
}

.faq-answer .reference a:hover {
    color: #2563EB;
    text-decoration: underline;
}

.faq-answer .reference a:first-child {
    margin-left: 8px;
}

.info-box {
    background: rgba(79, 138, 255, 0.05);
    border-left: 4px solid #1E293B;
    padding: 18px;
    margin: 20px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-box h3 {
    color: #1E293B;
    margin-bottom: 10px;
}

.info-box ul {
    margin: 10px 0 20px 25px;
    line-height: 1.8;
}

.info-box ul li {
    margin-bottom: 8px;
}

/* Benefits Section */
.benefits {
    margin: 5rem 0;
    padding: 0 1rem;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 1rem;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

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

.benefit {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #3b82f6;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.benefit p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: #64748b;
    pointer-events: none;
}

/* Tutorial Section */
.tutorial-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.tutorial-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 1rem;
}

.tutorial-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

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

.tutorial-step {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.tutorial-step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.tutorial-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    margin: 5rem 0;
    padding: 0 1rem;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 1rem;
}

.use-cases h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.use-case h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .tutorial-steps,
    .use-cases-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .tutorial-steps,
    .use-cases-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-section h2,
    .use-cases h2,
    .benefits h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .tutorial-step,
    .use-case,
    .benefit {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

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

.tutorial-step,
.use-case,
.benefit {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.tutorial-step:nth-child(1) { animation-delay: 0.1s; }
.tutorial-step:nth-child(2) { animation-delay: 0.2s; }
.tutorial-step:nth-child(3) { animation-delay: 0.3s; }
.tutorial-step:nth-child(4) { animation-delay: 0.4s; }

.use-case:nth-child(1) { animation-delay: 0.1s; }
.use-case:nth-child(2) { animation-delay: 0.2s; }
.use-case:nth-child(3) { animation-delay: 0.3s; }
.use-case:nth-child(4) { animation-delay: 0.4s; }

.benefit:nth-child(1) { animation-delay: 0.1s; }
.benefit:nth-child(2) { animation-delay: 0.2s; }
.benefit:nth-child(3) { animation-delay: 0.3s; }
.benefit:nth-child(4) { animation-delay: 0.4s; }
.benefits {
    margin: 5rem 0;
    padding: 0 1rem;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 1rem;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

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

.benefit {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #3b82f6;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.benefit p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .tutorial-steps,
    .use-cases-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .tutorial-steps,
    .use-cases-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-section h2,
    .use-cases h2,
    .benefits h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .tutorial-step,
    .use-case,
    .benefit {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

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

.tutorial-step,
.use-case,
.benefit {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.tutorial-step:nth-child(1) { animation-delay: 0.1s; }
.tutorial-step:nth-child(2) { animation-delay: 0.2s; }
.tutorial-step:nth-child(3) { animation-delay: 0.3s; }
.tutorial-step:nth-child(4) { animation-delay: 0.4s; }

.use-case:nth-child(1) { animation-delay: 0.1s; }
.use-case:nth-child(2) { animation-delay: 0.2s; }
.use-case:nth-child(3) { animation-delay: 0.3s; }
.use-case:nth-child(4) { animation-delay: 0.4s; }

.benefit:nth-child(1) { animation-delay: 0.1s; }
.benefit:nth-child(2) { animation-delay: 0.2s; }
.benefit:nth-child(3) { animation-delay: 0.3s; }
.benefit:nth-child(4) { animation-delay: 0.4s; }

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

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

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    color: #1E293B;
    margin-left: 5px;
    top:2px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: #28a745;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
}

.badge.new {
    background: #dc3545;
}