:root {
            --bg-gradient: #ffffff;
            --glass-bg: rgba(255, 255, 255, 0.9);
            --glass-border: rgba(0, 0, 0, 0.08);
            --primary: #6366f1; /* Vibrant Indigo */
            --primary-hover: #4f46e5;
            --accent: #f43f5e; /* Vibrant Rose */
            --text-main: #1e293b;
            --text-muted: #64748b;
            --danger: #ef4444;
            --radius: 16px;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Animated Background Elements */
        .bg-glow {
            position: fixed;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255,255,255,0) 70%);
            top: -250px;
            left: -250px;
            z-index: -1;
            pointer-events: none;
        }
        
        .bg-glow-2 {
            position: fixed;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, rgba(255,255,255,0) 70%);
            bottom: -150px;
            right: -150px;
            z-index: -1;
            pointer-events: none;
        }

        header {
            width: 100%;
            max-width: 1200px;
            padding: 20px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-sizing: border-box;
            animation: fadeInDown 0.8s ease-out;
            margin: 0 auto 40px;
        }
        
        .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .logo-container img {
            height: 120px;
            background: transparent;
            border: none;
            box-shadow: none;
            border-radius: 0;
            transition: transform 0.3s ease;
        }

        .logo-container img:hover {
            transform: scale(1.05);
        }

        .logo-container h1 {
            font-size: 2rem;
            font-size: 2.2rem;
            color: var(--text-main);
            margin: 0;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            background: linear-gradient(135deg, #6366f1, #f43f5e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero {
            width: 100%;
            text-align: center;
            margin-bottom: 50px;
        }

        .hero p {
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.2rem;
            font-weight: 400;
        }

        .top-nav {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .top-nav a {
            color: var(--text-main);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            transition: color 0.3s;
        }

        .top-nav a:hover {
            color: var(--primary);
        }

        .container {
            display: flex;
            gap: 30px;
            max-width: 1100px;
            width: 100%;
            padding: 0 20px 60px;
            box-sizing: border-box;
            align-items: flex-start;
            z-index: 1;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius);
            padding: 35px;
            box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 45px rgba(99, 102, 241, 0.12);
            border-color: rgba(99, 102, 241, 0.2);
        }

        .left-panel {
            flex: 1;
            position: sticky;
            top: 30px;
            animation: fadeInLeft 0.8s ease-out;
        }
        
        .right-panel {
            flex: 1.2;
            display: flex;
            flex-direction: column;
            gap: 30px;
            animation: fadeInRight 0.8s ease-out;
        }

        h3 {
            color: var(--text-main);
            margin-top: 0;
            margin-bottom: 25px;
            font-size: 1.4rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        h3::before {
            content: '';
            display: block;
            width: 4px;
            height: 24px;
            background: var(--primary);
            border-radius: 4px;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 400;
            font-size: 1rem;
            color: var(--text-main);
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper span {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary);
            font-weight: 600;
            font-size: 1.1rem;
        }

        input[type="number"] {
            width: 100%;
            padding: 16px 16px 16px 40px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            font-size: 1.1rem;
            color: var(--text-main);
            box-sizing: border-box;
            font-family: 'Outfit', sans-serif;
            transition: all 0.3s ease;
        }

        input[type="number"]:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
            background: #ffffff;
        }
        
        input[type="number"]::placeholder {
            color: #475569;
        }

        button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 25px;
            box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
            position: relative;
            overflow: hidden;
        }

        button::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255,255,255,0.1);
            transform: rotate(45deg);
            transition: all 0.3s ease;
            opacity: 0;
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 25px rgba(99, 102, 241, 0.4);
        }
        
        button:hover::after {
            opacity: 1;
            left: 100%;
        }

        .assumptions {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 20px;
            font-size: 0.9rem;
        }
        
        .assumptions-title {
            color: var(--text-muted);
            font-weight: 400;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.8rem;
        }

        .assumption-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            color: var(--text-muted);
        }
        
        .assumption-row strong {
            color: var(--text-main);
        }
        
        .result-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid var(--glass-border);
            transition: background 0.2s;
        }
        
        .result-row:hover {
            background: #f8fafc;
            padding-left: 8px;
            padding-right: 8px;
            border-radius: 8px;
            border-bottom-color: transparent;
        }
        
        .result-row:last-child {
            border-bottom: none;
        }

        .result-label {
            font-weight: 400;
            color: var(--text-muted);
        }

        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-shadow: none;
        }

        .highlight-success {
            color: var(--accent) !important;
            text-shadow: none !important;
        }
        
        .highlight-danger {
            color: var(--danger) !important;
            text-shadow: none !important;
        }

        .tax-breakdown .result-value {
            font-size: 1.1rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }

        th, td {
            padding: 15px 10px;
            text-align: right;
            border-bottom: 1px solid var(--glass-border);
            font-size: 0.95rem;
        }

        th:first-child, td:first-child {
            text-align: left;
        }

        th {
            color: var(--text-muted);
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.8rem;
        }

        tbody tr {
            transition: background 0.2s;
        }

        tbody tr:hover {
            background: #f8fafc;
        }

        .faq-section {
            width: 100%;
            max-width: 800px;
            margin: 60px auto;
            padding: 0 20px;
        }

        .faq-section h2 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 40px;
        }

        .faq-item {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            margin-bottom: 15px;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        .faq-item:hover {
            border-color: rgba(99, 102, 241, 0.3);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.05);
        }

        .faq-question {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            font-weight: 600;
            cursor: pointer;
            font-size: 1.1rem;
        }
        
        .faq-answer {
            display: none;
            padding: 0 20px 20px;
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
        }

        footer {
            width: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-top: 1px solid var(--glass-border);
            padding: 60px 40px 30px;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            gap: 40px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .footer-left {
            flex: 1;
            min-width: 300px;
        }

        .footer-left img {
            height: 120px; /* Increased size */
            background: transparent;
            border: none;
            box-shadow: none;
            margin-bottom: 20px;
        }

        .footer-left p {
            color: var(--text-muted);
            line-height: 1.6;
            margin: 0;
        }

        .footer-right {
            flex: 1;
            min-width: 300px;
            text-align: right;
        }

        .footer-right h4 {
            margin-top: 0;
            color: var(--text-main);
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .footer-right p {
            color: var(--text-muted);
            margin: 8px 0;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(0,0,0,0.05);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Animations */
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeInLeft {
            from { opacity: 0; transform: translateX(-30px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(30px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
            }
            header {
                flex-direction: column;
                padding: 20px;
                gap: 20px;
                text-align: center;
            }
            .logo-container img {
                height: 120px;
            }
            .top-nav {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .container {
                flex-direction: column;
                padding: 0 15px 40px;
            }
            .left-panel {
                position: static;
                width: 100%;
            }
            .right-panel {
                width: 100%;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
                gap: 30px;
            }
            .footer-left {
                min-width: 100%;
            }
            .footer-right {
                min-width: 100%;
                text-align: center;
            }
            .footer-right p {
                justify-content: center;
                flex-direction: row-reverse; /* icon first or text first depending on preference, keep center */
            }
        }
        
        /* Extra styles for page.php content */
        .content-card {
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08);
            line-height: 1.8;
            font-size: 1.1rem;
        }
        .content-card h1 {
            color: var(--primary);
            margin-top: 0;
            margin-bottom: 30px;
            font-size: 2.2rem;
            text-align: center;
        }
        .content-card p {
            color: var(--text-muted);
        }