/* Modern CSS Reset and Base Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #2d3748;
    --text-gray: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6fffa 100%);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

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

/* Modern Header Styles */
.modern-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-img {
    width: 180px;
    height: auto;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    border: none;
    background: none;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.is_h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Input Form */
#fancytext {
    max-width: 600px;
    max-width: 100%;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

#fancytext_form {
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

#fancytext_form:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.fancytext_input {
    height: 60px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    background: transparent;
    padding: 0 1rem;
}

.fancytext_input::placeholder {
    color: var(--text-light);
}

/* Font Size Controls */
.fancytext_below {
    /* background: white; */
    margin: 1rem auto;
    border-radius: var(--radius-lg);
    /* box-shadow: var(--shadow-sm); */
    padding: 1.5rem;
    max-width: 300px;
    width: fit-content;
}

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

.fancytext_btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 30px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.fancytext_btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.list {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.list:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.fancytext_item {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    word-break: break-word;
    line-height: 1.4;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-copy:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-fav {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-fav:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Load More Button */
.load-more-box {
    max-width: 400px;
    margin: 3rem auto;
    text-align: center;
}

.load-more {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.load-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Info Section */
.info {
    background: white;
    margin: 2rem 0;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Homepage heading hierarchy to match SEO standards */
.info h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.info h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
}

.info p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.info ul, .info ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info li {
    margin: 0.5rem 0;
    color: var(--text-gray);
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-main-three {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-feature-section {
    text-align: center;
    padding: 2rem 1rem;
}

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

.footer-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-feature-description {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #2d3748;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    justify-items: center;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    width: 140px;
    height: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section {
    min-width: 150px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
    z-index: 1;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.feature-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #718096;
}

.footer-meta-separator {
    color: #4a5568;
}

.footer-meta-item {
    color: #a0aec0;
}

/* Modern Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

#goToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

#goToTopBtn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Simple Homepage Sections */
.features-section {
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

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

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

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    color: white;
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Simple How It Works Section */
.how-it-works {
    padding: 0 0 4rem 0;
    background: var(--bg-light);
    margin-top: 2rem;
    gap: 2rem;
}

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

.step {
    text-align: center;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.content-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-item p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.popular-styles {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.popular-styles h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.popular-styles h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.style-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.style-category {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.style-category:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
}

.style-category h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.style-category:hover h4 {
    color: white;
}

.style-category p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.style-category:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Form Styles */
.form-control {
    width: 100%;
    min-height: 45px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sendemail {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sendemail:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Utility Classes */
.is_center {
    text-align: center;
}

.nofav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-light);
    font-size: 1.25rem;
}

.who {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .is_h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .row {
        grid-template-columns: 1fr;
    }
    
    .info {
        padding: 2rem 1rem;
    }
    
    /* Modern Header Mobile */
    .navbar-nav {
        display: flex;
    }
    
    .logo-img {
        width: 120px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Modern Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-main-three {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links-grid .footer-section:first-child {
        order: -1;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-content-center {
        justify-content: center;
    }
    
    /* Content Section Mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .popular-styles {
        padding: 2rem 1rem;
    }
    
    .style-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .fancytext_input {
        height: 50px;
        font-size: 1rem;
    }
    
    #fancytext_form {
        padding: 0.25rem 1rem;
    }
    
    .list {
        padding: 1rem;
    }
    
    .fancytext_item {
        font-size: 1.1rem;
    }
    
    .fancytext_below {
        margin: 1rem auto;
        padding: 1rem;
        max-width: 250px;
    }
    
    .fancytext_buttons {
        gap: 0.75rem;
    }
    
    .fancytext_btn {
        width: 50px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Simple Style Categories Section */
.style-categories {
    background: var(--bg-light);
    padding: 0 0 4rem 0;
}

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

.category-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.category-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Modern Sections */
@media (max-width: 768px) {
    .features-section, .how-it-works, .style-categories {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid, .steps-grid, .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .feature-card, .step, .category-item {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-number::before {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-item {
        padding: 2.5rem 2rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .features-section, .how-it-works, .style-categories {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .step, .category-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-title, .step-title, .category-item h3 {
        font-size: 1.2rem;
    }
    
    .feature-description, .step-description, .category-item p {
        font-size: 0.9rem;
    }
}

/* Favorites Page Styles */
.favorites-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.favorites-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.favorites-hero .container {
    position: relative;
    z-index: 2;
}

.hero-icon {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.favorites-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.favorites-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.favorites-content {
    padding: 6rem 0;
    background: #f8fafc;
}

.favorites-list {
    margin-top: 4rem;
}

.favorites-list h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.favorites-intro {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid #e2e8f0;
}

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

.feature-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-highlight h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-highlight p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.favorites-tips {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.favorites-tips h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.favorites-tips ul {
    list-style: none;
    padding: 0;
}

.favorites-tips li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    line-height: 1.6;
}

.favorites-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.contact-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.contact-section ul {
    list-style: none;
    padding: 0;
}

.contact-section li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8fafc;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-section li:last-child {
    border-bottom: none;
}

.contact-section strong {
    color: var(--text-dark);
}

/* 404 Error Page Styles */
.error-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.error-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.error-icon {
    color: rgba(255, 255, 255, 0.8);
    animation: rotate 4s linear infinite;
}

.error-text {
    color: white;
}

.error-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.error-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.error-suggestions {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.error-suggestions h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.error-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.error-suggestions a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.error-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-text {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    animation: float-text 8s linear infinite;
}

.floating-text:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-text:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-text:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

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

@keyframes float-text {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@media (max-width: 768px) {
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-number {
        font-size: 5rem;
    }
    
    .error-text h1 {
        font-size: 2rem;
    }
    
    .error-actions {
        justify-content: center;
    }
}

/* About Page Styles */
.about-page {
    background: #f8fafc;
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
}

.about-content {
    padding: 6rem 0;
}

.about-content .container {
    max-width: 900px;
}

/* Contact Page Styles */
.contact-page {
    background: #f8fafc;
}

.contact-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

.contact-content {
    padding: 6rem 0;
}

/* Legal Pages Base Styles */
.legal-page {
    background: #f8fafc;
}

.legal-hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dmca-page .legal-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.privacy-page .legal-hero {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.terms-page .legal-hero {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.legal-hero .container {
    position: relative;
    z-index: 2;
}

.legal-icon {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.legal-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.legal-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.update-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.legal-content-wrapper {
    padding: 6rem 0;
}

.legal-content-wrapper .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    max-width: 1200px;
}

.legal-navigation {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.legal-navigation h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.legal-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-navigation li {
    margin-bottom: 0.75rem;
}

.legal-navigation a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.legal-navigation a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 5px 5px 0;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: none;
    margin: 0;
    line-height: 1.7;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.legal-content li {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .legal-content-wrapper .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-navigation {
        position: static;
        order: 2;
    }
    
    .legal-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero h1,
    .hero-text h1,
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .contact-hero,
    .about-hero,
    .legal-hero {
        padding: 4rem 0;
    }
}

/* Simple Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    /* max-width: 800px; */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.update-date {
    display: inline-block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.page-content {
    /* max-width: 800px; */
    margin: 0 auto;
    line-height: 1.7;
    padding: 0 1rem;
}

.page-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.page-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-content strong {
    color: var(--text-dark);
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Interactive 404 Error Page */
.error-404-interactive {
    text-align: center;
    padding: 3rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.error-number-animated {
    font-size: 8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.digit {
    transition: transform 0.3s ease;
    display: inline-block;
}

.digit:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.error-message h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.error-message p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.quick-links {
    margin: 3rem 0;
}

.quick-links h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-link:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateY(-3px);
}

.link-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.link-text {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact-form-container {
    margin: 2rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.sendemail {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sendemail:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.sendemail:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #27ae60;
    background: #d5f4e6;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Favorites Info */
.favorites-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.favorites-info p {
    margin: 0;
    color: var(--text-gray);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-page {
        padding: 1rem 0;
    }
    
    .page-header {
        margin-bottom: 2rem;
        padding: 2rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 2rem 1.5rem;
    }
    
    .error-404 h1 {
        font-size: 2rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

/* Responsive Design for Homepage Sections */
@media (max-width: 768px) {
    .features-section, .how-it-works, .style-categories {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid, .steps-grid, .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card, .step, .category-item {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-title, .step-title, .category-item h3 {
        font-size: 1.2rem;
    }
    
    .feature-description, .step-description, .category-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-section, .how-it-works, .style-categories {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .step, .category-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon-wrapper, .step-number {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        width: 24px;
        height: 24px;
    }
    
    .step-number {
        font-size: 1rem;
    }
    
    /* Mobile 404 styles */
    .error-number-animated {
        font-size: 4rem;
        gap: 0.5rem;
    }
    
    .error-message h1 {
        font-size: 1.5rem;
    }
    
    .search-container {
        flex-direction: column;
        max-width: 300px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }
    
    .quick-link {
        padding: 0.75rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

/* Original Legal Content Styles for Backward Compatibility */
.legal-content {
    /* max-width: 800px; */
    margin: 0 auto;
    line-height: 1.7;
}

/* Proper SEO heading hierarchy: h1 > h2 > h3 > h4 */
.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
    font-weight: 700;
}

.legal-content h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.legal-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.legal-content h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: var(--text-gray);
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-gray);
}

.legal-content li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

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

.contact-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

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

.contact-form .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.contact-form .success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #c3e6cb;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.5rem;
}

.contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
}

.contact-info li:last-child {
    border-bottom: none;
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    color: white;
    border-radius: var(--radius-lg);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header hr {
    border: none;
    height: 3px;
    background: var(--accent-color);
    width: 100px;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Responsive Legal Content */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h2 {
        font-size: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1.25rem;
        padding: 0.75rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-content h2 {
        font-size: 1.75rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
        padding: 0.5rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
}

/* Favorites Page Styles */
.favorites-page {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
}

.favorites-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

.header-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.favorites-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.favorites-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.favorites-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.favorites-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.favorites-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-action, .btn-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-action:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

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

.favorite-card {
    background: #f8fafc;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.favorite-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.favorite-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.card-number {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.favorite-text {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    min-height: 60px;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 1rem;
    word-break: break-all;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-copy, .btn-delete {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.btn-copy:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: #10b981;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.empty-favorites {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    color: var(--text-gray);
    margin-bottom: 2rem;
    opacity: 0.6;
}

.empty-favorites h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-favorites p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-favorites .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.empty-favorites .btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

/* Responsive Design for Favorites */
@media (max-width: 768px) {
    .favorites-page {
        padding: 1rem 0;
    }
    
    .favorites-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .favorites-header h1 {
        font-size: 2rem;
    }
    
    .favorites-content {
        padding: 1.5rem;
    }
    
    .favorites-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-container {
        max-width: none;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .favorite-card {
        padding: 1rem;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .empty-favorites {
        padding: 2rem 1rem;
    }
}