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

:root {
    --primary-blue: #1e88e5;
    --primary-purple: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #1e88e5 0%, #6d28d9 100%);
    
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fc;
    --bg-tertiary: #eef2fb;
    --text-primary: #0f1729;
    --text-secondary: #5a6b7f;
    --text-tertiary: #8b95a8;
    --border: #d4dce8;
    --border-light: #e8edf5;
    
    --accent: #1e88e5;
    --accent-light: #e3f2fd;
    --accent-hover: #1565c0;
    
    --secondary: #7c3aed;
    --secondary-light: #f3e8ff;
    --secondary-hover: #6d28d9;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.04);
    --shadow-md: 0 4px 6px rgba(15, 23, 41, 0.08);
    --shadow-lg: 0 10px 25px rgba(15, 23, 41, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #0d1424;
    --bg-secondary: #151d35;
    --bg-tertiary: #1f2942;
    --text-primary: #f0f4f9;
    --text-secondary: #b4bfd1;
    --text-tertiary: #8b95a8;
    --border: #293553;
    --border-light: #3d4a66;
    
    --accent: #42a5f5;
    --accent-light: #1a3a52;
    --accent-hover: #64b5f6;
    
    --secondary: #a78bfa;
    --secondary-light: #3a2465;
    --secondary-hover: #c4b5fd;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.logo-link:hover {
    background: var(--bg-tertiary);
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(30, 136, 229, 0.15));
    transition: var(--transition);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.theme-btn {
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-light);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(20deg) scale(1.05);
}

.theme-btn:active {
    transform: rotate(20deg) scale(0.95);
}

.content {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.6s ease-out;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-wrapper,
.result-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

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

.form-box,
.result-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 820px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.form-box::before,
.result-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.label i {
    color: var(--accent);
    font-size: 0.95rem;
}

.optional-tag {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: lowercase;
    margin-left: auto;
}

.input-field,
.time-field {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
}

.input-field::placeholder {
    color: var(--text-tertiary);
}

.input-field:focus,
.time-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
    background: var(--bg-primary);
}

.input-field:not(:placeholder-shown) {
    border-color: var(--accent);
}

.password-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.password-input-wrapper .input-field {
    flex: 1;
}

.password-toggle-btn {
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-light);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
    font-size: 1rem;
}

.password-toggle-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.password-toggle-btn:active {
    transform: scale(0.95);
}

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

.time-section {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 200px;
        overflow: visible;
    }
}

.hint-text {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.custom-expiry-container {
    margin-top: 0.75rem;
    padding: 0.25rem 0;
    max-width: 560px;
}

.custom-expiry-container .input-group {
    gap: 0.5rem;
    max-width: 560px;
}

.custom-expiry-container .label {
    font-size: 0.8rem;
}

.custom-expiry-container .datepicker-input {
    padding: 0.8rem 0.95rem;
    max-width: 560px;
    width: 100%;
}

.tuncxys-datepicker {
    max-width: 560px;
    width: 100%;
    margin: 0;
}

.datepicker-input {
    width: 100%;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 0.9rem 1rem;
}

.datepicker-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}

.tuncxys-datepicker {
    width: 100%;
}

.tuncxys-datepicker .picker-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
}

.tuncxys-datepicker .picker-header,
.tuncxys-datepicker .picker-footer {
    background: var(--bg-secondary);
}

.tuncxys-datepicker .picker-day.selected,
.tuncxys-datepicker .picker-time.selected {
    background: var(--accent);
    color: #fff;
}

.tuncxys-datepicker .picker-time:hover,
.tuncxys-datepicker .picker-day:hover {
    background: rgba(56, 189, 248, 0.16);
}

.tuncxys-datepicker .picker-wrapper,
.tuncxys-datepicker .picker-header,
.tuncxys-datepicker .picker-footer,
.tuncxys-datepicker .picker-day,
.tuncxys-datepicker .picker-time,
.tuncxys-datepicker .picker-num,
.tuncxys-datepicker .week-day {
    color: var(--text-primary);
}

.tuncxys-datepicker .picker-time .picker-num.active,
.tuncxys-datepicker .picker-day.selected {
    background: var(--accent);
    color: #fff;
}

.tuncxys-datepicker .picker-time .picker-num:hover,
.tuncxys-datepicker .picker-day:hover {
    background: rgba(56, 189, 248, 0.16);
}

@media (max-width: 640px) {
    .tuncxys-datepicker .picker-wrapper {
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto;
        width: calc(100% - 2rem);
    }
}


.time-sep {
    color: var(--text-tertiary);
    font-weight: 700;
    font-size: 1.125rem;
}

.btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    width: 100%;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.25);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
    width: 100%;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-secondary i {
    font-size: 1.1rem;
}

.btn-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 1.125rem 2.5rem;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.25);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.35);
}

.error-msg {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-radius: 10px;
    font-size: 0.9rem;
    border-left: 4px solid var(--error);
    animation: slideIn 0.3s ease-out;
}

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

.result-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

.result-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 750px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.result-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.result-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.result-layout.no-qr {
    grid-template-columns: 1fr;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.qr-img {
    width: 220px;
    height: 220px;
    border: 3px solid var(--border-light);
    border-radius: 12px;
    padding: 8px;
    background: var(--bg-primary);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.qr-text {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-align: center;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.result-input-group {
    display: flex;
    gap: 0.5rem;
}

.result-field {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.copy-btn,
.share-btn {
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-light);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
    flex-shrink: 0;
}

.copy-btn:hover,
.share-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.05);
}

.share-group,
.share-group-unified {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.download-btn {
    width: auto;
    padding: 0.9rem 1rem;
}

.share-btn {
    width: auto;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
}

.features-section {
    margin-bottom: 4rem;
}

.features-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

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

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--accent-light);
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--secondary-light);
    color: var(--secondary);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-light);
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-content h3 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.info-content h4 {
    font-size: 1rem;
    margin: 1.5rem 0 1rem 0;
    color: var(--accent);
    font-weight: 700;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-list i {
    color: var(--success);
    min-width: 20px;
    margin-top: 2px;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 2rem 1.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    justify-content: center;
}

.footer-link:hover {
    color: var(--accent-hover);
}

@media (max-width: 768px) {
    .navbar-content {
        padding: 0 1rem;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .content {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .form-box,
    .result-box {
        padding: 1.5rem;
    }

    .form-box::before,
    .result-box::before {
        height: 3px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qr-img {
        width: 180px;
        height: 180px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        gap: 1.5rem;
    }

    .time-inputs {
        gap: 0.375rem;
        padding: 0.75rem;
    }

    .time-field {
        font-size: 0.85rem;
    }

    .time-sep {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }

    .logo-link {
        gap: 0.5rem;
        padding: 0.375rem 0.5rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .theme-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }

    .content {
        padding: 1.5rem 0.75rem;
    }

    .hero {
        margin-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .form-wrapper {
        margin-bottom: 2.5rem;
    }

    .form-box {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .form {
        gap: 1.25rem;
    }

    .input-field {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .result-box {
        padding: 1.25rem;
    }

    .result-header h3 {
        font-size: 1.25rem;
    }

    .qr-img {
        width: 160px;
        height: 160px;
    }

    .share-group {
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .features-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .info-section {
        padding: 2rem 1.25rem;
    }

    .cta-section {
        padding: 2rem 1.25rem;
    }

    .cta-section h3 {
        font-size: 1.375rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .footer-inner {
        gap: 1.25rem;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        font-size: 0.85rem;
    }
}

.expiry-options {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.expiry-pill {
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.expiry-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-1px);
}

.expiry-pill.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.25);
}

.custom-expiry-container {
    margin-top: 0.5rem;
}

.qr-toggle-group {
    margin-top: 0.75rem;
    padding: 0.5rem 0;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
    background: var(--bg-primary);
    flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--primary-gradient);
    border-color: transparent;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 11px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.checkbox-text i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.share-group-unified {
    margin-top: 0.25rem;
    width: 100%;
}

.share-action-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.25);
    background: var(--primary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.share-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.35);
}

.redirox-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-left: 4px solid var(--success);
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.redirox-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.redirox-toast i {
    color: var(--success);
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .redirox-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        justify-content: center;
    }
}

.sdk-section {
    padding: 90px 20px;
}

.sdk-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

.sdk-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #a78bfa;
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.sdk-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.sdk-content p {
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 24px;
}

.sdk-install-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111827;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 30px;
}

.sdk-install-box code {
    color: #c084fc;
    font-size: 15px;
}

.copy-install-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.sdk-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.sdk-feature {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sdk-feature i {
    color: #8b5cf6;
}

.sdk-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.terminal-box {
    background: #0b1220;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.terminal-header {
    display: flex;
    gap: 8px;
    padding: 14px;
    background: #111827;
}

.terminal-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #374151;
}

.terminal-box pre {
    margin: 0;
    padding: 24px;
    overflow-x: auto;
}

.terminal-box code {
    color: #c084fc;
    font-family: monospace;
    line-height: 1.7;
}
