:root {
    --primary: #0066ff;
    --primary-light: #3d9eff;
    --primary-dark: #0052cc;
    --accent: #00d4ff;
    --success: #00d084;
    --warning: #ffa500;
    --danger: #ff3333;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --border-color: #2d3561;
}

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


body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1535 50%, var(--dark-bg) 100%);
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(26, 31, 58, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

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

nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a:hover {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, #00d084 0%, #00a86b 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #00a86b 0%, #008f5a 100%);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: float 20s infinite ease-in-out;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: inline-flex;
}

.feature-item p {
    font-size: 0.9rem;
    color: #808080;
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.section-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1600px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 2000px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.tool-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tool-card .btn {
    width: 100%;
    justify-content: center;
}

/* Feature List for detailed points */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item-small {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.feature-item-small:hover {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.feature-item-small h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-item-small p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-icon-small {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon {
    color: var(--success);
}

/* Feature List for detailed points */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

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

@media (max-width: 768px) {
    .feature-list.grid-2-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.feature-item-small {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.feature-item-small:hover {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.feature-item-small h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-item-small p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-icon-small {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon {
    color: var(--success);
}

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

@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.step-icon {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Generator Section */
.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.form-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

/* Upload area - unified style used across converter pages */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 102, 255, 0.05);
}

.upload-area:hover {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.1);
}

.upload-area.dragover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.02);
}

.upload-content {
    color: #a0a0a0;
}

.upload-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-area h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: #a0a0a0;
}

.upload-link {
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-input {
    /* Select element specific styling */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input:hover {
    border-color: rgba(0, 212, 255, 0.5);
}

.form-input:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Select dropdown styling */
.form-input {
    position: relative;
    z-index: 1;
}

.form-input:focus {
    z-index: 1001;
}

.form-input option {
    background: #000000 !important;
    color: #e0e0e0 !important;
    padding: 0.5rem;
}

.form-input option:hover,
.form-input option:checked,
.form-input option:selected {
    background: var(--primary) !important;
    color: white !important;
}

.form-input optgroup {
    background: #000000 !important;
    color: var(--accent) !important;
    font-weight: 600;
}

.form-input optgroup option {
    background: #000000 !important;
    color: #e0e0e0 !important;
    padding-left: 1rem;
}

/* Additional browser-specific dropdown styling */
select::-webkit-dropdown-options {
    background: #000000 !important;
    color: #e0e0e0 !important;
}

select::-moz-dropdown-options {
    background: #000000 !important;
    color: #e0e0e0 !important;
}

/* Force dropdown list background */
select option {
    background: #000000 !important;
    color: #e0e0e0 !important;
}

select optgroup {
    background: #000000 !important;
    color: #00d4ff !important;
}

/* Ensure dropdown appears above other content */
select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 1001;
}

/* Additional styling for better dropdown visibility */
.form-input:focus option {
    background: #000000 !important;
    color: #e0e0e0 !important;
}

.form-input:focus option:hover,
.form-input:focus option:checked,
.form-input:focus option:selected {
    background: var(--primary) !important;
    color: white !important;
}

.style-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.style-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.style-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--accent);
    color: white;
}

.preview-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.preview-placeholder {
    text-align: center;
    color: #a0a0a0;
}

.preview-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

.showcase-item:nth-child(odd) {
    animation-delay: 0s;
}

.showcase-item:nth-child(even) {
    animation-delay: 2s;
}

.showcase-item:nth-child(3n) {
    animation-delay: 4s;
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent);
    box-shadow:
        0 20px 40px rgba(0, 102, 255, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover::before {
    opacity: 0.8;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.showcase-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.showcase-item:hover .showcase-image {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.2);
}

.showcase-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: sparkle 1.5s ease-out forwards;
}

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}


/* SEO Content Section */
.seo-content {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 21, 53, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.seo-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.seo-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.seo-feature {
    background: rgba(26, 31, 58, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.seo-feature:hover {
    border-color: var(--accent);
    background: rgba(26, 31, 58, 0.8);
    transform: translateY(-4px);
}

.seo-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.seo-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.seo-feature p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.seo-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.keyword-tag {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: scale(1.05);
}

.accent-icon {
    color: var(--accent);
}

.warning-icon {
    color: var(--warning);
}

.warning-card {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.success-card {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 166, 107, 0.1));
    border: 1px solid rgba(0, 208, 132, 0.3);
}
/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(15, 21, 53, 0.9) 100%);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: #808080;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .generator-container {
        grid-template-columns: 1fr;
    }

    .style-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

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

    .feature-list.grid-2-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    section {
        padding: 3rem 1.5rem;
    }
}

/* Loading animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

.hidden {
    display: none !important;
}

/* Enhanced Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
}

p {
    color: #c0c0c0;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* Enhanced List Styles */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
}

ol {
    padding-left: 1.5rem;
}

ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.content-block ul li,
.content-block ol li {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent);
}

.content-block ul li::before,
.content-block ol li::before {
    display: none;
}

.content-block ul li {
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent);
    list-style: none;
}

.content-block ol {
    counter-reset: step-counter;
    padding-left: 0;
}

.content-block ol li {
    counter-increment: step-counter;
    padding-left: 3rem;
    position: relative;
    list-style: none;
    border-left: 3px solid var(--accent);
}

.content-block ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Enhanced Link Styles */
a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: #ffffff;
    border-bottom-color: var(--accent);
    transform: translateY(-1px);
}

.internal-link {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 2px;
}

.internal-link:hover {
    color: #ffffff;
    border-bottom-color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    transform: translateY(-1px);
}

/* Enhanced Content Block Styles */
.content-block {
    background: rgba(26, 31, 58, 0.4);
    border: 1px solid rgba(45, 53, 97, 0.5);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-block:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(26, 31, 58, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
}

.content-block h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block h3::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 3px;
}

.content-block h4 {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.content-block p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

/* Enhanced FAQ Styles */
.faq-item {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4::before {
    content: '❓';
    font-size: 1rem;
}

.faq-item p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Enhanced Step Icons */
.step-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Enhanced Contact Info Styles */
.contact-info {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #d0d0d0;
}

.contact-info strong {
    color: var(--accent);
    font-weight: 600;
}

/* Enhanced License Info Styles */
.license-info {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1) 0%, rgba(0, 166, 107, 0.1) 100%);
    border: 1px solid rgba(0, 208, 132, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.license-info h5 {
    color: var(--success);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.license-info h5::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.license-info ul {
    padding-left: 0;
    margin-bottom: 0;
}

.license-info li {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.license-info li::before {
    content: '';
    display: none;
}

.license-info strong {
    color: var(--success);
    font-weight: 600;
}

/* Enhanced Email Contact Styles */
.email-contact {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--warning);
}

.email-contact p {
    margin-bottom: 0.75rem;
    color: #d0d0d0;
}

.email-contact strong {
    color: var(--warning);
    font-weight: 600;
}

.email-contact .internal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 165, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    font-weight: 600;
    margin-top: 0.5rem;
}

.email-contact .internal-link:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: var(--warning);
    color: #ffffff;
}

/* Enhanced Code and Technical Text */
code {
    background: rgba(0, 0, 0, 0.3);
    color: var(--accent);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

pre {
    background: rgba(0, 0, 0, 0.4);
    color: #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid rgba(45, 53, 97, 0.5);
    margin: 1.5rem 0;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

/* Enhanced Blockquote Styles */
blockquote {
    background: rgba(0, 102, 255, 0.05);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d0d0d0;
    position: relative;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Enhanced Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(26, 31, 58, 0.4);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(45, 53, 97, 0.5);
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(45, 53, 97, 0.3);
}

th {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    color: #d0d0d0;
}

tr:hover {
    background: rgba(0, 102, 255, 0.05);
}

/* Enhanced Responsive Typography */
@media (max-width: 768px) {
    .content-block {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .content-block h3 {
        font-size: 1.25rem;
    }

    .content-block h4 {
        font-size: 1.1rem;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .contact-info,
    .license-info,
    .email-contact {
        padding: 1.25rem;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Enhanced Visual Elements */
.text-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.text-accent {
    color: var(--accent);
    font-weight: 600;
}

.text-success {
    color: var(--success);
    font-weight: 600;
}

.text-warning {
    color: var(--warning);
    font-weight: 600;
}

.text-large {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #e0e0e0;
    font-weight: 500;
}

.text-small {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Enhanced Card Styles */
.info-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    transform: translateY(-2px);
}

.warning-card {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--warning);
}

.success-card {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.05) 0%, rgba(0, 166, 107, 0.05) 100%);
    border: 1px solid rgba(0, 208, 132, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--success);
}

.danger-card {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--danger);
}

/* Enhanced Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.badge-success {
    background: rgba(0, 208, 132, 0.1);
    border-color: rgba(0, 208, 132, 0.3);
    color: var(--success);
}

.badge-warning {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    color: var(--warning);
}

.badge-danger {
    background: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.3);
    color: var(--danger);
}

/* Enhanced Icon Styles */
.icon-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.icon-text i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.icon-large {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

/* Enhanced Spacing Utilities */
.section-spacing {
    margin: 4rem 0;
}

.content-spacing {
    margin: 2.5rem 0;
}

.text-spacing {
    margin: 1.5rem 0;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Enhanced Selection Styles */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

/* Enhanced Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(45, 53, 97, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}

/* Enhanced Loading States */
.loading-text {
    position: relative;
    color: #a0a0a0;
}

.loading-text::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Animation for Text */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

/* Small spacing fix: add bottom gap between upload area and action buttons */
.upload-area {
    margin-bottom: 1.5rem;
}

/* ============================
   Magical horizontal showcase (overrides)
   Implements a horizontal scroll-snap track with rounded 2D cards.
   Uses progressive enhancement — overrides existing grid-based styles.
   ============================ */

.showcase-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    margin-top: 3rem;
    -webkit-overflow-scrolling: touch;
    perspective: 1000px; /* subtle 2D depth */
}

/* nicer horizontal scrollbar for webkit */
.showcase-grid::-webkit-scrollbar {
    height: 10px;
}
.showcase-grid::-webkit-scrollbar-track {
    background: rgba(45,53,97,0.18);
    border-radius: 9999px;
}
.showcase-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(0,102,255,0.35), rgba(0,212,255,0.2));
    border-radius: 9999px;
    border: 2px solid rgba(10,14,39,0.6);
}

/* Each showcase card becomes a snap-aligned flex child */
.showcase-item {
    flex: 0 0 calc(40% - 1.5rem); /* default card width (responsive tweaks below) */
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: visible; /* allow shadows to show outside */
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 300ms ease, filter 300ms ease;
    cursor: pointer;
    transform-origin: center center;
    will-change: transform;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    position: relative;
    isolation: isolate;
}

/* Slight padding around the image inside the card for soft rounded look */
.showcase-item > .showcase-image {
    border-radius: 16px;
    display: block;
    height: 260px;
    object-fit: cover;
    transition: transform 350ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 300ms ease;
    transform-origin: center center;
    backface-visibility: hidden;
}

/* Active / centered card visual */
.showcase-item.is-active {
    transform: scale(1.06) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.22), 0 8px 20px rgba(0,0,0,0.5);
    border-color: rgba(0,212,255,0.12);
    z-index: 10;
}
.showcase-item.is-active > .showcase-image {
    transform: scale(1.03);
    filter: brightness(1.03) saturate(1.08);
}

/* subtle tilt micro effect (applied by JS) */
.showcase-item.tilt {
    will-change: transform;
}

/* smaller cards on wide viewports (show more items) */
@media (min-width: 1200px) {
    .showcase-item {
        flex: 0 0 calc(28% - 1.5rem);
    }
    .showcase-item > .showcase-image {
        height: 300px;
    }
}

/* mobile - make cards touch-friendly and nearly full width */
@media (max-width: 768px) {
    .showcase-item {
        flex: 0 0 78%;
        border-radius: 16px;
    }
    .showcase-item > .showcase-image {
        height: 200px;
        border-radius: 12px;
    }
}

/* Accessibility: visible focus ring when card is focused */
.showcase-item:focus {
    outline: 3px solid rgba(0,212,255,0.12);
    outline-offset: 4px;
}

/* keep original hover sparkle rules functional if present */
.showcase-sparkle {
    pointer-events: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
