        :root {
            --bg: #eef4f1;
            --card: #fbfdfb;
            --panel: #f4f9f6;
            --glass: #ffffff;
            --accent: #2f6f68;
            --accent-strong: #245a55;
            --accent-soft: #dbe9e3;
            --border: #d8e4dc;
            --text: #26343f;
            --muted: #62746d;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
        }
        
        /*NavBar*/
        .navbar {
            background: linear-gradient(135deg, var(--accent), #78966d);
            padding: 15px 0;
            margin-bottom: 20px;
            border-radius: 10px;
            box-shadow: 0 10px 24px rgba(47, 111, 104, 0.16);
        }

        .nav-menu {
            display: flex;
            justify-content: center;
            gap: 30px;
        }

        .nav-menu a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
        }

        /* Dropdown container */
        .dropdown {
            position: relative;
        }

        /* Mega menu */
        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            width: 650px;
            background: var(--card);
            padding: 25px;
            border-radius: 8px;
            border: 1px solid var(--border);
            box-shadow: 0 18px 36px rgba(38, 52, 63, 0.14);

            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap: 30px;

            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        /* Show menu smoothly */
        .dropdown:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* Menu headings */
        .mega-menu h4 {
            margin-bottom: 10px;
            color: var(--text);
        }

        /* Links */
        .mega-menu a {
            display: block;
            color: var(--muted);
            font-size: 14px;
            text-decoration: none;
            margin-bottom: 6px;
        }

        .mega-menu a:hover {
            color: var(--accent);
        }

        body {
            margin: 0;
            min-height: 100vh;
            background: linear-gradient(180deg, var(--bg) 0%, #f7f6ee 100%);
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
        }

        .wrap {
            width: 100%;
            max-width: 980px;
        }

        header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 18px;
        }

        .logo {
            width: 64px;
            height: 64px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--accent), #78966d);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            font-size: 20px;
            box-shadow: 0 8px 18px rgba(47, 111, 104, 0.22);
        }

        h1 {
            font-size: 20px;
            margin: 0;
        }

        p.lead {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
        }

        .card {
            background: var(--card);
            padding: 18px;
            border-radius: 14px;
            border: 1px solid var(--border);
            box-shadow: 0 16px 36px rgba(38, 52, 63, 0.1);
            margin-bottom: 18px;
        }

        .input-section {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        textarea {
            width: 100%;
            min-height: 220px;
            padding: 14px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: var(--glass);
            color: inherit;
            resize: vertical;
            font-size: 15px;
        }

        textarea:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
            outline: none;
        }

        textarea[readonly] {
            background: #f8fbf9;
        }

        .controls {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        button {
            background: linear-gradient(180deg, var(--accent), var(--accent-strong));
            border: 0;
            padding: 10px 12px;
            border-radius: 10px;
            color: white;
            cursor: pointer;
            font-weight: 600;
        }

        button.ghost {
            background: var(--panel);
            border: 1px solid var(--border);
            color: var(--accent-strong);
            font-weight: 600;
        }

        .panel {
            padding: 14px;
            border-radius: 10px;
            background: var(--panel);
            border: 1px solid var(--border);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 12px;
        }

        label {
            display: block;
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 8px;
        }

        .preview {
            min-height: 120px;
            padding: 12px;
            border-radius: 8px;
            background: var(--white);
            border: 1px solid var(--border);
            overflow: auto;
        }

        .small {
            font-size: 13px;
            color: var(--muted);
        }

        .styles-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
        }

        .style-box {
            flex: 0 1 32%;
            min-width: 200px;
            padding: 12px;
            border-radius: 10px;
            background: var(--white);
            border: 1px solid var(--border);
            font-size: 14px;
            color: var(--text);
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .new-style-box {
            flex: 0 1 32%;
            min-width: 200px;
            padding: 12px;
            border-radius: 10px;
            background: var(--white);
            border: 1px solid var(--accent-soft);
            transition: box-shadow 0.2s ease;

            font-size: 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            justify-content: center;
            align-items: center;
            color: var(--accent-strong);
            text-decoration: none;

            position: relative;
            z-index: 0;
        }

        /* gradient border layer */
        .new-style-box::before {
            content: "";
            position: absolute;
            inset: 0;
            padding: 1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--accent), #78966d);

            /* hide by default */
            opacity: 0;
            transition: opacity 0.2s ease;

            /* create inner cutout */
            --webkit-mask: 
                linear-gradient(#000 0 0) content-box, 
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;

            pointer-events: none;
        }

        .new-style-box:hover::before {
            opacity: 1;
        }

        .new-style-box:hover {
            box-shadow: 0 8px 20px rgba(47, 111, 104, 0.14);
            border-color: transparent;
        }

        .style-title {
            font-size: 12px;
            color: var(--muted);
        }

        .style-output {
            white-space: pre-wrap;
            word-break: break-word;
            line-height: 1.5;
            max-height: 120px;
            overflow-y: auto;
        }

        @media (max-width: 880px) {
            .controls {
                flex-direction: column;
            }
        }

        .copy-style,
        .download-style {
            background: transparent;
            border: none;
            color: var(--muted);
            cursor: pointer;
            font-size: 14px;
        }

        .copy-style:hover,
        .download-style:hover {
            color: var(--accent);
        }

        .icon-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--muted);
            padding: 4px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-btn:hover {
            color: var(--accent);
            background: var(--accent-soft);
        }

        .icon-btn svg {
            vertical-align: middle;
        }

        .faq-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            width: 100%;
        }

        .faq-wrapper h2 {
            margin: 0;
        }

        /* Tooltip base */
        .tooltip {
            position: absolute;
            background: var(--text);
            color: var(--white);
            padding: 3px 6px;
            font-size: 11px;
            border-radius: 4px;
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -6px);
            left: 50%;
            top: -6px;
            transition: opacity 0.2s ease;
        }

        /* Visible tooltip */
        .tooltip.show {
            opacity: 1;
        }
        
        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--accent), #78966d);
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 10px 24px rgba(47, 111, 104, 0.14);
        }
        
        .footer-container{
            display:flex;
            justify-content:space-between;
            align-items:center;
            flex-wrap:wrap;
        }
        
        .social-icons{
            display:grid;
            grid-template-columns: repeat(7, auto);
            gap:10px;
        }
        
        .social-icons a img{
            width:22px;
            height:22px;
        }
        
        .social-icons a:hover{
            transform:scale(1.1);
        }
        
        .footer-menu {
            display: flex;
            gap: 25px;
        }
        
        .footer-menu a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
        }
        
        .footer-menu a:hover {
            text-decoration: underline;
        }
