/* css/styles.css */

/* Grundlegende Einstellungen */
:root {
    --primary-color: #e63946;
    --primary-dark: #d62828;
    --secondary-color: #2a9d8f;
    --secondary-dark: #264653;
    --accent-color: #f4a261;
    --accent-light: #e76f51;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text-primary: #2b2d42;
    --text-secondary: #5f6368;
    --border-color: #e1e4e8;
    --success: #06d6a0;
    --error: #ef476f;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
header {
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerPulse 15s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(1.1); }
}

header img {
    max-width: 220px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

/* Überschriften */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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


/* Formulare */
form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

form:hover {
    box-shadow: var(--shadow-lg);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:active {
    transform: scale(0.98);
}

button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: #FFFFFF;
}

button.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-md);
}

button.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #FFFFFF;
}

button.secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #1a5f56);
    box-shadow: var(--shadow-md);
}

button.small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}



/* Tabellen */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th, td {
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

tr {
    transition: all 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(42, 157, 143, 0.05);
    transform: scale(1.01);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Notifications */
.notification {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

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

.notification::before {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
}

.notification.error {
    background-color: rgba(239, 71, 111, 0.1);
    color: #c1121f;
    border-left-color: var(--error);
}

.notification.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ef476f' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.notification.success {
    background-color: rgba(6, 214, 160, 0.1);
    color: #007f5f;
    border-left-color: var(--success);
}

.notification.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2306d6a0' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}



/* Links */
a.button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: none;
}

a.button.secondary.small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #FFFFFF;
}

a.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

a.button:hover::before {
    width: 200px;
    height: 200px;
}

a.button:active {
    transform: scale(0.96);
}

/* Pre-Formatierte Texte */
pre {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 2px solid var(--border-color);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

pre:hover {
    border-color: var(--secondary-color);
}

/* Copy Button */
.copy-button {
    margin-top: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #FFFFFF;
}

.copy-button:hover {
    background: linear-gradient(135deg, var(--accent-light), #d55d3a);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Paragraphs */
p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 1rem 0;
}



/* Horizontal Rule */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    header {
        padding: 1.5rem 1rem;
    }

    form {
        padding: 1.5rem;
    }

    button {
        width: 100%;
    }

    table {
        border-radius: 0;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-primary);
    }

    .action-button {
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Exclusion Form Styling */
.exclusion-form {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

select:hover {
    border-color: var(--secondary-color);
}

/* Responsive exclusion form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-row .form-group label[style*="opacity"] {
        display: none;
    }
}

/* Status-Klassen */
.status {
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFFFFF;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sm);
}

.status.drawn {
    background: linear-gradient(135deg, var(--success), #05b186);
}

.status.not-drawn {
    background: linear-gradient(135deg, var(--error), #d6336c);
}

/* Einheitliche Aktions-Buttons */
.action-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 130px;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.action-button:hover::before {
    width: 200px;
    height: 200px;
}

.action-button:active {
    transform: scale(0.96);
}

/* Reset-Button (Secondary) */
.button.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #FFFFFF;
}

.button.secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #1a5f56);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Delete-Button (Error) */
.button.error {
    background: linear-gradient(135deg, var(--error), #d6336c);
    color: #FFFFFF;
}

.button.error:hover {
    background: linear-gradient(135deg, #d6336c, #c1121f);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Manage-Button (Primary) */
.button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #FFFFFF;
}

.button.primary:hover {
    background: linear-gradient(135deg, var(--accent-light), #d55d3a);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Icons innerhalb der Buttons */
.button img {
    vertical-align: middle;
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

/* Action Buttons Container */
td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Card Styles for Content Sections */
.content-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeIn 0.5s ease-out;
}

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

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 0.8s linear infinite;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Improved Button Hover States */
button:disabled,
a.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Additional Text Styles */
.text-muted {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Selection Color */
::selection {
    background-color: rgba(42, 157, 143, 0.3);
    color: var(--text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Landing Page Styles */
.hero {
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -10%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.snowflake:nth-child(3) {
    left: 50%;
    animation-duration: 8s;
    animation-delay: 4s;
    font-size: 2.5rem;
}

.snowflake:nth-child(4) {
    left: 70%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.snowflake:nth-child(5) {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1.8rem;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.6s ease;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-title-main {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: white;
    opacity: 1;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    font-size: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-icon-small {
    font-size: 1.2rem;
}

.hero-cta {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

.stats {
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.how-it-works {
    padding: 4rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--secondary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.8rem;
}

.faq {
    padding: 4rem 2rem;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--surface);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    user-select: none;
}

.faq-item h3 {
    color: var(--secondary-dark);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.footer-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.footer-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta h2::after {
    display: none;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

/* Landing Page Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    /* Captcha mobile fixes */
    .captcha-container {
        flex-wrap: wrap;
    }
    
    .captcha-image {
        max-width: 100%;
        height: auto;
    }
    
    .refresh-captcha {
        padding: 0.5rem;
        min-width: 44px;
        width: 44px;
        height: 44px;
    }
    
    .refresh-captcha svg {
        width: 20px;
        height: 20px;
    }
}

/* Captcha Styling */
.captcha-group {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(38, 70, 83, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-top: 1.5rem;
}

.captcha-group label {
    color: var(--secondary-dark);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.captcha-image {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    background: white;
    display: block;
}

.refresh-captcha {
    padding: 0.625rem;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.refresh-captcha svg {
    display: block;
}

#captcha_answer {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-align: center;
    text-transform: uppercase;
}

.captcha-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
}

/* Old captcha styling - remove */
.form-group:has(#captcha_answer) {
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    margin-top: 0;
}

.form-group:has(#captcha_answer) label {
    color: inherit;
    font-size: inherit;
    font-weight: 600;
}

