:root {
    --primary-color: #4f46e5; /* Canlı Indigo */
    --secondary-color: #ec4899; /* Canlı Pembe */
    --accent-color: #f472b6; /* Sıcak Pembe */
    --text-color: #1f2937; /* Çok Koyu Gri */
    --text-light: #6b7280; /* Orta Gri */
    --light-bg: #f9fafb; /* Çok Açık Gri */
    --white: #ffffff;
    --success-color: #10b981; /* Yeşil */
    --error-color: #ef4444; /* Kırmızı */
    --border-color: #d1d5db; /* Açık Gri Sınır */
    --gradient-start: #6d28d9; /* Derin Mor */
    --gradient-end: #ec4899; /* Canlı Pembe */
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 1.75rem;
}
h4 {
    font-size: 1.25rem;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #4338ca; /* Koyu Indigo */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

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

.btn-secondary:hover {
    background-color: #db2777; /* Koyu Pembe */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Header & Navigation */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    color: var(--white);
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M 0 50 C 25 25, 75 75, 100 50" fill="none" stroke="%23ffffff1a" stroke-width="2"/></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M 0 60 C 30 20, 70 100, 100 60" fill="none" stroke="%23ffffff1a" stroke-width="2"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.app-buttons .app-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    transition: background 0.3s;
}

.app-buttons .app-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.app-buttons .app-btn .fab {
    font-size: 1.5rem;
}

/* Section Base Styles */
.section {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--light-bg);
}

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

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-author span {
    font-weight: 400;
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-about,
.footer-links {
    padding: 0 1rem;
}

.footer-about h3,
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-about p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

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

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

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151; /* Koyu Gri Sınır */
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Generic Page Styles (Privacy, etc.) */
.page-header {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    color: var(--white);
    padding: 10rem 0 5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-content {
    padding: 5rem 0;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-section ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Account Deletion Specifics */
.deletion-warning {
    background: #fffbeb; /* Açık Sarı */
    border-left: 5px solid #f59e0b; /* Amber */
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.deletion-warning h3 {
    color: #b45309; /* Koyu Amber */
    margin: 0;
}

.deletion-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: "Poppins", sans-serif; /* Ensure textarea inherits font */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(31, 41, 55, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s;
}

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

.close-modal {
    color: var(--text-light);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-color);
}

.modal-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon.success {
    background: #d1fae5; /* Açık Yeşil */
    color: var(--success-color);
}

.modal-content h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.modal-note {
    font-size: 0.9rem;
    color: var(--error-color);
    background: #fee2e2; /* Açık Kırmızı */
    padding: 0.8rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        /* Mobile menu can be added here if needed */
        display: none;
    }
    .hero {
        padding: 10rem 0 6rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    .app-buttons .app-btn {
        width: 80%;
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about,
    .footer-links {
        padding: 0;
    }
    .social-links {
        margin-top: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .content-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    .hero {
        padding: 8rem 0 5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .page-header {
        padding: 8rem 0 4rem;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
}
