:root {
            --primary-color: #2ecc71;
            --secondary-color: #2d3436;
            --background-color: #f8f9fa;
            --text-color: #2d3436;
            --success-color: #27ae60;
            --warning-color: #f1c40f;
            --danger-color: #e74c3c;
            --border-radius: 12px;
            --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--background-color);
        }

        .container {
            max-width: 800px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .calculator-container {
            background: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 2rem;
        }

        h1 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 0.5rem;
            font-size: 2.2rem;
        }

        .subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 2rem;
        }

        .calculator {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .transaction-section,
        .fees-section,
        .tax-section {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px solid #e0e0e0;
        }

        .calculator h2 {
            color: var(--secondary-color);
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1.2rem;
        }

        .input-group:last-child {
            margin-bottom: 0;
        }

        label {
            font-weight: 600;
            color: var(--text-color);
        }

        input, select {
            padding: 0.8rem;
            border: 2px solid #e0e0e0;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: white;
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
        }

        .helper-text {
            font-size: 0.85rem;
            color: #666;
        }

        .calculate-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 1rem;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calculate-btn:hover {
            background-color: var(--success-color);
            transform: translateY(-1px);
        }

        /* Transaction List Styles */
        .transactions-list {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px solid #e0e0e0;
        }

        .transaction-headers {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
            padding: 0.8rem;
            background-color: #e9ecef;
            border-radius: var(--border-radius);
            font-weight: 600;
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
        }

        .transaction-headers span {
            font-size: 0.9rem;
        }

        #transactions-container {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .transaction-item {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
            padding: 0.8rem;
            background-color: white;
            border-radius: var(--border-radius);
            transition: all 0.3s ease;
        }

        .transaction-item:hover {
            transform: translateX(4px);
            box-shadow: var(--box-shadow);
        }

        .transaction-item span {
            font-size: 0.9rem;
            color: var(--text-color);
        }

        .transaction-type {
            font-weight: 600;
        }

        .type-long-term {
            color: var(--success-color);
        }

        .type-short-term {
            color: var(--warning-color);
        }

        /* Results Styles */
        .results {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .result-item {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border-left: 4px solid var(--primary-color);
        }

        .result-item h3 {
            color: var(--secondary-color);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .result-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .result-grid div {
            padding: 1rem;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .result-grid p {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        .result-grid span {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Status Colors */
        .profit {
            color: var(--success-color) !important;
        }

        .loss {
            color: var(--danger-color) !important;
        }

        /* Blog Post Styles */
        .blog-post {
            background: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 2rem;
        }

        .blog-post h2 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }

        .blog-post h3 {
            color: var(--secondary-color);
            margin: 1.5rem 0 1rem;
            font-size: 1.3rem;
        }

        .blog-post p {
            margin-bottom: 1rem;
            line-height: 1.7;
        }

        .blog-post ul,
        .blog-post ol {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .blog-post li {
            margin-bottom: 0.8rem;
            line-height: 1.7;
        }

        .blog-post strong {
            color: var(--secondary-color);
            font-weight: 600;
        }

        /* FAQ Section Styles */
        .faq-section {
            background: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
        }

        .faq-section h2 {
            color: var(--primary-color);
            margin-bottom: 2rem;
            font-size: 1.8rem;
        }

        .faq-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #e0e0e0;
        }

        .faq-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .faq-item h3 {
            color: var(--secondary-color);
            margin-bottom: 0.8rem;
            font-size: 1.2rem;
        }

        .faq-item p {
            color: #666;
            line-height: 1.7;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .results, .transaction-item {
            animation: fadeIn 0.5s ease-out;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                margin: 1rem auto;
            }

            .calculator-container,
            .blog-post,
            .faq-section {
                padding: 1.5rem;
            }

            h1 {
                font-size: 1.8rem;
            }

            .calculator h2 {
                font-size: 1.2rem;
            }

            .result-grid {
                grid-template-columns: 1fr;
            }

            .transaction-headers,
            .transaction-item {
                grid-template-columns: repeat(3, 1fr);
            }

            .transaction-headers span:nth-child(n+4),
            .transaction-item span:nth-child(n+4) {
                display: none;
            }

            .blog-post h2,
            .faq-section h2 {
                font-size: 1.5rem;
            }

            .blog-post h3 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .transaction-headers,
            .transaction-item {
                grid-template-columns: repeat(2, 1fr);
            }

            .transaction-headers span:nth-child(n+3),
            .transaction-item span:nth-child(n+3) {
                display: none;
            }
        }

        /* Print Styles */
        @media print {
            .calculator-container,
            .blog-post,
            .faq-section {
                box-shadow: none;
            }

            .calculate-btn {
                display: none;
            }
        }

        /* Google Form */
        .google-form-container {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        /* Header */
        header {
          background-color: #111;
          padding: 10px 0;
        }

        header nav ul {
          list-style: none;
          display: flex;
          justify-content: center;
          gap: 30px;
          padding: 0;
          margin: 0;
        }

        header nav ul li a {
          color: #fff;
          text-decoration: none;
          font-weight: bold;
        }

        /* Footer */
        footer {
          background-color: #111;
          color: #ccc;
          text-align: center;
          padding: 20px 0;
          margin-top: 50px;
        }

        /* Dropdown Menu Styles */
        .dropdown {
          position: relative;
          display: inline-block;
        }

        .dropdown-content {
          display: none;
          position: absolute;
          background-color: #1a1a1a;
          min-width: 200px;
          box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
          z-index: 9999;
          border-radius: 8px;
          border: 1px solid #333;
          top: 100%;
          left: 0;
        }

        .dropdown-content a {
          color: #ccc !important;
          padding: 12px 16px;
          text-decoration: none;
          display: block;
          transition: all 0.3s ease;
          border-bottom: 1px solid #333;
          white-space: nowrap;
        }

        .dropdown-content a:last-child {
          border-bottom: none;
        }

        .dropdown-content a:hover {
          background-color: #333;
          color: #4ade80 !important;
        }

        .dropdown:hover .dropdown-content {
          display: block;
        }

        .dropbtn {
          cursor: pointer;
        }

        /* Mobile responsiveness for dropdown */
        @media (max-width: 768px) {
          .dropdown {
            position: relative;
          }
          
          .dropdown-content {
            position: absolute;
            right: 0;
            left: auto;
            top: 100%;
            min-width: 180px;
            max-width: 250px;
            margin-top: 5px;
            background-color: #1a1a1a;
            border: 1px solid #333;
            box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.4);
            z-index: 9999;
          }
          
          .dropdown-content a {
            padding: 10px 14px;
            font-size: 14px;
            border-bottom: 1px solid #333;
            white-space: normal;
            line-height: 1.3;
          }
          
          .dropdown-content a:hover {
            background-color: #333;
          }
        }

        /* Extra small screens */
        @media (max-width: 480px) {
          .dropdown-content {
            min-width: 160px;
          }
          
          .dropdown-content a {
            padding: 8px 12px;
            font-size: 13px;
          }
        }

        /* Call to Action Box Styles */
        .cta-box {
            background: linear-gradient(135deg, var(--primary-color), var(--success-color));
            color: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            text-align: center;
            margin: 2rem 0;
            box-shadow: var(--box-shadow);
        }

        .cta-box h3 {
            color: white;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .cta-box p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .cta-button {
            display: inline-block;
            background-color: white;
            color: var(--primary-color);
            padding: 1rem 2rem;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        /* Internal Link Styles */
        .internal-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .internal-link:hover {
            border-bottom-color: var(--primary-color);
            color: var(--success-color);
        }

        /* Recent Articles Section */
        .recent-articles {
            background: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 2rem;
        }

        .recent-articles h2 {
            color: var(--primary-color);
            margin-bottom: 2rem;
            font-size: 1.8rem;
            text-align: center;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .article-card {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--box-shadow);
        }

        .article-card h3 {
            color: var(--secondary-color);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .article-card p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .article-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .article-link:hover {
            color: var(--success-color);
        }

        /* Highlight Box */
        .highlight-box {
            background-color: #f0f9ff;
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .tax-rates-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }

        .tax-rates-table th,
        .tax-rates-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }

        .tax-rates-table th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
        }

        .tax-rates-table tr:hover {
            background-color: #f8f9fa;
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .tool-card {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            border: 1px solid #e0e0e0;
            transition: all 0.3s ease;
        }

        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .tool-card h4 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .tool-card .price {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .warning-box {
            background-color: #fff3cd;
            border-left: 4px solid var(--warning-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }

        .step-number {
            background-color: var(--primary-color);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-right: 1rem;
        }

        /* Table Styles */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }

        th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
        }

        tr:hover {
            background-color: #f8f9fa;
        }