/* Ensure hidden class works */
.hidden {
    display: none !important;
}

/* Custom styles for Inter font and general layout */
body {
    font-family: 'Inter', sans-serif;
    background-color: #e0f2fe; /* Light blue fallback background */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    flex-direction: column; /* Arrange content vertically */
    min-height: 100vh;
    color: #334155; /* Default text color */
}

/* Main content area, allowing space for header and footer */
main {
    flex-grow: 1; /* Allows main content to take up available space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem; /* Padding for main content */
}

.header-section {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white header */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky; /* Makes header sticky */
    top: 0;
    z-index: 1000; /* Ensures header is on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow header content to wrap on smaller screens */
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon {
    width: 3rem; /* Increased size */
    height: 3rem; /* Increased size */
    object-fit: contain; /* Ensures the image fits without being squished */
    object-position: center; /* Centers the image within its space */
}

.header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0c4a6e; /* Dark blue for header title */
}

.hero-section {
    text-align: center;
    padding: 4rem 1.5rem;
    color: #0c4a6e; /* Dark blue text for hero section - Made more prominent */
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 3rem; /* Larger font for tagline */
    font-weight: 900; /* Extra bold */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem; /* Larger font for subtitle */
    font-weight: 500;
    opacity: 1; /* Removed opacity */
}

.container {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    border: 1px solid #cbd5e1;
    margin-top: -4rem; /* Pull the card up into the hero section */
    position: relative;
    z-index: 10; /* Ensure it's above background but below header */
}

input[type="password"],
input[type="text"] {
    border-radius: 0.625rem;
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1.125rem;
    width: 100%;
    font-size: 1.05rem;
    background-color: #f8fafc;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3);
}
.main-button {
    background-color: #007bff !important;
    color: #ffffff;
    padding: 2rem 2rem;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.15);
    border: none;
}
.main-button:hover {
    background-color: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -3px rgba(0, 0, 0, 0.2);
}
.main-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.message-box {
    background-color: #e0f7fa;
    color: #006064;
    border: 1px solid #80deea;
    padding: 1rem;
    border-radius: 0.625rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    display: none;
    font-weight: 500;
}
.message-box.show {
    display: block;
}
.message-box.bg-red-100 { background-color: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.message-box.bg-green-100 { background-color: #dcfce7; border-color: #86efac; color: #16a34a; }
.message-box.bg-blue-100 { background-color: #e0f2fe; border-color: #7dd3fc; color: #0c4a6e; }

.password-display {
    background-color: #f1f5f9;
    color: #334155;
    padding: 1rem;
    border-radius: 0.625rem;
    word-break: break-all;
    font-family: 'monospace';
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cbd5e1;
}
.copy-button {
    background-color: #28a745 !important;
    color: white;
    padding: 1.125rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.copy-button:hover {
    background-color: #218838 !important;
    transform: translateY(-1px);
}
.copy-button:active {
    transform: translateY(0);
    box-shadow: none;
}
/* Styling for the note after the button */
.button-note {
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #78350f;
    line-height: 1.4;
}
.button-note strong {
    color: #b45309;
}

/* Styles for the expandable info sections */
.expandable-info {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}
.expandable-info h4 {
    font-size: 0.8rem; 
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}
.expandable-info h4:first-of-type { 
    margin-top: 0;
}
.expandable-info ul {
    list-style: disc;
    margin-left: 1.5rem;
    padding-left: 0;
    margin-top: 0.5rem;
}
.expandable-info li {
    margin-bottom: 0.4rem;
}
.expandable-info p {
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.eye-catching-button {
    /* Layout and spacing */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Equivalent to Tailwind's space-x-3 */
    padding: 1rem 2rem; /* Equivalent to Tailwind's py-4 px-8 */
    
    /* Styling */
    background: linear-gradient(to right, #3b82f6, #facc15); /* Tailwind's blue-500 to yellow-400 */
    color: white;
    font-weight: bold;
    border-radius: 9999px; /* Fully rounded corners */
    border: none;
    cursor: pointer;
    
    /* Box shadow and hover effects */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-lg */
    transform: scale(1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover effect */
.eye-catching-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05); /* Tailwind's shadow-xl */
}

/* Focus state for accessibility */
.eye-catching-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.5); /* Mimics Tailwind's focus:ring-4 focus:ring-blue-300 */
}

.footer-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #64748b;
}
.footer-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
.footer-link a:hover {
    text-decoration: underline;
}
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.input-group input {
    flex-grow: 1;
    padding-right: 3rem;
}
.toggle-password-visibility {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #64748b;
    transition: color 0.2s ease-in-out;
}
.toggle-password-visibility:hover {
    color: #1e293b;
}
.toggle-password-visibility svg {
    width: 1.25rem;
    height: 1.25rem;
}
/* Style for the URL safety message */
.url-safety-message {
    font-size: 0.85rem;
    color: #525252; /* Darker gray for subtle text */
    text-align: center;
    margin-bottom: 0.5rem; /* Space between message and input field */
    font-weight: 500;
}
.url-safety-message strong {
    color: #0a58ca; /* Emphasize the URL */
}
/* Style for the Public Beta Banner */
.beta-banner {
    background-color: #fcd34d; /* Yellow background */
    color: #78350f; /* Dark brown text */
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100; /* Ensure it's above other content but below header */
}

/* Styles for the benefits list */
.benefits-list {
    background-color: #ecfdf5; /* Light green background */
    border: 1px solid #a7f3d0; /* Green border */
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem; /* Space from hero section */
    margin-bottom: 2rem; /* Space before container */
    max-width: 550px; /* Reverted to main container width */
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: left; /* Align the entire list content to the left */
}
.benefits-list ul {
    list-style: none; /* Remove default list style */
    padding: 0;
    margin: 0;
}
.benefits-list li {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    margin-bottom: 0.9rem; /* Increased margin for more space */
    font-size: 1.05rem; /* Slightly increased font size */
    color: #065f46; /* Dark green text */
    line-height: 1.5; /* Increased line height for better readability */
    white-space: normal; /* Allow text to wrap */
}
.benefits-list li:last-child {
    margin-bottom: 0; /* No margin for the last item */
}
.benefits-list .check-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 1.35rem; /* Slightly larger icon */
    height: 1.35rem;
    color: #10b981; /* Brighter green for the icon */
    margin-right: 0.85rem; /* Increased space between icon and text */
    margin-top: 0.1rem; /* Slight adjustment for vertical alignment */
}

/* Header Navigation Links */
.header-nav-links {
    display: flex;
    gap: 1.5rem; /* Space between links */
}
.header-nav-links a {
    color: #0c4a6e; /* Dark blue, matching header title */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
.header-nav-links a:hover {
    color: #007bff; /* Brighter blue on hover */
}

/* Mobile navigation styles */
.hamburger-menu {
    display: none; /* Hidden by default on larger screens */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0c4a6e;
    padding: 0.5rem;
    z-index: 1001; /* Ensure it's above the header */
}

.mobile-nav-links {
    display: none; /* Hidden by default */
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%; /* Position right below the header */
    left: 0;
    padding: 1rem 0;
    border-radius: 0 0 0.75rem 0.75rem;
    z-index: 999; /* Below sticky header but above content */
}

.mobile-nav-links a {
    padding: 0.75rem 1.5rem;
    color: #0c4a6e;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.mobile-nav-links a:hover {
    background-color: #e0f2fe;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2rem !important; /* Smaller for mobile */
        line-height: 1.3 !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important; /* Smaller for mobile */
    }

    .header-nav-links {
        display: none; /* Hide desktop nav links */
    }
    .hamburger-menu {
        display: block; /* Show hamburger menu */
        background-color: #e2e8f0; /* Light gray background for visibility */
        border-radius: 0.5rem; /* Slightly rounded corners */
        padding: 0.5rem; /* Ensure good touch target */
    }
    .hamburger-menu svg {
        color: #1a202c; /* Very dark color for the icon */
        width: 1.75rem; /* Slightly larger icon for mobile */
        height: 1.75rem;
    }
    .header-section {
        justify-content: space-between; /* Align logo and hamburger */
    }
    .header-section.expanded .mobile-nav-links {
        display: flex; /* Show dropdown when expanded */
    }
    
    /* Ensure h1 and h3 wrap on mobile */
    h1, h3 {
        word-break: break-word; /* Allows long words to break and wrap */
        hyphens: auto; /* Optional: enables hyphenation if supported */
    }
    
    h1 {
        font-size: 2.5rem !important; /* Adjust h1 for mobile in container */
        margin-bottom: 1rem !important;
    }

    h3 {
        font-size: 1.5rem !important; /* Adjust h3 for mobile in container */
        margin-top: 2rem !important;
    }

    .eye-catching-button {
        padding: 0.75rem 1.5rem; /* Reduced padding for a more compact size */
        font-size: 0.875rem; /* Slightly smaller font size */
        gap: 0.5rem; /* Reduced space between icon and text */
    }

}

/* Explicit styles for h1 and h3 to ensure prominence across all pages */
h1 {
    font-size: 3.5rem !important; /* Further increased size for maximum prominence */
    font-weight: 700 !important; /* Extra bold for prominence */
    color: #0c4a6e;
    margin-bottom: 1.5rem !important;
    text-align: center;
}

h3 {
    font-size: 2rem !important; /* Further increased size for prominence */
    font-weight: 600 !important; /* Bolder for prominence */
    color: #1e293b;
    margin-top: 2.5rem !important; /* Increased margin to separate sections more */
    margin-bottom: 1rem !important;
}

p {
    margin-bottom: 1rem; /* Default paragraph spacing */
    line-height: 1.6;
    color: #334155;
}

.justified-text {
    text-align: justify; /* New class for justified paragraphs */
}

ul {
    list-style: disc;
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

ol {
    list-style: decimal;
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Style for the back link button */
.back-link {
    display: inline-block; /* Allows padding and margin */
    background-color: #f0f4f8; /* Light background */
    color: #0c4a6e; /* Dark blue text */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.back-link:hover {
    background-color: #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Styles for the Creator Profile section */
.creator-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.profile-photo {
    width: 180px; /* Increased size */
    height: 180px; /* Increased size */
    border-radius: 50%; /* Makes it circular */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border: 3px solid #007bff; /* A nice border around the photo */
    margin-bottom: 1rem;
}

.creator-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem; /* Space between social links */
    flex-wrap: wrap; /* Allow links to wrap on small screens */
    justify-content: center;
}

.social-link {
    display: inline-block;
    background-color: #007bff; /* Blue background */
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-1px);
}
.social-link:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
