:root {
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --white: #ffffff;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--accent), #bd34fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--white);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-left: 1rem;
}

.btn-secondary:hover {
    color: var(--accent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--accent);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: #bfdbfe;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background-color: #e0e7ff;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.service-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-lighter);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.1);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.tech-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(var(--bg-lighter) 2px, transparent 2px),
        linear-gradient(90deg, var(--bg-lighter) 2px, transparent 2px);
    background-size: 40px 40px;
    background-color: var(--bg-color);
    opacity: 0.3;
    transform: rotate(45deg);
    top: -50%;
    left: -50%;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.contact-details i {
    color: var(--accent);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-secondary);
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.85rem;
    color: var(--accent);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--bg-color);
    border-top: 1px solid var(--bg-light);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Scroll Reveal */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px -10px rgba(2, 12, 27, 0.7);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .accent {
    color: var(--accent);
}

/* Domain Search Styles */
.domain-search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

#domain-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

#domain-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: var(--white);
}

#search-btn {
    padding: 1.2rem 2.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.search-feedback {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-feedback.error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.search-feedback.loading {
    background: var(--bg-lighter);
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.results-container {
    margin-bottom: 4rem;
}

.primary-result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.primary-domain {
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    margin-bottom: 3rem;
}

.domain-name-large {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.availability-badge.available {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.availability-badge.taken {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.domain-price-large {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.domain-price-large span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.btn-register {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.domain-suggestion {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.alternative-results {
    margin-top: 3rem;
}

.alternatives-title {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.domain-result-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.domain-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--accent);
}

.domain-result-card.taken {
    opacity: 0.6;
}

.domain-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.domain-result-name {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
    word-break: break-all;
}

.status-icon {
    font-size: 1.5rem;
}

.domain-result-card.available .status-icon {
    color: #10b981;
}

.domain-result-card.taken .status-icon {
    color: #ef4444;
}

.domain-result-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.domain-result-unavailable {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.popular-tlds {
    margin-top: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.section-subtitle {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

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

.tld-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tld-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    border-color: var(--accent);
}

.tld-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tld-name {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tld-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.tld-price span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.tld-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* DNS Checker Styles */
.record-select {
    padding: 0 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.record-select:focus {
    border-color: var(--accent);
}

.dns-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dns-result-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.dns-result-card.loading {
    border-left: 4px solid var(--text-secondary);
}

.dns-result-card.success {
    border-left: 4px solid #10b981;
}

.dns-result-card.error {
    border-left: 4px solid #ef4444;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flag-icon {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-name {
    font-weight: 600;
    color: var(--text-primary);
}

.dns-value {
    font-family: monospace;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.dns-result-card.success .dns-value {
    color: #10b981;
    font-weight: 600;
}

.dns-result-card.error .dns-value {
    color: #ef4444;
}

/* Whois Lookup Styles */
.whois-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.05);
}

.whois-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-lighter);
}

.whois-domain-name {
    font-size: 2rem;
    color: var(--text-primary);
}

.domain-status {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-status.active {
    background: #dcfce7;
    color: #166534;
}

.whois-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.whois-item.full-width {
    grid-column: 1 / -1;
}

.whois-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whois-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.raw-data-toggle {
    text-align: center;
    margin-top: 2rem;
}

.raw-whois {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    overflow-x: auto;
    margin-top: 1.5rem;
    border: 1px solid var(--bg-lighter);
}

/* Hero Buttons Layout */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-btns .btn-primary,
.hero-btns .btn-secondary {
    margin: 0;
    /* Reset margins to use gap */
}

/* Password Generator Styles */
.tool-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.generator-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.password-display {
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(37, 99, 235, 0.15);
    position: relative;
    transition: var(--transition);
}

.password-display:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.password-display input {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: var(--text-primary);
    width: 100%;
    font-weight: 700;
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 1rem;
}

.copy-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.copy-feedback {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--text-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

#length-val {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.3rem;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--bg-lighter);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid var(--bg-lighter);
    background: var(--bg-light);
}

.checkbox-group:hover {
    border-color: var(--accent);
    background: var(--white);
    transform: translateY(-2px);
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

.strength-meter {
    margin-top: 0.5rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.strength-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0%;
}

.strength-text {
    display: block;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    border-radius: 12px;
    margin-top: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

/* QR Code Generator Styles */
.qr-input-group {
    margin-bottom: 2.5rem;
}

.qr-input-group input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.qr-input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.qr-display {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    border: 2px dashed rgba(37, 99, 235, 0.3);
}

.qr-display img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border-radius: 12px;
}

.qr-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}