/* =====================================================
   SAKURA V3 - GetBot Page Styles
   Creator: Andy Mrlit | Year: 2025
   ===================================================== */

/* GetBot Specific Styles */
.getbot-main {
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
}

.getbot-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Side - Information */
.getbot-info {
    max-width: 500px;
}

.getbot-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-main {
    display: block;
    color: var(--text-white);
}

.title-brand {
    display: block;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.getbot-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Connection Steps */
.connection-steps {
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.step:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-white);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-red);
    border-radius: var(--border-radius);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.security-icon {
    font-size: 24px;
}

.security-text strong {
    display: block;
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 5px;
}

.security-text p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Right Side - Form */
.getbot-form-container {
    max-width: 500px;
    width: 100%;
}

.form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.form-header h2 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Form Styles */
.pairing-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.phone-input-container {
    display: flex;
    position: relative;
}

.phone-input-full {
    width: 100%;
    background: var(--tertiary-black);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-fast);
    letter-spacing: 1px;
}

.phone-input-full::placeholder {
    color: var(--text-gray);
}

.phone-input-full:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 0, 64, 0.1);
    transform: scale(1.02);
}

.phone-input-full:valid {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.input-help {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}



/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border: none;
    border-radius: 12px;
    padding: 18px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result Container */
.result-container {
    margin-top: 30px;
}

.result {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.result.success {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-red);
}

.result.error {
    background: rgba(255, 0, 100, 0.1);
    border: 1px solid #ff0064;
}

.result-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.result h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

/* Pairing Code Display */
.pairing-code-display {
    background: var(--tertiary-black);
    border: 2px solid var(--primary-red);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.code-label {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.code-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.pairing-code {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: 3px;
    cursor: pointer;
    user-select: all;
    padding: 10px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: var(--transition-fast);
    flex: 1;
    text-align: center;
}

.pairing-code:hover {
    background: var(--accent-red);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 0, 64, 0.4);
}

.copy-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px;
    color: var(--primary-red);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.copy-btn:hover {
    background: var(--primary-red);
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 0, 64, 0.3);
}

.copy-btn:active {
    transform: scale(0.95);
}

.code-timer {
    color: var(--text-gray);
    font-size: 14px;
}

.code-instructions {
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Instructions */
.instructions {
    text-align: left;
    margin: 20px 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
}

.instructions h4 {
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 15px;
}

.instructions ol {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
}

.instructions strong {
    color: var(--text-white);
}

/* Try Again Button */
.try-again-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 24px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.try-again-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.info-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 24px;
}

.card-content h4 {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-content p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* Responsive Design - Mobile-First Approach */
@media (max-width: 768px) {
    .getbot-main {
        padding: 80px 0 20px;
    }
    
    .getbot-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .getbot-info {
        text-align: center;
        max-width: none;
        order: 1;
    }
    
    .getbot-form-container {
        order: 2;
    }
    
    .form-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .step {
        padding: 15px;
        margin-bottom: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .step-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .step-content p {
        font-size: 11px;
    }
    
    .security-note {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .security-text strong {
        font-size: 13px;
    }
    
    .security-text p {
        font-size: 11px;
    }
    
    .info-cards {
        gap: 12px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px;
    }
    
    .card-content h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .card-content p {
        font-size: 11px;
    }
    
    .card-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .getbot-main {
        padding: 70px 0 15px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .getbot-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .getbot-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .form-card {
        padding: 18px 12px;
    }
    
    .form-header {
        margin-bottom: 20px;
    }
    
    .form-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .form-header h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .form-header p {
        font-size: 11px;
    }
    
    .input-group label {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .phone-input-full {
        padding: 12px 15px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .input-help {
        font-size: 9px;
        margin-top: 4px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .pairing-code {
        font-size: 20px;
        letter-spacing: 1px;
        padding: 8px 12px;
    }
    
    .copy-btn {
        min-width: 36px;
        height: 36px;
        padding: 8px;
    }
    
    .code-label {
        font-size: 10px;
        margin-bottom: 10px;
    }
    
    .code-instructions {
        font-size: 9px;
    }
    
    .code-timer {
        font-size: 10px;
    }
    
    .instructions {
        padding: 15px;
        margin: 12px 0;
    }
    
    .instructions h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .instructions ol {
        font-size: 10px;
        padding-left: 15px;
    }
    
    .instructions li {
        margin-bottom: 6px;
    }
    
    .connection-steps {
        margin-bottom: 20px;
    }
    
    .step {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .result {
        padding: 20px;
    }
    
    .result h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .pairing-code-display {
        padding: 15px;
        margin: 15px 0;
    }
    
    .try-again-btn {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* =====================================================
   Comments Section Styles
   ===================================================== */

.comments-section {
    background: var(--secondary-black);
    padding: 80px 0;
    margin-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.comments-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comments-header {
    text-align: center;
    margin-bottom: 50px;
}

.comments-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.comments-icon {
    font-size: 1.2em;
}

.comments-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin: 0;
}

/* Add Comment Form */
.add-comment-section {
    margin-bottom: 50px;
}

.comment-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.comment-form-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--card-shadow);
}

.comment-form .form-header {
    text-align: center;
    margin-bottom: 30px;
}

.comment-form .form-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.comment-form .form-header p {
    color: var(--text-gray);
    margin: 0;
}

.comment-form .form-row {
    margin-bottom: 25px;
}

.comment-input,
.comment-textarea {
    width: 100%;
    background: var(--tertiary-black);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-white);
    font-size: 16px;
    font-family: var(--font-secondary);
    transition: var(--transition-fast);
    resize: vertical;
    min-height: 50px;
}

.comment-input:focus,
.comment-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 64, 0.1);
}

.comment-input::placeholder,
.comment-textarea::placeholder {
    color: var(--text-gray);
}

.comment-textarea {
    min-height: 120px;
    line-height: 1.6;
}

.char-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.char-counter.warning {
    color: #ff9900;
}

.char-counter.danger {
    color: var(--primary-red);
}

.comment-submit-btn {
    background: var(--premium-gradient);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 64, 0.3);
}

.comment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comment-submit-btn .btn-icon {
    transition: var(--transition-fast);
}

.comment-submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Comments Display */
.comments-display {
    margin-top: 50px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    opacity: 0;
    transform: translateY(20px);
    animation: commentFadeIn 0.6s ease forwards;
}

.comment-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-white);
    font-size: 16px;
}

.comment-date {
    font-size: 14px;
    color: var(--text-gray);
}

.comment-text {
    color: var(--text-light-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Pagination */
.comments-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: var(--text-gray);
    padding: 0 15px;
}

/* Empty and Loading States */
.comments-empty,
.comments-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.comments-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.comments-empty h3 {
    color: var(--text-white);
    font-size: 24px;
    margin-bottom: 10px;
}

.comments-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Animations */
@keyframes commentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Comments Responsive Design - Mobile-First with Reduced Fonts */
@media (max-width: 768px) {
    .comments-section {
        padding: 40px 0;
        margin-top: 20px;
    }
    
    .comments-header {
        margin-bottom: 25px;
    }
    
    .comments-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .comments-subtitle {
        font-size: 12px;
    }
    
    .comment-form-card {
        padding: 18px 15px;
    }
    
    .comment-form .form-header h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .comment-form .form-header p {
        font-size: 11px;
    }
    
    .comment-form .form-row {
        margin-bottom: 15px;
    }
    
    .comment-input,
    .comment-textarea {
        padding: 12px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .comment-textarea {
        min-height: 80px;
    }
    
    .char-counter {
        font-size: 9px;
        margin-top: 4px;
    }
    
    .comment-submit-btn {
        padding: 12px 16px;
        font-size: 12px;
        min-height: 44px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .comment-author {
        font-size: 12px;
    }
    
    .comment-date {
        font-size: 10px;
    }
    
    .comment-text {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .comments-pagination {
        gap: 12px;
        margin-top: 20px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .pagination-info {
        font-size: 10px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .comments-section {
        padding: 30px 0;
        margin-top: 15px;
    }
    
    .comment-form-card {
        padding: 15px 12px;
    }
    
    .comment-item {
        padding: 12px;
    }
    
    .comment-submit-btn {
        padding: 10px 14px;
        font-size: 11px;
    }
    
    .comments-empty,
    .comments-loading {
        padding: 30px 12px;
    }
    
    .comments-empty .empty-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .comments-empty h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .comments-empty p {
        font-size: 11px;
    }
    
    .comments-loading p {
        font-size: 11px;
    }
    
    .pagination-info {
        padding: 0 6px;
        font-size: 9px;
    }
}