/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '🔗';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    top: -20px;
    left: 50px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 40px 30px;
}

/* Shortener Section */
.shortener-section {
    margin-bottom: 50px;
}

.shortener-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
}

.shortener-card h2 {
    color: #667eea;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.card-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Input Panel */
.input-panel {
    max-width: 700px;
    margin: 0 auto;
}

.url-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.url-input {
    flex: 1;
    padding: 18px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.url-input::placeholder {
    color: #9ca3af;
}

/* Buttons */
.btn {
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Advanced Options */
.advanced-toggle {
    text-align: center;
    margin: 20px 0;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #667eea;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    transition: all 0.3s;
}

.toggle-btn:hover {
    color: #764ba2;
}

.toggle-btn .arrow {
    transition: transform 0.3s;
}

.toggle-btn.active .arrow {
    transform: rotate(180deg);
}

.advanced-panel {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-top: 15px;
    animation: slideDown 0.3s ease-out;
}

.advanced-panel.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advanced-options {
    display: grid;
    gap: 20px;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.label-icon {
    font-size: 1.2rem;
}

.option-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.option-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.option-group small {
    color: #6b7280;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

/* Result Section */
.result-section {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.result-section.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.success-icon {
    font-size: 1.5rem;
}

.short-url-display {
    margin-bottom: 20px;
}

.short-url-box {
    display: flex;
    gap: 10px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 10px;
}

.short-url-input {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    background: transparent;
}

.short-url-input:focus {
    outline: none;
}

.copy-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #764ba2;
}

.copy-btn:active {
    transform: scale(0.95);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* QR Code Section */
.qr-section {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
}

.qr-section.hidden {
    display: none;
}

.qr-section h3 {
    color: #374151;
    margin-bottom: 20px;
}

.qr-code-container {
    display: inline-block;
    padding: 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* My Links Section */
.my-links-section {
    margin-bottom: 50px;
}

.my-links-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #667eea;
    font-size: 1.8rem;
}

.links-list {
    display: grid;
    gap: 15px;
}

.link-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.link-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.link-title {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.link-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    padding: 8px 12px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.icon-btn:hover {
    background: #667eea;
    color: white;
}

.link-urls {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.url-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-label {
    font-size: 0.85rem;
    color: #6b7280;
    min-width: 60px;
}

.url-value {
    flex: 1;
    color: #667eea;
    font-size: 0.95rem;
    word-break: break-all;
}

.link-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #6b7280;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Features Section */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #374151;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    margin-bottom: 50px;
}

.how-it-works-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: #6b7280;
}

.step-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.faq-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #6b7280;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #f9fafb;
    padding: 30px;
    border-top: 2px solid #e5e7eb;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: #6b7280;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #374151;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.toast.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .main-content {
        padding: 25px 15px;
    }

    .shortener-card,
    .my-links-card {
        padding: 20px;
    }

    .url-input-wrapper {
        flex-direction: column;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .toast {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
}/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '🔗';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    top: -20px;
    left: 50px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 40px 30px;
}

/* Shortener Section */
.shortener-section {
    margin-bottom: 50px;
}

.shortener-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
}

.shortener-card h2 {
    color: #667eea;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.card-description {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Input Panel */
.input-panel {
    max-width: 700px;
    margin: 0 auto;
}

.url-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.url-input {
    flex: 1;
    padding: 18px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.url-input::placeholder {
    color: #9ca3af;
}

/* Buttons */
.btn {
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Advanced Options */
.advanced-toggle {
    text-align: center;
    margin: 20px 0;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: #667eea;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    transition: all 0.3s;
}

.toggle-btn:hover {
    color: #764ba2;
}

.toggle-btn .arrow {
    transition: transform 0.3s;
}

.toggle-btn.active .arrow {
    transform: rotate(180deg);
}

.advanced-panel {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-top: 15px;
    animation: slideDown 0.3s ease-out;
}

.advanced-panel.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advanced-options {
    display: grid;
    gap: 20px;
}

.option-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.label-icon {
    font-size: 1.2rem;
}

.option-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.option-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.option-group small {
    color: #6b7280;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

/* Result Section */
.result-section {
    margin-top: 30px;
    animation: fadeIn 0.5s ease-out;
}

.result-section.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.success-icon {
    font-size: 1.5rem;
}

.short-url-display {
    margin-bottom: 20px;
}

.short-url-box {
    display: flex;
    gap: 10px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 10px;
}

.short-url-input {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    background: transparent;
}

.short-url-input:focus {
    outline: none;
}

.copy-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: #764ba2;
}

.copy-btn:active {
    transform: scale(0.95);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* QR Code Section */
.qr-section {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
}

.qr-section.hidden {
    display: none;
}

.qr-section h3 {
    color: #374151;
    margin-bottom: 20px;
}

.qr-code-container {
    display: inline-block;
    padding: 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* My Links Section */
.my-links-section {
    margin-bottom: 50px;
}

.my-links-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: #667eea;
    font-size: 1.8rem;
}

.links-list {
    display: grid;
    gap: 15px;
}

.link-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.link-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.link-title {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.link-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    padding: 8px 12px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.icon-btn:hover {
    background: #667eea;
    color: white;
}

.link-urls {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.url-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-label {
    font-size: 0.85rem;
    color: #6b7280;
    min-width: 60px;
}

.url-value {
    flex: 1;
    color: #667eea;
    font-size: 0.95rem;
    word-break: break-all;
}

.link-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #6b7280;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Features Section */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #374151;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    margin-bottom: 50px;
}

.how-it-works-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: #6b7280;
}

.step-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.faq-section h2 {
    color: #667eea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h3 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #6b7280;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #f9fafb;
    padding: 30px;
    border-top: 2px solid #e5e7eb;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: #6b7280;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #374151;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.toast.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .main-content {
        padding: 25px 15px;
    }

    .shortener-card,
    .my-links-card {
        padding: 20px;
    }

    .url-input-wrapper {
        flex-direction: column;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .toast {
        bottom: 15px;
        right: 15px;
        left: 15px;
    }
}