"use client";

import React from "react";

export default function PrivacyPolicyPage() {
	return (
		<div className='privacy-wrapper'>
			<style jsx>{`
				.privacy-wrapper {
					background-color: #f5f7fa;
					min-height: 100vh;
					display: flex;
					justify-content: center;
					align-items: flex-start;
					padding: 60px 20px;
					font-family: "Inter", Arial, sans-serif;
					color: #333;
				}

				.privacy-container {
					background: #fff;
					max-width: 900px;
					width: 100%;
					padding: 50px 60px;
					border-radius: 16px;
					box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
				}

				.privacy-title {
					font-size: 2.4rem;
					font-weight: 700;
					color: #111;
					margin-bottom: 10px;
				}

				.privacy-meta {
					color: #666;
					font-size: 0.95rem;
					margin-bottom: 40px;
				}

				h2 {
					font-size: 1.4rem;
					color: #111;
					margin-top: 40px;
					margin-bottom: 12px;
				}

				p {
					line-height: 1.7;
					margin-bottom: 16px;
				}

				ul {
					list-style: disc;
					margin-left: 25px;
					margin-bottom: 16px;
				}

				a {
					color: #0077cc;
					text-decoration: none;
				}

				a:hover {
					text-decoration: underline;
				}

				hr {
					border: none;
					border-top: 1px solid #ddd;
					margin: 30px 0;
				}

				.privacy-footer {
					margin-top: 40px;
					font-size: 0.9rem;
					color: #777;
					text-align: center;
				}

				@media (max-width: 768px) {
					.privacy-container {
						padding: 30px 20px;
					}

					.privacy-title {
						font-size: 2rem;
					}
				}
			`}</style>
			<div className='privacy-container'>
				<h1 className='privacy-title'>Privacy Policy</h1>

				<p className='privacy-meta'>
					Last updated: <strong>22 December 2025</strong> <br />
					Effective date: <strong>21 October 2025</strong>
				</p>

				<p>
					This Privacy Policy describes the policies of <strong>EMAGYL S.R.L.</strong>, Ilfov,
					Bragadiru, Str. Verii, Nr. 38A, Romania. <br />
					E-mail: <a href='mailto:contact@emagyl.ro'>contact@emagyl.ro</a> | Phone: 021 555 1309.
				</p>

				<p>
					By accessing or using the website <a href='https://www.emagyl.ro'>www.emagyl.ro</a>, you
					express your consent to the collection and use of data in accordance with this policy. If you
					do not agree, please do not use the Service.
				</p>

				<hr />

				<h2>1. Information We Collect</h2>
				<p>We will collect and process the following personal information about you for an indefinite period, stored in our database.</p>
				<p>This data will be completely deleted from our database upon permanent account deletion, either through the account control panel (My Account section) or by sending an email to <b>contact@emagyl.ro</b> from the email address associated with the account.</p>
				<ul>
					<li>Name</li>
					<li>E-mail</li>
					<li>Mobile phone</li>
					<li>Delivery address</li>
					<li>Payment information</li>
				</ul>

				<h2>2. How We Use Your Information</h2>
				<p>The information collected will be used for:</p>
				<ul>
					<li>Creating the user account</li>
					<li>Processing payments</li>
					<li>Managing customer orders</li>
				</ul>
				<p>
					If we wish to use your information for other purposes, we will request your consent and will
					use it only after consent has been granted.
				</p>

				<p>Legal bases: contract performance (Art. 6(1)(b) GDPR), legal obligation (Art. 6(1)(c) GDPR), consent (Art. 6(1)(a) GDPR).</p>

				<h2>3. Retention of Your Information</h2>
				<p>
					Personal information is retained for between <strong>90 days</strong> and{" "}
					<strong>2 years</strong> after accounts become inactive, or for as long as necessary for the
					purposes mentioned.
				</p>

				<h2>4. Your Rights</h2>
				<p>
					Depending on the applicable law, you may request access, rectification or deletion of your
					data, restriction of processing, or portability of your data to another entity. You can
					contact us at <a href='mailto:contact@emagyl.ro'>contact@emagyl.ro</a>.
				</p>

				<h2>5. Cookies</h2>
				<p>
					For details regarding cookies, please consult our{" "}
					<a href='https://www.emagyl.ro/politica-cookie/'>Cookie Policy</a>.
				</p>

				<h2>6. Security</h2>
				<p>
					We are committed to protecting your data and use reasonable security measures. However, no
					electronic method is completely secure, so we cannot guarantee absolute security.
				</p>

				<h2>7. Data Protection Officer</h2>
				<p>
					For questions related to this policy, you can contact us at: <strong>EMAGYL S.R.L.</strong>
					, Ilfov, Bragadiru, Str. Verii, Nr. 38A, Romania. <br />
					E-mail: <a href='mailto:dpo@magyl.ro'>dpo@magyl.ro</a>.
				</p>

				<h2>7. Recipients / Third Parties</h2>
				<p>
					Data regarding customer account information and orders may be shared with our partners:{" "}
					<a href='https://stripe.com'>Stripe.Com</a> /{" "}
					<a href='https://fancourier.ro'>Fan Courier</a> or other well-known courier services
					operating in Romania, as well as with the suppliers of products sold through eMagyl.Ro, for
					example: <a href='https://avex.ro'>AVEX.RO</a>, for the purpose of ensuring contract
					performance, specifically order delivery.
				</p>

				<h2>8. Data Subject Rights</h2>
				<p>
					<ul>
						<li>Right of access – free copies upon first request; addresses: contact@emagyl.ro, Ilfov, BRAGADIRU, STR. VERII, NR. 38A, CUI 54350609; tel. 021 555 1309.</li>
						<li>Right to rectification – correction/completion of inaccurate/incomplete data.</li>
						<li>Right to erasure – within the limits of the law (right to be forgotten).</li>
						<li>Right to restriction – including when accuracy is contested.</li>
						<li>Right to object – especially for marketing purposes; data is anonymised promptly.</li>
						<li>Right to withdraw consent – without affecting the lawfulness of prior processing; actioned within max. 3 working days.</li>
						<li>Right to lodge a complaint – with the ANSPDCP (<a href='https://www.dataprotection.ro/'>https://www.dataprotection.ro/</a>).</li>
						<li>Automated decisions &amp; profiling – with consent; data secured; possibility of human intervention (contact@emagyl.ro).</li>
					</ul>
					You can access, rectify, or delete your customer account at any time. Following this action,
					your data will no longer be stored in our database. Requests can be sent to{" "}
					<a href='mailto:dpo@emagyl.ro'>dpo@emagyl.ro</a>.
				</p>

				<h2>9. International Data Transfers</h2>
				<p>
					At this time, certain data such as warranty certificates may be transferred internationally
					to our storage service provider{" "}
					<a href='https://aws.amazon.com/'>AWS</a>.
				</p>
			</div>
		</div>
	);
}