* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003087;
    --dark-blue: #001a4d;
    --light-blue: #0066cc;
    --orange: #ff8c00;
    --bright-orange: #ff9500;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-gray: #6c757d;
    --border-gray: #e0e6ed;
    --success: #28a745;
    --danger: #dc3545;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: var(--light-gray);
    min-height: 100vh;
}

body.tradingview-page {
    background: white;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sol Panel */
.left-panel {
    flex: 1;
    background-image: linear-gradient(135deg, rgba(0, 26, 77, 0.85) 0%, rgba(0, 48, 135, 0.85) 50%, rgba(0, 82, 163, 0.85) 100%), url('/images/earth.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 40px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 20px);
    }
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.left-panel-logo {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
}

    .left-panel-logo img {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .feature-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .feature-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .feature-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .feature-item:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

    .feature-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-icon.dollar {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-icon.lira {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-icon.support {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-icon.chart {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-icon.comex {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
}

.feature-text p {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
}

.highlight {
    color: var(--bright-orange);
    font-weight: 700;
}


/* Sağ Panel */
.right-panel {
    flex: 0 0 500px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.form-container {
    width: 100%;
    max-width: 480px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.brand {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .brand .logo {
        height: 35px;
        width: auto;
        object-fit: contain;
    }

.form-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

    .contact-form input:focus ~ .input-icon {
        color: var(--orange);
    }


.checkbox-group {
    margin: 5px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
    position: relative;
    padding-left: 30px;
}

    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

.checkmark {
    position: absolute;
    left: 0;
    top: 1px;
    height: 18px;
    width: 18px;
    background-color: white;
    border: 2px solid var(--border-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--orange);
}

.checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    border-color: var(--orange);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.link {
    color: var(--orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

    .link:hover {
        color: var(--bright-orange);
    }

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--orange), var(--bright-orange));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-gray);
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-gray);
}

    .badge i {
        color: var(--success);
        font-size: 0.85rem;
    }


/* Loading Animation */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

    .submit-btn.loading .btn-text {
        opacity: 0;
    }

    .submit-btn.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Tasarım */

/* Tablet - Yatay */
@media (max-width: 1200px) {
    .left-panel {
        padding: 35px 50px;
    }

    .left-panel-logo img {
        height: 45px;
    }

    .main-title {
        font-size: 2.4rem;
        margin-bottom: 25px;
    }

    .right-panel {
        flex: 0 0 450px;
        padding: 25px;
    }

    .feature-text h3 {
        font-size: 0.9rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }
}

/* Tablet - Dikey */
@media (max-width: 968px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .container {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .left-panel {
        padding: 50px 40px;
        min-height: auto;
    }

    .left-panel-logo {
        text-align: center;
        margin-bottom: 25px;
    }

        .left-panel-logo img {
            height: 40px;
        }

    .main-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .features {
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .right-panel {
        flex: 1;
        padding: 40px 30px;
    }

    .form-title {
        font-size: 2.2rem;
    }
}

/* Mobil - Büyük */
@media (max-width: 768px) {
    .left-panel {
        padding: 40px 30px;
    }

    .left-panel-logo img {
        height: 35px;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .features {
        gap: 15px;
    }

    .feature-item {
        padding: 18px;
        gap: 18px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .feature-text h3 {
        font-size: 0.85rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    .right-panel {
        padding: 35px 25px;
    }

    .form-title {
        font-size: 2rem;
    }

    .brand .logo {
        height: 30px;
    }

    .brand {
        font-size: 0.9rem;
    }

    .form-subtitle {
        font-size: 0.85rem;
    }

    .contact-form {
        gap: 16px;
    }

        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form input[type="tel"] {
            padding: 13px 16px 13px 48px;
            font-size: 0.85rem;
        }

    .input-icon {
        left: 16px;
        font-size: 0.95rem;
    }

    .checkbox-container {
        font-size: 0.72rem;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }

    .security-badges {
        flex-wrap: wrap;
        gap: 12px;
    }

    .badge {
        font-size: 0.68rem;
    }
}

/* Mobil - Orta */
@media (max-width: 480px) {
    .left-panel {
        padding: 30px 20px;
    }

    .left-panel-logo img {
        height: 32px;
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .features {
        gap: 12px;
    }

    .feature-item {
        padding: 15px;
        gap: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-text h3 {
        font-size: 0.8rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    .right-panel {
        padding: 30px 20px;
    }

    .form-header {
        margin-bottom: 20px;
    }

    .brand {
        flex-direction: column;
        gap: 8px;
    }

        .brand .logo {
            height: 28px;
        }

    .brand {
        font-size: 0.85rem;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .form-subtitle {
        font-size: 0.8rem;
    }

    .contact-form {
        gap: 14px;
    }

        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form input[type="tel"] {
            padding: 12px 14px 12px 45px;
            font-size: 0.8rem;
        }

    .input-icon {
        left: 14px;
        font-size: 0.9rem;
    }

    .checkbox-group {
        margin: 3px 0;
    }

    .checkbox-container {
        font-size: 0.7rem;
        padding-left: 28px;
        line-height: 1.4;
    }

    .checkmark {
        height: 16px;
        width: 16px;
    }

        .checkmark:after {
            left: 4px;
            top: 1px;
            width: 3px;
            height: 7px;
        }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .security-badges {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
        padding-top: 15px;
    }

    .badge {
        font-size: 0.65rem;
        gap: 5px;
    }

        .badge i {
            font-size: 0.8rem;
        }
}

/* Mobil - Küçük */
@media (max-width: 375px) {
    .left-panel {
        padding: 25px 15px;
    }

    .left-panel-logo img {
        height: 28px;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .feature-text h3 {
        font-size: 0.75rem;
    }

    .feature-text p {
        font-size: 0.75rem;
    }

    .right-panel {
        padding: 25px 15px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .brand .logo {
        height: 25px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"] {
        padding: 11px 12px 11px 42px;
        font-size: 0.75rem;
    }

    .input-icon {
        left: 12px;
        font-size: 0.85rem;
    }

    .checkbox-container {
        font-size: 0.68rem;
    }

    .submit-btn {
        padding: 13px;
        font-size: 0.9rem;
    }
}

/* Landscape Mode için özel düzenlemeler */
@media (max-height: 600px) and (orientation: landscape) {
    .container {
        flex-direction: row;
    }

    .left-panel {
        padding: 20px 30px;
    }

    .left-panel-logo {
        margin-bottom: 15px;
    }

        .left-panel-logo img {
            height: 30px;
        }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .features {
        gap: 10px;
    }

    .feature-item {
        padding: 12px 15px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .feature-text h3 {
        font-size: 0.8rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    .right-panel {
        padding: 20px;
        overflow-y: auto;
    }

    .form-header {
        margin-bottom: 15px;
    }

    .contact-form {
        gap: 12px;
    }
}

/* ================================================
   TradingView Themed Page Styles
   ================================================ */

.tradingview-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Sol Panel - Arka plan + ortada görsel */
.tradingview-left-panel {
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    background: url('/images/trading-view-img-bg.jpg.jpeg') center center / cover no-repeat;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
}

.tradingview-main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Sağ Panel - Form (TradingView için override) */
.tradingview-right-panel {
    flex: 0 0 550px;
    min-width: 0;
    background: white;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tradingview-right-panel .form-container {
    width: 100%;
    max-width: 450px;
}

/* Laptop ve orta ekranlar (1440px ve altı) */
@media (max-width: 1440px) {
    .tradingview-right-panel {
        flex: 0 0 420px;
        padding: 32px 24px;
    }

    .tradingview-right-panel .form-container {
        max-width: 100%;
    }

    .tradingview-right-panel .form-title {
        font-size: 1.75rem;
    }

    .tradingview-right-panel .form-subtitle {
        font-size: 0.85rem;
    }

    .tradingview-left-panel {
        padding: 32px 24px;
    }

    .tradingview-main-image {
        max-height: 85vh;
    }
}

/* Laptop (1366px ve altı) */
@media (max-width: 1366px) {
    .tradingview-right-panel {
        flex: 0 0 380px;
        padding: 28px 20px;
    }

    .tradingview-right-panel .form-title {
        font-size: 1.6rem;
    }

    .tradingview-right-panel .form-header {
        margin-bottom: 20px;
    }

    .tradingview-right-panel .contact-form {
        gap: 14px;
    }

    .tradingview-left-panel {
        padding: 24px 20px;
    }

    .tradingview-main-image {
        max-height: 80vh;
    }
}

/* Küçük laptop / büyük tablet (1280px ve altı) */
@media (max-width: 1280px) {
    .tradingview-right-panel {
        flex: 0 0 360px;
        padding: 24px 16px;
    }

    .tradingview-right-panel .form-title {
        font-size: 1.5rem;
    }

    .tradingview-right-panel .form-subtitle {
        font-size: 0.8rem;
    }

    .tradingview-right-panel .contact-form input[type="text"],
    .tradingview-right-panel .contact-form input[type="email"],
    .tradingview-right-panel .contact-form input[type="tel"] {
        padding: 12px 14px 12px 46px;
        font-size: 0.9rem;
    }

    .tradingview-left-panel {
        padding: 20px 16px;
    }

    .tradingview-main-image {
        max-height: 75vh;
    }
}

/* Tablet / dikey laptop (1024px - tek sütun geçiş) */
@media (max-width: 1024px) {
    .tradingview-container {
        flex-direction: column;
    }

    .tradingview-left-panel {
        order: 2;
        min-height: 45vh;
        padding: 24px 16px;
    }

    .tradingview-right-panel {
        order: 1;
        flex: 1 1 auto;
        min-width: 100%;
        padding: 28px 24px;
    }

    .tradingview-right-panel .form-container {
        max-width: 480px;
        margin: 0 auto;
    }

    .tradingview-main-image {
        max-height: 42vh;
    }
}

/* Mobil (768px ve altı) */
@media (max-width: 768px) {
    .tradingview-left-panel {
        min-height: 40vh;
        padding: 20px 12px;
    }

    .tradingview-right-panel {
        padding: 24px 16px;
    }

    .tradingview-main-image {
        max-height: 38vh;
    }
}
